{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Oxen.ai","description":"Oxen.ai is the platform for building AI on your own data. Use 200+ models through one API, version your datasets at scale, and fine-tune custom models.","colors":{"primary":"#0E87CB","light":"#0E87CB","dark":"#161616"},"logo":{"light":"https://mintcdn.com/oxenai/VndlMSXTb9YuU-Wl/logo/light.svg?fit=max\u0026auto=format\u0026n=VndlMSXTb9YuU-Wl\u0026q=85\u0026s=c1e0ff00ab0a8de0a5dca3f7cd146763","dark":"https://mintcdn.com/oxenai/VndlMSXTb9YuU-Wl/logo/dark.svg?fit=max\u0026auto=format\u0026n=VndlMSXTb9YuU-Wl\u0026q=85\u0026s=5ada75aaf4c15e38fe2743a7ac66c1b9"},"favicon":"https://mintcdn.com/oxenai/s_o9ZlhOEkYJf27_/favicon.png?fit=max\u0026auto=format\u0026n=s_o9ZlhOEkYJf27_\u0026q=85\u0026s=4977fd8edf8bbfb3ef5192cdd0156e37","background":{"color":{"dark":"#0A0A0A"}},"navbar":{"links":[{"href":"https://www.oxen.ai/blog","label":"Blog"},{"href":"https://discord.com/invite/s3tBEn7Ptg","label":"Support"}],"primary":{"type":"button","label":"Sign Up","href":"https://oxen.ai/register"}},"footer":{"socials":{"twitter":"https://twitter.com/oxen_ai","github":"https://github.com/Oxen-AI/Oxen","linkedin":"https://www.linkedin.com/company/oxenai"}},"integrations":{"ga4":{"measurementId":"G-H6D2C08EKP"},"posthog":{"apiKey":"phc_Do6VnS78puWwBQuPcJ7TkjixBZwsV4Xxc3ABHVNvjmE"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.oxen.ai"},{"anchor":"Blog","icon":"newspaper","href":"https://blog.oxen.ai"},{"anchor":"GitHub","icon":"github","href":"https://github.com/Oxen-AI/Oxen"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"oxenai","hasAudioNarration":false,"actualSubdomain":"oxenai","customDomains":["docs.oxen.ai"],"gitSource":{"type":"github","owner":"oxen-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adc549d3e0e90aa2af878b8","collectionId":"a6211855-adb6-447b-9a88-7a55cf636c76","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adc549d3e0e90aa2af878b8"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6adc549d3e0e90aa2af878b8","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"Repository API","count":86},{"language":"default","tag":"Fine-Tuning API","count":77},{"language":"default","tag":"Documentation","count":46},{"language":"default","tag":"API Reference","count":40},{"language":"default","tag":"Inference API","count":36},{"language":"default","tag":"Developer Tools","count":25},{"language":"default","tag":"Get Started","count":21},{"language":"default","tag":"fine_tunes","count":16},{"language":"default","tag":"🐍 Python","count":15},{"language":"default","tag":"Commits","count":14}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":false},"customCss":[{"filePath":"style.css","content":".cta-button{display:inline-block;padding:.4rem .9rem;margin:1.25rem 0;background-color:#8d34ff;color:#fff!important;font-weight:600;font-size:.875rem;border-radius:.375rem;text-decoration:none!important;border-bottom:none!important;box-shadow:none!important;transition:opacity .15s ease}.cta-button:hover{opacity:.85;color:#fff!important}"}],"page":{"pagePath":"http-api/workspaces/merge-workspace-into-branch","slug":"/http-api/workspaces/merge-workspace-into-branch","pageMetadata":{"title":"Merge workspace into branch","description":"Commit and merge workspace into the specified branch","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/workspaces/{workspace_id}/merge/{branch}","href":"/http-api/workspaces/merge-workspace-into-branch","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: \"Commit and merge workspace into the specified branch\"\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{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Merge workspace into branch","description":"Commit and merge workspace into the specified branch","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/workspaces/{workspace_id}/merge/{branch}","href":"/http-api/workspaces/merge-workspace-into-branch","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Commit and merge workspace into the specified branch","operationId":"commit","parameters":["74e99dee-5a37-4867-a930-1ccec444b17a","b91bf05d-ae3a-442c-9024-5cf148ec77d9","2856ffe1-a6fb-4768-939d-3a64538d5a73","5e1a95fb-1e37-435a-8cd4-deb5f8db1823"],"requestBody":"5970a50e-9372-464a-b2ff-7151d712ec15","responses":{"200":"2cf6cd5c-5340-48ec-9947-d536b8601f06","400":"b359ba65-00a0-4251-8887-3bb76a019451","404":"52e47eb1-c294-41a7-b044-90f098b2e514","409":"fa9c46c8-a2f9-4041-852d-51593590300a","422":"be27bbc6-f709-4e96-84ad-91df133979d5","429":"79bb08d9-fa5d-4925-b692-1252d7af2f14"},"summary":"Merge workspace into branch","tags":["Workspaces"],"method":"post","type":"path","servers":["c5c5b68a-a25e-4dd5-a0c7-a5b1c253e695","fa3eaaca-5673-4377-9445-e589b59a9069"],"security":["201862b8-62b5-4575-b942-41c7aabe83d3"],"path":"/api/repos/{namespace}/{repo_name}/workspaces/{workspace_id}/merge/{branch}","baseUrlOptions":["https://hub.oxen.ai","http://localhost:3000"],"title":"Merge workspace into branch","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"74e99dee-5a37-4867-a930-1ccec444b17a":{"description":"Namespace of the repository","example":"ox","in":"path","name":"namespace","required":true,"schema":{"type":"string","isRequired":true,"description":"Namespace of the repository","uniqueKey":"","typeLabel":"string"}},"b91bf05d-ae3a-442c-9024-5cf148ec77d9":{"description":"Name of the repository","example":"ImageNet-1k","in":"path","name":"repo_name","required":true,"schema":{"type":"string","isRequired":true,"description":"Name of the repository","uniqueKey":"","typeLabel":"string"}},"2856ffe1-a6fb-4768-939d-3a64538d5a73":{"description":"ID of the workspace","example":"b3f27f05-0955-4076-805f-39575853b27b","in":"path","name":"workspace_id","required":true,"schema":{"type":"string","isRequired":true,"description":"ID of the workspace","uniqueKey":"","typeLabel":"string"}},"5e1a95fb-1e37-435a-8cd4-deb5f8db1823":{"description":"Target branch name to commit to","example":"main","in":"path","name":"branch","required":true,"schema":{"type":"string","isRequired":true,"description":"Target branch name to commit to","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"example":{"author":"bessie","email":"bessie@oxen.ai","message":"Commit changes from bessie_workspace"},"schema":{"description":"NewCommitBody is used to parse the json into a Commit from the API","properties":{"author":{"type":"string","isRequired":true,"uniqueKey":"author","typeLabel":"string"},"email":{"type":"string","isRequired":true,"uniqueKey":"email","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message","author","email"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"author":"bessie","email":"bessie@oxen.ai","message":"Commit changes from bessie_workspace"}}},"exampleType":"examples"}},"description":"Commit details for the workspace merge.","required":true,"exampleType":"examples"},"responses":{"2cf6cd5c-5340-48ec-9947-d536b8601f06":{"content":{"application/json":{"schema":{"type":"object","required":["commit","status","status_message"],"example":{"commit":{"author":"ox","email":"ox@example.com","id":"a1b2c3d4e5f67890abcdef1234567890","message":"Refactor data loading pipeline.","parent_ids":["f1e2d3c4b5a67890fedcba9876543210"],"timestamp":"2025-01-01T10:00:00Z"},"status":"success","status_message":"resource_found"},"properties":{"status":{"type":"string","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"status_message":{"type":"string","isRequired":true,"uniqueKey":"status_message","typeLabel":"string"},"commit":{"example":{"author":"ox","email":"ox@example.com","id":"a1b2c3d4e5f67890abcdef1234567890","message":"Refactor data loading pipeline.","parent_ids":["f1e2d3c4b5a67890fedcba9876543210"],"timestamp":"2025-01-01T10:00:00Z"},"properties":{"author":{"type":"string","isRequired":true,"uniqueKey":"commit.author","typeLabel":"string"},"email":{"type":"string","isRequired":true,"uniqueKey":"commit.email","typeLabel":"string"},"id":{"type":"string","isRequired":true,"uniqueKey":"commit.id","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"commit.message","typeLabel":"string"},"parent_ids":{"items":{"type":"string","uniqueKey":"commit.parent_ids.items.[INDEX]","typeLabel":"string"},"type":"array","isRequired":true,"uniqueKey":"commit.parent_ids","typeLabel":"string[]"},"timestamp":{"format":"date-time","type":"string","isRequired":true,"uniqueKey":"commit.timestamp","typeLabel":"string\u003cdate-time>"}},"required":["id","parent_ids","message","author","email","timestamp"],"type":"object","isRequired":true,"uniqueKey":"commit","typeLabel":"object"},"oxen_version":{"oneOf":[{"type":"string","uniqueKey":"oxen_version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oxen_version.oneOf.1","typeLabel":"null"}],"uniqueKey":"oxen_version","typeLabel":"string | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"commit":{"author":"ox","email":"ox@example.com","id":"a1b2c3d4e5f67890abcdef1234567890","message":"Refactor data loading pipeline.","parent_ids":["f1e2d3c4b5a67890fedcba9876543210"],"timestamp":"2025-01-01T10:00:00Z"},"status":"success","status_message":"resource_found"}}},"exampleType":"generated"}},"description":"Workspace committed successfully","exampleType":"generated"},"b359ba65-00a0-4251-8887-3bb76a019451":{"description":"Invalid request body","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"52e47eb1-c294-41a7-b044-90f098b2e514":{"description":"Workspace or branch not found","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"fa9c46c8-a2f9-4041-852d-51593590300a":{"description":"Conflict — a staged file also changed on the target branch since the workspace's base commit","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"be27bbc6-f709-4e96-84ad-91df133979d5":{"description":"Unprocessable Entity — the commit failed for another reason","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"79bb08d9-fa5d-4925-b692-1252d7af2f14":{"description":"Too Many Requests: another commit already holds this commit's id, or another write moved the branch while this commit was being written, so retry after the Retry-After delay","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"201862b8-62b5-4575-b942-41c7aabe83d3":{"api_key":{"bearerFormat":"JWT","scheme":"bearer","type":"http","scopes":[],"schemeName":"api_key"}}},"servers":{"c5c5b68a-a25e-4dd5-a0c7-a5b1c253e695":{"description":"Production API","url":"https://hub.oxen.ai"},"fa3eaaca-5673-4377-9445-e589b59a9069":{"description":"Local Development","url":"http://localhost:3000"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"bearerFormat":"JWT","scheme":"bearer","type":"http","scopes":[],"schemeName":"api_key"},"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":"api_key","name":"Authorization"}],"title":"api_key"}]},"originalFileLocation":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json"},"subdomain":"oxenai","siteName":"Oxen.ai","title":"Merge workspace into branch - Oxen.ai","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-24T06:48:03.412Z","originalFileLocation":"http-api/workspaces/merge-workspace-into-branch.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=\"Commit and merge workspace into the specified branch\">\u003cmeta data-mint-head name=\"application-name\" content=\"Oxen.ai\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/oxenai/qjH8p5zfmK1DS0SK/_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/oxenai/qjH8p5zfmK1DS0SK/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/oxenai/qjH8p5zfmK1DS0SK/_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/oxenai/qjH8p5zfmK1DS0SK/_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/oxenai/qjH8p5zfmK1DS0SK/_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/oxenai/qjH8p5zfmK1DS0SK/_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/oxenai/qjH8p5zfmK1DS0SK/_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/oxenai/qjH8p5zfmK1DS0SK/_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/oxenai/qjH8p5zfmK1DS0SK/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Merge workspace into branch - Oxen.ai\">\u003cmeta data-mint-head property=\"og:description\" content=\"Commit and merge workspace into the specified branch\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Oxen.ai\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.oxen.ai/http-api/workspaces/merge-workspace-into-branch\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://oxenai.mintlify.app/_mintlify/api/og/v2?division=Workspaces\u0026amp;title=Merge+workspace+into+branch\u0026amp;description=Commit+and+merge+workspace+into+the+specified+branch\u0026amp;theme=09fb966f50f0573092e61af3\u0026amp;signature=dd607a32b24052b6007ba0576fa30d79035a9f68d6171a75cb4b8da69f541e82\">\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=\"Merge workspace into branch - Oxen.ai\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Commit and merge workspace into the specified branch\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://oxenai.mintlify.app/_mintlify/api/og/v2?division=Workspaces\u0026amp;title=Merge+workspace+into+branch\u0026amp;description=Commit+and+merge+workspace+into+the+specified+branch\u0026amp;theme=09fb966f50f0573092e61af3\u0026amp;signature=dd607a32b24052b6007ba0576fa30d79035a9f68d6171a75cb4b8da69f541e82\">\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/oxenai/qjH8p5zfmK1DS0SK/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Oxen.ai\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0E87CB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.oxen.ai/http-api/workspaces/merge-workspace-into-branch\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/http-api/workspaces/merge-workspace-into-branch.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.oxen.ai/#organization\",\"name\":\"Oxen.ai\",\"url\":\"https://docs.oxen.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/oxenai/VndlMSXTb9YuU-Wl/logo/light.svg?fit=max\u0026auto=format\u0026n=VndlMSXTb9YuU-Wl\u0026q=85\u0026s=c1e0ff00ab0a8de0a5dca3f7cd146763\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.oxen.ai#website\",\"name\":\"Oxen.ai\",\"url\":\"https://docs.oxen.ai\",\"publisher\":{\"@id\":\"https://docs.oxen.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.oxen.ai/http-api/workspaces/merge-workspace-into-branch#webpage\",\"url\":\"https://docs.oxen.ai/http-api/workspaces/merge-workspace-into-branch\",\"name\":\"Merge workspace into branch\",\"description\":\"Commit and merge workspace into the specified branch\",\"dateModified\":\"2026-10-24T06:48:03.412Z\",\"isPartOf\":{\"@id\":\"https://docs.oxen.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.oxen.ai/http-api/workspaces/merge-workspace-into-branch#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.oxen.ai/http-api/workspaces/merge-workspace-into-branch#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Workspaces\",\"item\":\"https://docs.oxen.ai/http-api/workspaces/clear-workspaces-for-repo\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Merge workspace into branch\",\"item\":\"https://docs.oxen.ai/http-api/workspaces/merge-workspace-into-branch\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.oxen.ai/http-api/workspaces/merge-workspace-into-branch#apireference\",\"headline\":\"Merge workspace into branch\",\"name\":\"Merge workspace into branch\",\"description\":\"Commit and merge workspace into the specified branch\",\"url\":\"https://docs.oxen.ai/http-api/workspaces/merge-workspace-into-branch\",\"mainEntityOfPage\":{\"@id\":\"https://docs.oxen.ai/http-api/workspaces/merge-workspace-into-branch#webpage\"},\"dateModified\":\"2026-10-24T06:48:03.412Z\",\"publisher\":{\"@id\":\"https://docs.oxen.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.oxen.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Oxen.ai\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Oxen.ai","nav":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.oxen.ai"},{"anchor":"Blog","icon":"newspaper","href":"https://blog.oxen.ai"},{"anchor":"GitHub","icon":"github","href":"https://github.com/Oxen-AI/Oxen"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/getting-started/intro"}]},{"tab":"Inference API","pages":[{"title":"Inference API","href":"/inference-api/overview"}]},{"tab":"Repository API","groups":[{"group":"Repository API","pages":[{"title":"Repository API","href":"/http-api"},{"title":"File Upload Example","href":"/http-api/example"},{"title":"Large File Upload","href":"/http-api/large-file-upload"}]},{"group":"Branches","pages":[{"title":"Merge a commit into a branch","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/branches/{branch_name}/merge","href":"/http-api/branches/merge-a-commit-into-a-branch"},{"title":"Get an existing branch","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/branches/{branch_name}","href":"/http-api/branches/get-an-existing-branch"},{"title":"Update a branch to a new commit","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json put /api/repos/{namespace}/{repo_name}/branches/{branch_name}","href":"/http-api/branches/update-a-branch-to-a-new-commit"},{"title":"Delete a branch","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json delete /api/repos/{namespace}/{repo_name}/branches/{branch_name}","href":"/http-api/branches/delete-a-branch"},{"title":"Get all versions of a file on a branch","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/branches/{branch_name}/versions/{path}","href":"/http-api/branches/get-all-versions-of-a-file-on-a-branch"},{"title":"List all branches","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/branches","href":"/http-api/branches/list-all-branches"},{"title":"Create a new branch","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/branches","href":"/http-api/branches/create-a-new-branch"}]},{"group":"Commits","pages":[{"title":"Upload commits DB","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/commits/upload","href":"/http-api/commits/upload-commits-db"},{"title":"Download commits DB","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/commits_db","href":"/http-api/commits/download-commits-db"},{"title":"Upload data chunk","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/commits/upload_chunk","href":"/http-api/commits/upload-data-chunk"},{"title":"Notify upload complete","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/commits/{commit_id}/complete","href":"/http-api/commits/notify-upload-complete"},{"title":"Get root commit","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/commits/root","href":"/http-api/commits/get-root-commit"},{"title":"Get commit","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/commits/{commit_id}","href":"/http-api/commits/get-commit"},{"title":"Download commit entries DB","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/commits/{commit_or_branch}/commit_entries_db","href":"/http-api/commits/download-commit-entries-db"},{"title":"Upload commit","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/commits","href":"/http-api/commits/upload-commit"},{"title":"List commit history","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/commits/history/{resource}","href":"/http-api/commits/list-commit-history"},{"title":"List missing commits","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/commits/missing","href":"/http-api/commits/list-missing-commits"},{"title":"List missing files from commits","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/commits/missing_files","href":"/http-api/commits/list-missing-files-from-commits"},{"title":"List all commits","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/commits/all","href":"/http-api/commits/list-all-commits"},{"title":"Download dir hashes DB","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/commits/{base_head}/dir_hashes_db","href":"/http-api/commits/download-dir-hashes-db"},{"title":"Get a commit's parents","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/commits/{commit_or_branch}/parents","href":"/http-api/commits/get-a-commits-parents"}]},{"group":"Compare","pages":[{"title":"Get Derived Data Frame","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/compare/data_frames/{compare_id}/diff","href":"/http-api/compare/get-derived-data-frame"},{"title":"List changed files","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/compare/{base_head}/dir/{dir}/entries","href":"/http-api/compare/list-changed-files"},{"title":"Get file diff","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/compare/{base_head}/file/{resource}","href":"/http-api/compare/get-file-diff"},{"title":"Get diff tree","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/compare/{base_head}/tree","href":"/http-api/compare/get-diff-tree"},{"title":"List file and directory entries changed between base and head","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/compare/{base_head}/entries","href":"/http-api/compare/list-file-and-directory-entries-changed-between-base-and-head"},{"title":"List commits between two revisions","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/compare/{base_head}/commits","href":"/http-api/compare/list-commits-between-two-revisions"}]},{"group":"Export","pages":[{"title":"Export resource as a zip","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/export/download/{resource}","href":"/http-api/export/export-resource-as-a-zip"}]},{"group":"Repositories","pages":[{"title":"Get repository stats","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/stats","href":"/http-api/repositories/get-repository-stats"},{"title":"List repositories","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}","href":"/http-api/repositories/list-repositories"},{"title":"Transfer repository namespace","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json patch /api/repos/{namespace}/{repo_name}/transfer","href":"/http-api/repositories/transfer-repository-namespace"},{"title":"Rename a repository","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json patch /api/repos/{namespace}/{repo_name}/rename","href":"/http-api/repositories/rename-a-repository"},{"title":"Get repository size","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/size","href":"/http-api/repositories/get-repository-size"},{"title":"Update repository size","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/size","href":"/http-api/repositories/update-repository-size"},{"title":"Get repository details","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}","href":"/http-api/repositories/get-repository-details"},{"title":"Delete repository","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json delete /api/repos/{namespace}/{repo_name}","href":"/http-api/repositories/delete-repository"},{"title":"Create repository","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos","href":"/http-api/repositories/create-repository"}]},{"group":"Workspaces","pages":[{"title":"Clear workspaces for repo","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json delete /api/repos/{namespace}/{repo_name}/workspaces/clear","href":"/http-api/workspaces/clear-workspaces-for-repo"},{"title":"Check workspace mergeability","description":"Checks if a workspace can be committed and merged onto a branch","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/workspaces/{workspace_id}/merge/{branch}","href":"/http-api/workspaces/check-workspace-mergeability"},{"title":"Merge workspace into branch","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/workspaces/{workspace_id}/merge/{branch}","href":"/http-api/workspaces/merge-workspace-into-branch"},{"title":"Get workspace","description":"Get an existing workspace by ID","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/workspaces/{workspace_id}","href":"/http-api/workspaces/get-workspace"},{"title":"Delete workspace","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json delete /api/repos/{namespace}/{repo_name}/workspaces/{workspace_id}","href":"/http-api/workspaces/delete-workspace"},{"title":"Get or create workspace","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json put /api/repos/{namespace}/{repo_name}/workspaces/get_or_create","href":"/http-api/workspaces/get-or-create-workspace"},{"title":"List workspaces","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/workspaces","href":"/http-api/workspaces/list-workspaces"}]},{"group":"Version Files","pages":[{"title":"Batch download files (Tarball)","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/versions/batch-download","href":"/http-api/version-files/batch-download-files-tarball"},{"title":"Download version file","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/versions/{resource}","href":"/http-api/version-files/download-version-file"},{"title":"Upload one part of a version file","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json put /api/repos/{namespace}/{repo_name}/versions/uploads/{upload_id}/parts/{part_number}","href":"/http-api/version-files/upload-one-part-of-a-version-file"},{"title":"Get version file metadata","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/versions/{version_id}/metadata","href":"/http-api/version-files/get-version-file-metadata"},{"title":"Batch upload files (Multipart)","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/versions","href":"/http-api/version-files/batch-upload-files-multipart"},{"title":"Begin a version file upload","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/versions/uploads","href":"/http-api/version-files/begin-a-version-file-upload"}]},{"group":"Data Frames","pages":[{"title":"Get data frame slice","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/data_frames/{resource}","href":"/http-api/data-frames/get-data-frame-slice"},{"title":"Create a tabular data frame diff","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/compare/data_frames","href":"/http-api/data-frames/create-a-tabular-data-frame-diff"},{"title":"Get a cached tabular data frame diff","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/compare/data_frames/{compare_id}","href":"/http-api/data-frames/get-a-cached-tabular-data-frame-diff"},{"title":"Update tabular data frame diff","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json put /api/repos/{namespace}/{repo_name}/compare/data_frames/{compare_id}","href":"/http-api/data-frames/update-tabular-data-frame-diff"},{"title":"Delete DF Diff","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json delete /api/repos/{namespace}/{repo_name}/compare/data_frames/{compare_id}","href":"/http-api/data-frames/delete-df-diff"},{"title":"Create data frame from directory","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/data_frames/from_directory/{resource}","href":"/http-api/data-frames/create-data-frame-from-directory"},{"title":"Start data frame indexing","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/data_frames/{resource}/index","href":"/http-api/data-frames/start-data-frame-indexing"}]},{"group":"Import","pages":[{"title":"Import file from URL","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/import/{resource}","href":"/http-api/import/import-file-from-url"},{"title":"Upload zip archive","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/import/upload/{resource}","href":"/http-api/import/upload-zip-archive"}]},{"group":"Namespaces","pages":[{"title":"Get namespace","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/namespaces/{namespace}","href":"/http-api/namespaces/get-namespace"},{"title":"List namespaces","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/namespaces","href":"/http-api/namespaces/list-namespaces"}]},{"group":"Workspace Files","pages":[{"title":"Get file from workspace","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/workspaces/{workspace_id}/files/{path}","href":"/http-api/workspace-files/get-file-from-workspace"},{"title":"Add files to workspace","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/workspaces/{workspace_id}/files/{path}","href":"/http-api/workspace-files/add-files-to-workspace"},{"title":"List staged changes under a directory in a workspace","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/workspaces/{workspace_id}/changes/{path}","href":"/http-api/workspace-files/list-staged-changes-under-a-directory-in-a-workspace"},{"title":"Unstage a file from the workspace","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json delete /api/repos/{namespace}/{repo_name}/workspaces/{workspace_id}/changes/{path}","href":"/http-api/workspace-files/unstage-a-file-from-the-workspace"},{"title":"List staged changes in a workspace","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/workspaces/{workspace_id}/changes","href":"/http-api/workspace-files/list-staged-changes-in-a-workspace"},{"title":"Unstage files","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json delete /api/repos/{namespace}/{repo_name}/workspaces/{workspace_id}/changes","href":"/http-api/workspace-files/unstage-files"},{"title":"Stage files for removal","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json delete /api/repos/{namespace}/{repo_name}/workspaces/{workspace_id}/files","href":"/http-api/workspace-files/stage-files-for-removal"}]},{"group":"Workspace Data Frames","pages":[{"title":"Set the metadata on a data frame's schema itself — the file-level\ncounterpart to the per-column metadata endpoint. Staged into the\nworkspace, so no commit is required.","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json put /api/repos/{namespace}/{repo_name}/workspaces/{workspace_id}/data_frames/schema/{path}","href":"/http-api/workspace-data-frames/set-the-metadata-on-a-data-frames-schema-itself-—-the-file-levelcounterpart-to-the-per-column-metadata-endpoint-staged-into-theworkspace-so-no-commit-is-required"},{"title":"Post apirepos workspaces data framescolumnsschemametadata","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/workspaces/{workspace_id}/data_frames/columns/schema/metadata/{path}","href":"/http-api/workspace-data-frames/post-apirepos-workspaces-data_framescolumnsschemametadata"}]},{"group":"Metadata","pages":[{"title":"Get file metadata","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/metadata/{resource}","href":"/http-api/metadata/get-file-metadata"},{"title":"Update file metadata","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json put /api/repos/{namespace}/{repo_name}/metadata/{resource}","href":"/http-api/metadata/update-file-metadata"}]},{"group":"Merge","pages":[{"title":"Check if branches are mergeable","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/merge/{base_head}","href":"/http-api/merge/check-if-branches-are-mergeable"},{"title":"Merge branches","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json post /api/repos/{namespace}/{repo_name}/merge/{base_head}","href":"/http-api/merge/merge-branches"}]},{"group":"Files","pages":[{"title":"Download File","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/file/{resource}","href":"/http-api/files/download-file"},{"title":"Upload files","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json put /api/repos/{namespace}/{repo_name}/file/{resource}","href":"/http-api/files/upload-files"},{"title":"Delete file","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json delete /api/repos/{namespace}/{repo_name}/file/{resource}","href":"/http-api/files/delete-file"},{"title":"Move/Rename file","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json patch /api/repos/{namespace}/{repo_name}/file/{resource}","href":"/http-api/files/moverename-file"}]},{"group":"Health","pages":[{"title":"Check Oxen server status","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/version","href":"/http-api/health/check-oxen-server-status"}]},{"group":"Directories","pages":[{"title":"List directory contents","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_server_openapi.json get /api/repos/{namespace}/{repo_name}/dir/{resource}","href":"/http-api/directories/list-directory-contents"}]}]},{"tab":"Fine-Tuning API","pages":[{"title":"Fine-Tuning API","href":"/fine-tuning-api/overview"}]}]},"title":"Merge workspace into branch - Oxen.ai","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-rfhihCWU.js","utils-BmH1XFxk.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BcNsxPKB.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BAES3tkd.js","snippetPresets-DCMQBKLP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D6l_bzE9.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BOktbnNh.js","shallow-BCs8SgM7.js","getApiPlaygroundDisplay-DEmW5bJB.js","CodeSnippet-CpZOpB9C.js","CodeSnippets-BOBDqibl.js","Page-D5fEM6aW.js","getPastedJson-DH2JBvmr.js","icon-BBJH-kKh.js","MethodPill-D2Sd5NLC.js","DuplicateIcon-CGgfL2qN.js","createIcon-BKudBBzi.js","DynamicMarkdown-85clUA0i.js","SectionHeading-D0JiMgDx.js","axios-vUo_bRtp.js","Markdown-Cfiy0xZO.js","clsx-rL8ZCCw4.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-aeztFa9U.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BywkCr5C.js"]}