{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Mesa Docs","description":"A programmable storage layer and virtual filesystem for AI agents.","colors":{"primary":"#2D5A27","light":"#3A7A32","dark":"#234A1E"},"logo":{"light":"https://mintcdn.com/mesa/UqclTqQUBNQwQKCx/assets/mesa-logo.png?fit=max\u0026auto=format\u0026n=UqclTqQUBNQwQKCx\u0026q=85\u0026s=1632f70d3927b0309e73e5aa930a8c68","dark":"https://mintcdn.com/mesa/UqclTqQUBNQwQKCx/assets/mesa-logo-dark.png?fit=max\u0026auto=format\u0026n=UqclTqQUBNQwQKCx\u0026q=85\u0026s=003cdbbbaf4a2329c88ab65fc7b697df"},"favicon":"https://mintcdn.com/mesa/UqclTqQUBNQwQKCx/assets/mesa-favicon.png?fit=max\u0026auto=format\u0026n=UqclTqQUBNQwQKCx\u0026q=85\u0026s=81c5abe1a0dd865ffaea0dfc4c7ad748","background":{"color":{"light":"#F8F5F0","dark":"#1A1918"}},"navbar":{"links":[{"icon":"discord","href":"https://discord.com/invite/2vvEJFrCHV","label":""},{"icon":"github","href":"https://github.com/mesa-dot-dev/examples","label":""}],"primary":{"type":"button","label":"Dashboard","href":"https://app.mesa.dev"}},"footer":{"socials":{"x":"https://x.com/mesa","linkedin":"https://www.linkedin.com/company/mesa","github":"https://github.com/mesa-dot-dev"},"links":[{"header":"Product","items":[{"label":"Depot","href":"https://app.mesa.dev"}]},{"header":"Resources","items":[{"label":"TypeScript SDK on npm","href":"https://www.npmjs.com/package/@mesadev/sdk"},{"label":"TypeScript REST SDK on npm","href":"https://www.npmjs.com/package/@mesadev/rest"},{"label":"Python SDK on PyPI","href":"https://pypi.org/project/mesa-sdk"},{"label":"GitHub","href":"https://github.com/mesa-dot-dev/examples"}]}]},"fonts":{"heading":{"family":"IBM Plex Sans","weight":600},"body":{"family":"IBM Plex Sans","weight":400}},"icons":{"library":"fontawesome"},"integrations":{"telemetry":{"enabled":true}},"errors":{"404":{"redirect":true}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mesa","hasAudioNarration":false,"actualSubdomain":"mesa","customDomains":["docs.mesa.dev"],"gitSource":{"type":"github","owner":"mesa-dot-dev","repo":"depot","deployBranch":"docs-production","contentDirectory":"packages/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6abc52c3407ab99656f812c2","collectionId":"4531db32-ee7b-49b7-9f78-22f677006667","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6abc52c3407ab99656f812c2"},"entitlements":{},"buildId":"6abc52c3407ab99656f812c2","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"default","tag":"API Reference","count":95},{"language":"default","tag":"TS/JS SDK","count":32},{"language":"default","tag":"TS/JS SDK Reference","count":32},{"language":"default","tag":"Python SDK","count":31},{"language":"default","tag":"Python SDK Reference","count":31},{"language":"default","tag":"HTTP API","count":29},{"language":"default","tag":"REST API","count":29},{"language":"default","tag":"Endpoints","count":28},{"language":"default","tag":"Docs","count":26},{"language":"default","tag":"Repositories","count":16}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"a:has(>.nav-logo){display:flex!important;align-items:center!important}a:has(>.nav-logo)::after{content:\"Mesa Docs\";font-family:\"IBM Plex Sans\",sans-serif;font-weight:600;font-size:1.375rem;margin-left:.5rem;white-space:nowrap;color:rgb(28 28 28)}html.dark a:has(>.nav-logo)::after{color:rgb(232 237 245)}.rounded-2xl,.rounded-full,.rounded-lg,.rounded-md,.rounded-xl{border-radius:4px!important}.code-group [data-component-part=code-block-root],[data-component-part=code-block-root]:has([data-component-part=code-group-tab-content]){border-radius:4px!important}[data-component-part=code-block-root] pre,[data-component-part=code-block-root] pre code{font-family:\"Noto Sans Mono\",\"IBM Plex Mono\",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace!important;line-height:1.5!important;letter-spacing:0!important;font-variant-ligatures:none;font-feature-settings:\"liga\" 0,\"calt\" 0;font-kerning:none}.light .prose :where(pre),.light .prose-sm :where(pre),.light [data-component-part=code-block-root],.light [data-component-part=code-group-tab-content]{background-color:rgb(235 229 219)!important;border-color:rgb(207 196 181)!important}.light .prose :where(pre, pre code),.light .prose-sm :where(pre, pre code),.light [data-component-part=code-block-root] pre,.light [data-component-part=code-block-root] pre code{background-color:rgb(235 229 219)!important;color:rgb(31 27 22)!important}.light .prose :where(code):not(:where(pre code)),.light .prose-sm :where(code):not(:where(pre code)){background-color:rgb(235 229 219)!important;color:rgb(31 27 22)!important;border:1px solid rgb(207 196 181)!important;padding:.05rem .2rem!important}.light .code-block [data-fade-overlay=true],html:not(.dark) .code-block [data-fade-overlay=true]{--fade-color-light:rgb(235 229 219)!important;background:linear-gradient(to right,rgb(235 229 219/0),rgb(235 229 219))!important}.prose :where(strong, b),.prose-sm :where(strong, b){font-weight:600!important}.light .border-gray-100{border-color:rgb(229 231 235)!important}.sidebar-group-header{font-size:.9rem!important}.light .prose,.light .prose-sm{color:rgb(45 42 38)!important}.light .prose :where(p, li, td, th, blockquote, span[data-as=\"p\"]),.light .prose-sm :where(p, li, td, th, blockquote, span[data-as=\"p\"]){color:rgb(45 42 38)!important}.light .prose :where(h1, h2, h3, h4, h5, h6, strong),.light .prose-sm :where(h1, h2, h3, h4, h5, h6, strong){color:rgb(20 19 17)!important}.light .prose :where(a),.light .prose-sm :where(a){color:rgb(35 74 30)!important}.light .text-gray-400,.light .text-neutral-400,.light .text-slate-400,.light .text-zinc-400{color:rgb(91 84 76)!important}.light .text-gray-500,.light .text-neutral-500,.light .text-slate-500,.light .text-zinc-500{color:rgb(78 72 65)!important}.light .text-gray-600,.light .text-neutral-600,.light .text-slate-600,.light .text-zinc-600{color:rgb(55 51 46)!important}.light .text-gray-700,.light .text-neutral-700,.light .text-slate-700,.light .text-zinc-700{color:rgb(35 32 29)!important}html.dark .prose,html.dark .prose-sm{color:rgb(194 202 214)!important}html.dark .prose :where(p, li, td, th, blockquote, span[data-as=\"p\"]),html.dark .prose-sm :where(p, li, td, th, blockquote, span[data-as=\"p\"]){color:rgb(194 202 214)!important}html.dark .prose :where(h1, h2, h3, h4, h5, h6, strong),html.dark .prose-sm :where(h1, h2, h3, h4, h5, h6, strong){color:rgb(232 237 245)!important}html.dark .dark\\:text-gray-400,html.dark .text-gray-400{color:rgb(186 193 204)!important}html.dark .dark\\:text-gray-500,html.dark .text-gray-500{color:rgb(158 166 179)!important}[data-component-part=step-number]>div{background-color:#2d5a27!important;color:#fff!important;font-weight:600!important;border-radius:9999px!important}html.dark [data-component-part=step-number]>div{background-color:#3a7a32!important;color:#fff!important}"}],"page":{"pagePath":"api-reference/repo/create-repository","slug":"/api-reference/repo/create-repository","pageMetadata":{"title":"Create repository","description":"Create a new repository in the organization","deprecated":null,"version":null,"openapi":"/openapi.json post /{org}/repos","href":"/api-reference/repo/create-repository","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a new repository in the organization\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,strong:`strong`,..._provideComponents(),...props.components},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsxs(Note,{children:[_jsx(_components.strong,{children:`Required scope:`}),` `,_jsx(_components.code,{children:`write`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create repository","description":"Create a new repository in the organization","deprecated":null,"version":null,"openapi":"/openapi.json post /{org}/repos","href":"/api-reference/repo/create-repository","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createRepo","tags":["Repo"],"summary":"Create repository","description":"Create a new repository in the organization","responses":{"201":"e0560d2d-fc46-42dc-8b49-f52b29d1ffed","400":"829432ad-4229-495c-99dc-ba0a7ddf4633","401":"53e03b1e-40d8-4e25-897e-b88113fdfe53","403":"812d04a4-7029-4f22-ac46-921c31151bd4","404":"b0b968fa-7977-43f3-a2cd-398ae1707cbe","406":"6040aa41-90a1-488f-b215-7fad306c0e92","409":"566d483e-30eb-41d5-896f-ca35fa21e671","500":"4b243a4c-d913-452d-8aa4-7b96082c04ee"},"x-mint":{"content":"\u003cNote>**Required scope:** `write`\u003c/Note>"},"parameters":["ff1cf471-814e-485f-91cf-b375df60bd91"],"requestBody":"a2d4b616-1307-4d03-a411-c0940aa4b31b","method":"post","type":"path","servers":["ab7f47d5-68ba-4f6a-b1c5-251ef3181cdf"],"security":["fc7542ed-08e0-475f-b5a3-6b2a82c37497"],"path":"/{org}/repos","baseUrlOptions":["https://api.mesa.dev/v1"],"title":"Create repository","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"ff1cf471-814e-485f-91cf-b375df60bd91":{"in":"path","name":"org","schema":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100,"uniqueKey":"name","typeLabel":"string"},"default_bookmark":{"default":"main","type":"string","uniqueKey":"default_bookmark","typeLabel":"string"},"tags":{"description":"Repository tags. Keys must not start with \"$\" (reserved for tag filter operators).","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","uniqueKey":"tags.additionalProperties","typeLabel":"string"},"uniqueKey":"tags","typeLabel":"object"},"upstream":{"description":"Optional upstream remote to add at create time. Equivalent to creating the repo and then PATCHing it with the same `upstream` value.","type":"object","properties":{"url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"upstream.url","typeLabel":"string\u003curi>"},"auth":{"oneOf":[{"type":"object","description":"Authentication for the upstream remote. On PATCH: omit to leave any existing credential unchanged, pass `null` to clear and make the upstream public, pass an object to set/replace. On POST, both omit and `null` create a public upstream.","required":["kind","token"],"properties":{"kind":{"type":"string","const":"token","isRequired":true,"uniqueKey":"upstream.auth.oneOf.0.kind","typeLabel":"string"},"token":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"upstream.auth.oneOf.0.token","typeLabel":"string"},"token_username":{"type":"string","minLength":1,"uniqueKey":"upstream.auth.oneOf.0.token_username","typeLabel":"string"}},"uniqueKey":"upstream.auth.oneOf.0","typeLabel":"object"},{"type":"object","description":"Authentication for the upstream remote. On PATCH: omit to leave any existing credential unchanged, pass `null` to clear and make the upstream public, pass an object to set/replace. On POST, both omit and `null` create a public upstream.","required":["kind","username","password"],"properties":{"kind":{"type":"string","const":"username_password","isRequired":true,"uniqueKey":"upstream.auth.oneOf.1.kind","typeLabel":"string"},"username":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"upstream.auth.oneOf.1.username","typeLabel":"string"},"password":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"upstream.auth.oneOf.1.password","typeLabel":"string"}},"uniqueKey":"upstream.auth.oneOf.1","typeLabel":"object"},{"type":"null","description":"Authentication for the upstream remote. On PATCH: omit to leave any existing credential unchanged, pass `null` to clear and make the upstream public, pass an object to set/replace. On POST, both omit and `null` create a public upstream.","uniqueKey":"upstream.auth.oneOf.2","typeLabel":"null"}],"uniqueKey":"upstream.auth","typeLabel":"object · object · null"}},"required":["url"],"uniqueKey":"upstream","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","default_bookmark":"main","tags":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"e0560d2d-fc46-42dc-8b49-f52b29d1ffed":{"description":"Repository created","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"org":{"type":"string","isRequired":true,"uniqueKey":"org","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"default_bookmark":{"type":"string","isRequired":true,"uniqueKey":"default_bookmark","typeLabel":"string"},"head_change_id":{"type":"string","pattern":"^[zyxwvutsrqponmlk]{32}$","description":"Current change id at the default bookmark tip. On empty repositories this is the virtual root change id (zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz).","isRequired":true,"uniqueKey":"head_change_id","typeLabel":"string"},"upstream":{"oneOf":[{"type":"object","description":"Upstream remote configured for this repository, or null if none is configured.","required":["url","auth_kind","latest_sync"],"properties":{"url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"upstream.oneOf.0.url","typeLabel":"string\u003curi>"},"auth_kind":{"oneOf":[{"type":"string","description":"Kind of credentials stored for this upstream, or null if it is public. Auth payloads are write-only — secrets are never returned.","enum":["token","username_password"],"isRequired":true,"uniqueKey":"upstream.oneOf.0.auth_kind.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Kind of credentials stored for this upstream, or null if it is public. Auth payloads are write-only — secrets are never returned.","isRequired":true,"uniqueKey":"upstream.oneOf.0.auth_kind.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"upstream.oneOf.0.auth_kind","typeLabel":"enum\u003cstring> | null"},"latest_sync":{"oneOf":[{"type":"object","description":"Most recent sync for this upstream, or null if no sync has started yet.","required":["id","repo_id","direction","status","attempt","ref_globs","stats","error","created_at","started_at","finished_at"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.id","typeLabel":"string"},"repo_id":{"type":"string","isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.repo_id","typeLabel":"string"},"direction":{"type":"string","enum":["pull","push"],"isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.direction","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["queued","in_progress","completed","failed"],"isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.status","typeLabel":"enum\u003cstring>"},"attempt":{"type":"integer","isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.attempt","typeLabel":"integer"},"ref_globs":{"type":"object","properties":{"branches":{"type":"string","isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.ref_globs.branches","typeLabel":"string"},"tags":{"type":"string","isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.ref_globs.tags","typeLabel":"string"}},"required":["branches","tags"],"additionalProperties":false,"isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.ref_globs","typeLabel":"object"},"stats":{"oneOf":[{"type":"object","required":["refs"],"properties":{"refs":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.stats.oneOf.0.refs.items.[INDEX].name","typeLabel":"string"},"before":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.stats.oneOf.0.refs.items.[INDEX].before.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.stats.oneOf.0.refs.items.[INDEX].before.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.stats.oneOf.0.refs.items.[INDEX].before","typeLabel":"string | null"},"after":{"type":"string","isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.stats.oneOf.0.refs.items.[INDEX].after","typeLabel":"string"},"outcome":{"type":"string","enum":["updated","unchanged","filtered","rejected"],"isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.stats.oneOf.0.refs.items.[INDEX].outcome","typeLabel":"enum\u003cstring>"}},"required":["name","before","after","outcome"],"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.stats.oneOf.0.refs.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.stats.oneOf.0.refs","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.stats.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.stats.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.stats","typeLabel":"object | null"},"error":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.error.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.error","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"started_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.started_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.started_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.started_at","typeLabel":"string\u003cdate-time> | null"},"finished_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.finished_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.finished_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0.finished_at","typeLabel":"string\u003cdate-time> | null"}},"isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.0","typeLabel":"object"},{"type":"null","description":"Most recent sync for this upstream, or null if no sync has started yet.","isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"upstream.oneOf.0.latest_sync","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"upstream.oneOf.0","typeLabel":"object"},{"type":"null","description":"Upstream remote configured for this repository, or null if none is configured.","isRequired":true,"uniqueKey":"upstream.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"upstream","typeLabel":"object | null"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"tags":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","uniqueKey":"tags.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"tags","typeLabel":"object"}},"required":["id","org","name","default_bookmark","head_change_id","upstream","created_at","tags"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","org":"\u003cstring>","name":"\u003cstring>","default_bookmark":"\u003cstring>","head_change_id":"\u003cstring>","upstream":{"url":"\u003cstring>","auth_kind":"token","latest_sync":{"id":"\u003cstring>","repo_id":"\u003cstring>","direction":"pull","status":"queued","attempt":123,"ref_globs":{"branches":"\u003cstring>","tags":"\u003cstring>"},"stats":{"refs":[{"name":"\u003cstring>","before":"\u003cstring>","after":"\u003cstring>","outcome":"updated"}]},"error":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","started_at":"2023-11-07T05:31:56Z","finished_at":"2023-11-07T05:31:56Z"}},"created_at":"2023-11-07T05:31:56Z","tags":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"829432ad-4229-495c-99dc-ba0a7ddf4633":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"},"trace_id":{"description":"Support correlation id attached to 5xx responses; quote it when reporting an issue","type":"string","uniqueKey":"error.trace_id","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","details":{},"trace_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"53e03b1e-40d8-4e25-897e-b88113fdfe53":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"},"trace_id":{"description":"Support correlation id attached to 5xx responses; quote it when reporting an issue","type":"string","uniqueKey":"error.trace_id","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","details":{},"trace_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"812d04a4-7029-4f22-ac46-921c31151bd4":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"},"trace_id":{"description":"Support correlation id attached to 5xx responses; quote it when reporting an issue","type":"string","uniqueKey":"error.trace_id","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","details":{},"trace_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"b0b968fa-7977-43f3-a2cd-398ae1707cbe":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"},"trace_id":{"description":"Support correlation id attached to 5xx responses; quote it when reporting an issue","type":"string","uniqueKey":"error.trace_id","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","details":{},"trace_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"6040aa41-90a1-488f-b215-7fad306c0e92":{"description":"Not acceptable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"},"trace_id":{"description":"Support correlation id attached to 5xx responses; quote it when reporting an issue","type":"string","uniqueKey":"error.trace_id","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","details":{},"trace_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"566d483e-30eb-41d5-896f-ca35fa21e671":{"description":"Conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"},"trace_id":{"description":"Support correlation id attached to 5xx responses; quote it when reporting an issue","type":"string","uniqueKey":"error.trace_id","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","details":{},"trace_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"4b243a4c-d913-452d-8aa4-7b96082c04ee":{"description":"Internal error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"},"trace_id":{"description":"Support correlation id attached to 5xx responses; quote it when reporting an issue","type":"string","uniqueKey":"error.trace_id","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","details":{},"trace_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"fc7542ed-08e0-475f-b5a3-6b2a82c37497":{"accessToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[]}}},"servers":{"ab7f47d5-68ba-4f6a-b1c5-251ef3181cdf":{"url":"https://api.mesa.dev/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"accessToken","name":"Authorization"}],"title":"accessToken"}]},"originalFileLocation":"openapi.json"},"subdomain":"mesa","siteName":"Mesa Docs","title":"Create repository - Mesa Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-07T18:47:19.108Z","originalFileLocation":"api-reference/repo/create-repository.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a new repository in the organization\">\u003cmeta data-mint-head name=\"application-name\" content=\"Mesa Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mesa/KPm0NPrxB1Q8JHsu/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mesa/KPm0NPrxB1Q8JHsu/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mesa/KPm0NPrxB1Q8JHsu/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mesa/KPm0NPrxB1Q8JHsu/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mesa/KPm0NPrxB1Q8JHsu/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mesa/KPm0NPrxB1Q8JHsu/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mesa/KPm0NPrxB1Q8JHsu/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mesa/KPm0NPrxB1Q8JHsu/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mesa/KPm0NPrxB1Q8JHsu/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create repository - Mesa Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new repository in the organization\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Mesa Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.mesa.dev/api-reference/repo/create-repository\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mesa.mintlify.app/_mintlify/api/og/v2?division=Repo\u0026amp;title=Create+repository\u0026amp;description=Create+a+new+repository+in+the+organization\u0026amp;theme=4d0690d39e12b9fc6e691f65\u0026amp;signature=3a9535f10d910063af1f19dad060d0ef7664ee07d861b776b9213832935b9ef6\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create repository - Mesa Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new repository in the organization\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mesa.mintlify.app/_mintlify/api/og/v2?division=Repo\u0026amp;title=Create+repository\u0026amp;description=Create+a+new+repository+in+the+organization\u0026amp;theme=4d0690d39e12b9fc6e691f65\u0026amp;signature=3a9535f10d910063af1f19dad060d0ef7664ee07d861b776b9213832935b9ef6\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mesa/KPm0NPrxB1Q8JHsu/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Mesa Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2D5A27\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.mesa.dev/api-reference/repo/create-repository\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/repo/create-repository.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.mesa.dev/#organization\",\"name\":\"Mesa Docs\",\"url\":\"https://docs.mesa.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mesa/UqclTqQUBNQwQKCx/assets/mesa-logo.png?fit=max\u0026auto=format\u0026n=UqclTqQUBNQwQKCx\u0026q=85\u0026s=1632f70d3927b0309e73e5aa930a8c68\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.mesa.dev#website\",\"name\":\"Mesa Docs\",\"url\":\"https://docs.mesa.dev\",\"publisher\":{\"@id\":\"https://docs.mesa.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.mesa.dev/api-reference/repo/create-repository#webpage\",\"url\":\"https://docs.mesa.dev/api-reference/repo/create-repository\",\"name\":\"Create repository\",\"description\":\"Create a new repository in the organization\",\"dateModified\":\"2026-09-07T18:47:19.108Z\",\"isPartOf\":{\"@id\":\"https://docs.mesa.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.mesa.dev/api-reference/repo/create-repository#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.mesa.dev/api-reference/repo/create-repository#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"REST API\",\"item\":\"https://docs.mesa.dev/content/api-reference/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Endpoints\",\"item\":\"https://docs.mesa.dev/api-reference/org/get-caller-identity\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Repo\",\"item\":\"https://docs.mesa.dev/api-reference/repo/list-repositories\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Create repository\",\"item\":\"https://docs.mesa.dev/api-reference/repo/create-repository\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.mesa.dev/api-reference/repo/create-repository#apireference\",\"headline\":\"Create repository\",\"name\":\"Create repository\",\"description\":\"Create a new repository in the organization\",\"url\":\"https://docs.mesa.dev/api-reference/repo/create-repository\",\"mainEntityOfPage\":{\"@id\":\"https://docs.mesa.dev/api-reference/repo/create-repository#webpage\"},\"dateModified\":\"2026-09-07T18:47:19.108Z\",\"publisher\":{\"@id\":\"https://docs.mesa.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.mesa.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Mesa Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Mesa Docs","nav":{"global":null,"tabs":[{"tab":"Docs","icon":"book-open","pages":[{"title":"Docs","href":"/content/getting-started/introduction"}]},{"tab":"API Reference","icon":"code","menu":[{"item":"TS/JS SDK","icon":"js","pages":[{"title":"TS/JS SDK","href":"/content/reference/ts"}]},{"item":"Python SDK","icon":"python","pages":[{"title":"Python SDK","href":"/content/reference/py"}]},{"item":"CLI","icon":"terminal","pages":[{"title":"CLI","href":"/content/reference/cli-overview"}]},{"item":"HTTP API","icon":"code","groups":[{"group":"REST API","icon":"code","pages":[{"title":"Overview","href":"/content/api-reference/overview"},{"group":"Endpoints","expanded":true,"pages":[{"group":"Org","pages":[{"title":"whoami","deprecated":null,"version":null,"openapi":"/openapi.json get /whoami","href":"/api-reference/org/get-caller-identity"},{"title":"Get organization","deprecated":null,"version":null,"openapi":"/openapi.json get /{org}","href":"/api-reference/org/get-organization"}]},{"group":"Webhook Target","pages":[{"title":"List webhook targets","deprecated":null,"version":null,"openapi":"/openapi.json get /{org}/webhook-targets","href":"/api-reference/webhook-target/list-webhook-targets"},{"title":"Create webhook target","deprecated":null,"version":null,"openapi":"/openapi.json post /{org}/webhook-targets","href":"/api-reference/webhook-target/create-webhook-target"},{"title":"Get webhook target","deprecated":null,"version":null,"openapi":"/openapi.json get /{org}/webhook-targets/{webhookTargetId}","href":"/api-reference/webhook-target/get-webhook-target"},{"title":"Delete webhook target","deprecated":null,"version":null,"openapi":"/openapi.json delete /{org}/webhook-targets/{webhookTargetId}","href":"/api-reference/webhook-target/delete-webhook-target"},{"title":"Update webhook target","deprecated":null,"version":null,"openapi":"/openapi.json patch /{org}/webhook-targets/{webhookTargetId}","href":"/api-reference/webhook-target/update-webhook-target"}]},{"group":"Repo","pages":[{"title":"List repositories","description":"List repositories in the organization using cursor pagination","deprecated":null,"version":null,"openapi":"/openapi.json get /{org}/repos","href":"/api-reference/repo/list-repositories"},{"title":"Create repository","deprecated":null,"version":null,"openapi":"/openapi.json post /{org}/repos","href":"/api-reference/repo/create-repository"},{"title":"List upstream syncs","description":"List syncs for the repository upstream, newest first.","deprecated":null,"version":null,"openapi":"/openapi.json get /{org}/{repo}/upstream/syncs","href":"/api-reference/repo/list-upstream-syncs"},{"title":"Sync upstream","deprecated":null,"version":null,"openapi":"/openapi.json post /{org}/{repo}/upstream/syncs","href":"/api-reference/repo/sync-upstream"},{"title":"Get upstream sync","deprecated":null,"version":null,"openapi":"/openapi.json get /{org}/{repo}/upstream/syncs/{syncId}","href":"/api-reference/repo/get-upstream-sync"},{"title":"Get repository","deprecated":null,"version":null,"openapi":"/openapi.json get /{org}/{repo}","href":"/api-reference/repo/get-repository"},{"title":"Delete repository","deprecated":null,"version":null,"openapi":"/openapi.json delete /{org}/{repo}","href":"/api-reference/repo/delete-repository"},{"title":"Update repository","deprecated":null,"version":null,"openapi":"/openapi.json patch /{org}/{repo}","href":"/api-reference/repo/update-repository"},{"title":"Bulk update tags","deprecated":null,"version":null,"openapi":"/openapi.json patch /{org}/repos/tags","href":"/api-reference/repo/bulk-update-tags"}]},{"group":"Content","pages":[{"title":"Get content","deprecated":null,"version":null,"openapi":"/openapi.json get /{org}/{repo}/content","href":"/api-reference/content/get-content"}]},{"group":"Bookmark","pages":[{"title":"List bookmarks","deprecated":null,"version":null,"openapi":"/openapi.json get /{org}/{repo}/bookmarks","href":"/api-reference/bookmark/list-bookmarks"},{"title":"Create bookmark","deprecated":null,"version":null,"openapi":"/openapi.json post /{org}/{repo}/bookmarks","href":"/api-reference/bookmark/create-bookmark"},{"title":"Get bookmark","deprecated":null,"version":null,"openapi":"/openapi.json get /{org}/{repo}/bookmarks/{bookmark}","href":"/api-reference/bookmark/get-bookmark"},{"title":"Delete bookmark","deprecated":null,"version":null,"openapi":"/openapi.json delete /{org}/{repo}/bookmarks/{bookmark}","href":"/api-reference/bookmark/delete-bookmark"},{"title":"Move bookmark","deprecated":null,"version":null,"openapi":"/openapi.json patch /{org}/{repo}/bookmarks/{bookmark}","href":"/api-reference/bookmark/move-bookmark"},{"title":"Merge bookmarks","deprecated":null,"version":null,"openapi":"/openapi.json post /{org}/{repo}/bookmarks/merge","href":"/api-reference/bookmark/merge-bookmarks"}]},{"group":"Change","pages":[{"title":"List changes","deprecated":null,"version":null,"openapi":"/openapi.json get /{org}/{repo}/changes","href":"/api-reference/change/list-changes"},{"title":"Create change","deprecated":null,"version":null,"openapi":"/openapi.json post /{org}/{repo}/changes","href":"/api-reference/change/create-change"},{"title":"Get change","deprecated":null,"version":null,"openapi":"/openapi.json get /{org}/{repo}/changes/{change_id}","href":"/api-reference/change/get-change"},{"title":"Patch change","deprecated":null,"version":null,"openapi":"/openapi.json patch /{org}/{repo}/changes/{change_id}","href":"/api-reference/change/patch-change"},{"title":"Get diff","deprecated":null,"version":null,"openapi":"/openapi.json get /{org}/{repo}/diff","href":"/api-reference/change/get-diff"}]}]}]}]}]},{"tab":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/content/changelog/rest-api"}]},{"tab":"Examples","icon":"flask","href":"https://github.com/mesa-dot-dev/examples"}]},"title":"Create repository - Mesa Docs","buildId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","deploymentId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-WRhTSUDL.js","utils-ChMov4Kr.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-_REmC2bI.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp6nVRCu.js","snippetPresets-DZadmXoU.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CY2WdoTl.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DwYG-Q4l.js","shallow-BXQIGwv4.js","getApiPlaygroundDisplay-CK5nK5B9.js","CodeSnippet-TH4a2aGW.js","CodeSnippets-DwsQiOFS.js","Page-R3M_BF4L.js","getPastedJson-DD7kUzi_.js","icon-holE3QoJ.js","MethodPill-DUW0T8us.js","DuplicateIcon-CI_p4be-.js","createIcon-BdbRvavb.js","DynamicMarkdown-DN96a4Ur.js","SectionHeading-SCu36A9d.js","axios-vUo_bRtp.js","Markdown-CCeGv-zI.js","clsx-BGBGWFTt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Cv_O2fky.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-2C5OB2eV.js"]}