Reasoning/thinking effort for models that support it (e.g. "low", "medium", "high"). Accepted values vary by model: OpenAI reasoning models take minimal/low/medium/high, Claude models take low/medium/high/xhigh/max, Kimi K3 only supports max. Ignored by models without configurable reasoning.
Processing tier, as on OpenAI and OpenRouter. "auto" (the default) runs at the standard tier; "ultrafast" opts into OpenAI's Ultrafast mode on models that offer it (GPT 6.1 Sol, GPT 6 Astra) at its higher per-token price. The other tier names (default, flex, priority, fast) are accepted; a tier the model does not price runs at the standard tier. The response's top-level service_tier reports the tier actually served, and the request bills at that tier's rates.
{"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":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af221640410d5cf771caf7a","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Repository API","count":87},{"language":"default","tag":"Fine-Tuning API","count":78},{"language":"default","tag":"Documentation","count":46},{"language":"default","tag":"API Reference","count":41},{"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":"custom-rbac-roles","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":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","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":"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":"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":"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":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","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":"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":"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":"turbopuffer-dual-write","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},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".cta-button{display:inline-block;padding:0.4rem 0.9rem;margin:1.25rem 0;background-color:#8d34ff;color:white!important;font-weight:600;font-size:0.875rem;border-radius:0.375rem;text-decoration:none!important;border-bottom:none!important;box-shadow:none!important;transition:opacity 0.15s ease}.cta-button:hover{opacity:0.85;color:white!important}"}],"page":{"pagePath":"fine-tuning-api/create-chat-completion","slug":"/fine-tuning-api/create-chat-completion","pageMetadata":{"title":"Create chat completion","description":"Generates a model response for the given conversation. Compatible with the OpenAI chat completions API.","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json post /api/ai/chat/completions","href":"/fine-tuning-api/create-chat-completion","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: \"Generates a model response for the given conversation. Compatible with the OpenAI chat completions API.\"\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":"Create chat completion","description":"Generates a model response for the given conversation. Compatible with the OpenAI chat completions API.","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json post /api/ai/chat/completions","href":"/fine-tuning-api/create-chat-completion","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"callbacks":{},"description":"Generates a model response for the given conversation. Compatible with the OpenAI chat completions API.","operationId":"OxenApiWeb.Controllers.ModelController.get_model_response","parameters":[],"requestBody":"21740e90-ee75-4f81-9810-33a7e5f3b4ac","responses":{"200":"a5990ed2-4fa5-43f5-ac1c-669e83adb820","400":"f4e849ea-889b-4194-8b8e-e9cbbc464155"},"summary":"Create chat completion","tags":[],"method":"post","type":"path","servers":["b661c87d-fdbd-40cd-8b37-f2418be8ef57"],"security":[],"path":"/api/ai/chat/completions","baseUrlOptions":["https://hub.oxen.ai"],"title":"Create chat completion","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"description":"Request to generate a chat completion. Compatible with the OpenAI chat completions API.","properties":{"messages":{"items":{"properties":{"content":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1","typeLabel":"object[]"}],"isRequired":true,"uniqueKey":"messages.items.[INDEX].content","typeLabel":"string | object[]"},"role":{"enum":["system","user","assistant","tool"],"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"name":{"oneOf":[{"type":"string","uniqueKey":"messages.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"messages.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].name","typeLabel":"string | null"},"tool_call_id":{"oneOf":[{"type":"string","uniqueKey":"messages.items.[INDEX].tool_call_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"messages.items.[INDEX].tool_call_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].tool_call_id","typeLabel":"string | null"},"tool_calls":{"oneOf":[{"items":{"type":"object","uniqueKey":"messages.items.[INDEX].tool_calls.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"messages.items.[INDEX].tool_calls.oneOf.0","typeLabel":"object[]"},{"items":{"type":"object"},"type":"null","uniqueKey":"messages.items.[INDEX].tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].tool_calls","typeLabel":"object[] | null"}},"required":["role","content"],"type":"object","uniqueKey":"messages.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"messages","typeLabel":"object[]"},"model":{"description":"Model ID to use","example":"gpt-4o","type":"string","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"frequency_penalty":{"oneOf":[{"type":"number","uniqueKey":"frequency_penalty.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"frequency_penalty.oneOf.1","typeLabel":"null"}],"uniqueKey":"frequency_penalty","typeLabel":"number | null"},"max_tokens":{"oneOf":[{"type":"integer","uniqueKey":"max_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"max_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_tokens","typeLabel":"integer | null"},"presence_penalty":{"oneOf":[{"type":"number","uniqueKey":"presence_penalty.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"presence_penalty.oneOf.1","typeLabel":"null"}],"uniqueKey":"presence_penalty","typeLabel":"number | null"},"reasoning_effort":{"oneOf":[{"description":"Reasoning/thinking effort for models that support it (e.g. \"low\", \"medium\", \"high\"). Accepted values vary by model: OpenAI reasoning models take minimal/low/medium/high, Claude models take low/medium/high/xhigh/max, Kimi K3 only supports max. Ignored by models without configurable reasoning.","type":"string","uniqueKey":"reasoning_effort.oneOf.0","typeLabel":"string"},{"description":"Reasoning/thinking effort for models that support it (e.g. \"low\", \"medium\", \"high\"). Accepted values vary by model: OpenAI reasoning models take minimal/low/medium/high, Claude models take low/medium/high/xhigh/max, Kimi K3 only supports max. Ignored by models without configurable reasoning.","type":"null","uniqueKey":"reasoning_effort.oneOf.1","typeLabel":"null"}],"uniqueKey":"reasoning_effort","typeLabel":"string | null"},"response_format":{"oneOf":[{"type":"object","uniqueKey":"response_format.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"response_format.oneOf.1","typeLabel":"null"}],"uniqueKey":"response_format","typeLabel":"object | null"},"service_tier":{"oneOf":[{"default":"auto","description":"Processing tier, as on OpenAI and OpenRouter. \"auto\" (the default) runs at the standard tier; \"ultrafast\" opts into OpenAI's Ultrafast mode on models that offer it (GPT 6.1 Sol, GPT 6 Astra) at its higher per-token price. The other tier names (default, flex, priority, fast) are accepted; a tier the model does not price runs at the standard tier. The response's top-level `service_tier` reports the tier actually served, and the request bills at that tier's rates.","type":"string","uniqueKey":"service_tier.oneOf.0","typeLabel":"string"},{"default":"auto","description":"Processing tier, as on OpenAI and OpenRouter. \"auto\" (the default) runs at the standard tier; \"ultrafast\" opts into OpenAI's Ultrafast mode on models that offer it (GPT 6.1 Sol, GPT 6 Astra) at its higher per-token price. The other tier names (default, flex, priority, fast) are accepted; a tier the model does not price runs at the standard tier. The response's top-level `service_tier` reports the tier actually served, and the request bills at that tier's rates.","type":"null","uniqueKey":"service_tier.oneOf.1","typeLabel":"null"}],"uniqueKey":"service_tier","typeLabel":"string | null"},"stream":{"default":false,"type":"boolean","uniqueKey":"stream","typeLabel":"boolean"},"temperature":{"oneOf":[{"type":"number","uniqueKey":"temperature.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"temperature.oneOf.1","typeLabel":"null"}],"uniqueKey":"temperature","typeLabel":"number | null"},"tool_choice":{"oneOf":[{"type":"string","uniqueKey":"tool_choice.oneOf.0","typeLabel":"string"},{"type":"object","uniqueKey":"tool_choice.oneOf.1","typeLabel":"object"},{"type":"null","uniqueKey":"tool_choice.oneOf.2","typeLabel":"null"}],"uniqueKey":"tool_choice","typeLabel":"string | object | null"},"tools":{"oneOf":[{"items":{"type":"object","uniqueKey":"tools.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"tools.oneOf.0","typeLabel":"object[]"},{"items":{"type":"object"},"type":"null","uniqueKey":"tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools","typeLabel":"object[] | null"},"top_p":{"oneOf":[{"type":"number","uniqueKey":"top_p.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"top_p.oneOf.1","typeLabel":"null"}],"uniqueKey":"top_p","typeLabel":"number | null"}},"required":["model","messages"],"title":"ChatCompletionRequest","type":"object","uniqueKey":"","typeLabel":"ChatCompletionRequest · object"},"examples":{"Example":{"title":"Example","value":{"messages":[{"content":"\u003cstring>","name":"\u003cstring>","tool_call_id":"\u003cstring>","tool_calls":[{}]}],"model":"gpt-4o","frequency_penalty":123,"max_tokens":123,"presence_penalty":123,"reasoning_effort":"\u003cstring>","response_format":{},"service_tier":"auto","stream":false,"temperature":123,"tool_choice":"\u003cstring>","tools":[{}],"top_p":123}}},"exampleType":"generated"}},"description":"Chat completion request","required":false,"exampleType":"generated"},"responses":{"a5990ed2-4fa5-43f5-ac1c-669e83adb820":{"content":{"application/json":{"schema":{"properties":{"choices":{"items":{"properties":{"finish_reason":{"type":"string","uniqueKey":"choices.items.[INDEX].finish_reason","typeLabel":"string"},"index":{"type":"integer","uniqueKey":"choices.items.[INDEX].index","typeLabel":"integer"},"message":{"properties":{"content":{"oneOf":[{"type":"string","uniqueKey":"choices.items.[INDEX].message.content.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].message.content","typeLabel":"string | null"},"role":{"type":"string","uniqueKey":"choices.items.[INDEX].message.role","typeLabel":"string"},"tool_calls":{"oneOf":[{"items":{"type":"object","uniqueKey":"choices.items.[INDEX].message.tool_calls.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"choices.items.[INDEX].message.tool_calls.oneOf.0","typeLabel":"object[]"},{"items":{"type":"object"},"type":"null","uniqueKey":"choices.items.[INDEX].message.tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].message.tool_calls","typeLabel":"object[] | null"}},"type":"object","uniqueKey":"choices.items.[INDEX].message","typeLabel":"object"}},"type":"object","uniqueKey":"choices.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"choices","typeLabel":"object[]"},"created":{"type":"integer","uniqueKey":"created","typeLabel":"integer"},"id":{"type":"string","uniqueKey":"id","typeLabel":"string"},"model":{"type":"string","uniqueKey":"model","typeLabel":"string"},"object":{"enum":["chat.completion"],"type":"string","uniqueKey":"object","typeLabel":"enum\u003cstring>"},"usage":{"oneOf":[{"properties":{"completion_tokens":{"type":"integer","uniqueKey":"usage.oneOf.0.completion_tokens","typeLabel":"integer"},"prompt_tokens":{"type":"integer","uniqueKey":"usage.oneOf.0.prompt_tokens","typeLabel":"integer"},"prompt_tokens_details":{"oneOf":[{"description":"Present when the provider reported prompt-cache activity. cached_tokens counts prompt tokens served from the provider's prompt cache; they are included in prompt_tokens.","properties":{"cached_tokens":{"type":"integer","uniqueKey":"usage.oneOf.0.prompt_tokens_details.oneOf.0.cached_tokens","typeLabel":"integer"}},"type":"object","uniqueKey":"usage.oneOf.0.prompt_tokens_details.oneOf.0","typeLabel":"object"},{"description":"Present when the provider reported prompt-cache activity. cached_tokens counts prompt tokens served from the provider's prompt cache; they are included in prompt_tokens.","properties":{"cached_tokens":{"type":"integer"}},"type":"null","uniqueKey":"usage.oneOf.0.prompt_tokens_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.oneOf.0.prompt_tokens_details","typeLabel":"object | null"},"total_tokens":{"type":"integer","uniqueKey":"usage.oneOf.0.total_tokens","typeLabel":"integer"}},"type":"object","uniqueKey":"usage.oneOf.0","typeLabel":"object"},{"properties":{"completion_tokens":{"type":"integer"},"prompt_tokens":{"type":"integer"},"prompt_tokens_details":{"oneOf":[{"description":"Present when the provider reported prompt-cache activity. cached_tokens counts prompt tokens served from the provider's prompt cache; they are included in prompt_tokens.","properties":{"cached_tokens":{"type":"integer"}},"type":"object"},{"description":"Present when the provider reported prompt-cache activity. cached_tokens counts prompt tokens served from the provider's prompt cache; they are included in prompt_tokens.","properties":{"cached_tokens":{"type":"integer"}},"type":"null"}]},"total_tokens":{"type":"integer"}},"type":"null","uniqueKey":"usage.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage","typeLabel":"object | null"}},"title":"ChatCompletionResponse","type":"object","uniqueKey":"","typeLabel":"ChatCompletionResponse · object"},"examples":{"Example":{"title":"Example","value":{"choices":[{"finish_reason":"\u003cstring>","index":123,"message":{"content":"\u003cstring>","role":"\u003cstring>","tool_calls":[{}]}}],"created":123,"id":"\u003cstring>","model":"\u003cstring>","object":"chat.completion","usage":{"completion_tokens":123,"prompt_tokens":123,"prompt_tokens_details":{"cached_tokens":123},"total_tokens":123}}}},"exampleType":"generated"}},"description":"Chat completion","exampleType":"generated"},"f4e849ea-889b-4194-8b8e-e9cbbc464155":{"content":{"application/json":{"schema":{"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{}}},"exampleType":"generated"}},"description":"Invalid request","exampleType":"generated"}},"security":{},"servers":{"b661c87d-fdbd-40cd-8b37-f2418be8ef57":{"url":"https://hub.oxen.ai","variables":{}}}},"originalFileLocation":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json"},"subdomain":"oxenai","siteName":"Oxen.ai","title":"Create chat completion - Oxen.ai","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-09T19:39:21.036Z","originalFileLocation":"fine-tuning-api/create-chat-completion.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=\"Generates a model response for the given conversation. Compatible with the OpenAI chat completions API.\">\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=\"Create chat completion - Oxen.ai\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generates a model response for the given conversation. Compatible with the OpenAI chat completions API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Oxen.ai\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.oxen.ai/fine-tuning-api/create-chat-completion\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://oxenai.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Create+chat+completion\u0026amp;description=Generates+a+model+response+for+the+given+conversation.+Compatible+with+the+OpenAI+chat+completions+API.\u0026amp;theme=2ca74976db5b09469ea3b450\u0026amp;signature=87c80782ca676fa987f4b61bfc26f50439380a86b2f64c61d8541fb34a3945ac\">\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 chat completion - Oxen.ai\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generates a model response for the given conversation. Compatible with the OpenAI chat completions API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://oxenai.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Create+chat+completion\u0026amp;description=Generates+a+model+response+for+the+given+conversation.+Compatible+with+the+OpenAI+chat+completions+API.\u0026amp;theme=2ca74976db5b09469ea3b450\u0026amp;signature=87c80782ca676fa987f4b61bfc26f50439380a86b2f64c61d8541fb34a3945ac\">\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/fine-tuning-api/create-chat-completion\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/fine-tuning-api/create-chat-completion.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/fine-tuning-api/create-chat-completion#webpage\",\"url\":\"https://docs.oxen.ai/fine-tuning-api/create-chat-completion\",\"name\":\"Create chat completion\",\"description\":\"Generates a model response for the given conversation. Compatible with the OpenAI chat completions API.\",\"dateModified\":\"2026-11-09T19:39:21.036Z\",\"isPartOf\":{\"@id\":\"https://docs.oxen.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.oxen.ai/fine-tuning-api/create-chat-completion#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.oxen.ai/fine-tuning-api/create-chat-completion#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Oxen.ai\",\"item\":\"https://docs.oxen.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create chat completion\",\"item\":\"https://docs.oxen.ai/fine-tuning-api/create-chat-completion\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.oxen.ai/fine-tuning-api/create-chat-completion#apireference\",\"headline\":\"Create chat completion\",\"name\":\"Create chat completion\",\"description\":\"Generates a model response for the given conversation. Compatible with the OpenAI chat completions API.\",\"url\":\"https://docs.oxen.ai/fine-tuning-api/create-chat-completion\",\"mainEntityOfPage\":{\"@id\":\"https://docs.oxen.ai/fine-tuning-api/create-chat-completion#webpage\"},\"dateModified\":\"2026-11-09T19:39:21.036Z\",\"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\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Oxen.ai\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/fine-tuning-api/create-chat-completion.md","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","pages":[{"title":"Repository API","href":"/http-api"}]},{"tab":"Fine-Tuning API","groups":[{"group":"Fine-Tuning API","pages":[{"title":"Fine-Tuning Overview","href":"/fine-tuning-api/overview"},{"group":"Quick Starts","pages":[{"title":"Text Generation","href":"/fine-tuning-api/quickstart/text"},{"title":"Image Generation","href":"/fine-tuning-api/quickstart/image-generation"},{"title":"Image Editing","href":"/fine-tuning-api/quickstart/image-editing"},{"title":"Video Generation","href":"/fine-tuning-api/quickstart/video"}]},{"group":"Tutorials","pages":[{"title":"Fine-Tuning text generation model","href":"/fine-tuning-api/tutorials/01_fine_tuning"},{"title":"Fine-Tuning an Image Generation Model with API","href":"/fine-tuning-api/tutorials/03_fine_tuning_image_generation"},{"title":"Fine-Tuning an Image Editing Model with API","href":"/fine-tuning-api/tutorials/02_fine_tuning_image"}]},{"group":"API Reference","pages":[{"title":"Fine-Tune: Text Generation","href":"/fine-tuning-api/reference/text_generation"},{"title":"Fine-Tune: Text Chat Messages","href":"/fine-tuning-api/reference/text_chat_messages"},{"title":"Fine-Tune: Image Generation","href":"/fine-tuning-api/reference/image_generation"},{"title":"Fine-Tune: Image Editing","href":"/fine-tuning-api/reference/image_editing"},{"title":"Fine-Tune: Multi Image Editing","href":"/fine-tuning-api/reference/multi_image_editing"},{"title":"Fine-Tune: Image To Text","href":"/fine-tuning-api/reference/image_to_text"},{"title":"Fine-Tune: Image To Video","href":"/fine-tuning-api/reference/image_to_video"},{"title":"Fine-Tune: Text To Video","href":"/fine-tuning-api/reference/text_to_video"}]},{"title":"Parameter Guide","description":"Understanding fine-tuning parameters and how to tune them","href":"/fine-tuning-api/parameters"}]},{"group":"API Reference","pages":[{"title":"Create chat completion","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json post /api/ai/chat/completions","href":"/fine-tuning-api/create-chat-completion"},{"title":"List the values each filter column takes","description":"Distinct values for each requested filter column, so a client can populate filter dropdowns with choices that actually match rows. Scope params (`namespace`, `user_id`) apply; the list endpoint's own filter params do not, so a selected value never narrows its own column.","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json get /api/ai/generations/_filters","href":"/fine-tuning-api/list-the-values-each-filter-column-takes"},{"title":"List past generations","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json get /api/ai/generations","href":"/fine-tuning-api/list-past-generations"},{"title":"Estimate a generation's cost","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json post /api/ai/models/{id}/estimate","href":"/fine-tuning-api/estimate-a-generations-cost"},{"title":"Edit image","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json post /api/ai/images/edit","href":"/fine-tuning-api/edit-image"},{"title":"Retrieve model","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json get /api/ai/models/{id}","href":"/fine-tuning-api/retrieve-model"},{"title":"Update model","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json put /api/ai/models/{id}","href":"/fine-tuning-api/update-model"},{"title":"Delete custom model","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json delete /api/ai/models/{id}","href":"/fine-tuning-api/delete-custom-model"},{"title":"Search models","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json get /api/ai/models/search","href":"/fine-tuning-api/search-models"},{"title":"Get generation details","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json get /api/ai/generations/{generation_id}","href":"/fine-tuning-api/get-generation-details"},{"title":"List featured models","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json get /api/ai/models/featured","href":"/fine-tuning-api/list-featured-models"},{"title":"Get generation status","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json get /api/ai/queue/{generation_id}","href":"/fine-tuning-api/get-generation-status"},{"title":"Cancel generation","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json delete /api/ai/queue/{generation_id}","href":"/fine-tuning-api/cancel-generation"},{"title":"Generate image","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json post /api/ai/images/generate","href":"/fine-tuning-api/generate-image"},{"title":"Deactivate model deployment","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json post /api/ai/models/{id}/deactivate","href":"/fine-tuning-api/deactivate-model-deployment"},{"title":"Activate model deployment","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json post /api/ai/models/{id}/activate","href":"/fine-tuning-api/activate-model-deployment"},{"title":"Kill \u0026 retry generation","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json post /api/ai/queue/{generation_id}/retry","href":"/fine-tuning-api/kill-\u0026-retry-generation"},{"title":"Generate audio","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json post /api/ai/audio/generate","href":"/fine-tuning-api/generate-audio"},{"title":"List favorite models","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json get /api/ai/models/favorites","href":"/fine-tuning-api/list-favorite-models"},{"title":"Resolve workbench input URLs","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json post /api/repos/{namespace}/{repo_name}/workbench/references/resolve","href":"/fine-tuning-api/resolve-workbench-input-urls"},{"title":"List models","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json get /api/ai/models","href":"/fine-tuning-api/list-models"},{"title":"List in-flight queue items","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json get /api/ai/queue","href":"/fine-tuning-api/list-in-flight-queue-items"},{"title":"Enqueue generation","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json post /api/ai/queue","href":"/fine-tuning-api/enqueue-generation"},{"title":"Generate video","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json post /api/ai/videos/generate","href":"/fine-tuning-api/generate-video"},{"title":"Favorite a model","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json post /api/ai/models/{id}/favorite","href":"/fine-tuning-api/favorite-a-model"},{"title":"Unfavorite a model","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json delete /api/ai/models/{id}/favorite","href":"/fine-tuning-api/unfavorite-a-model"}]},{"group":"fine_tunes","pages":[{"title":"List fine-tunes for an organization","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json get /api/orgs/{name}/fine_tunes","href":"/fine-tuning-api/fine_tunes/list-fine-tunes-for-an-organization"},{"title":"Run a fine-tune job","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json post /api/repos/{namespace}/{repo_name}/fine_tunes/{id}/actions/run","href":"/fine-tuning-api/fine_tunes/run-a-fine-tune-job"},{"title":"Get a fine-tune job","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json get /api/repos/{namespace}/{repo_name}/fine_tunes/{id}","href":"/fine-tuning-api/fine_tunes/get-a-fine-tune-job"},{"title":"Delete a fine-tune job","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json delete /api/repos/{namespace}/{repo_name}/fine_tunes/{id}","href":"/fine-tuning-api/fine_tunes/delete-a-fine-tune-job"},{"title":"Rename or describe a fine-tune job","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json patch /api/repos/{namespace}/{repo_name}/fine_tunes/{id}","href":"/fine-tuning-api/fine_tunes/rename-or-describe-a-fine-tune-job"},{"title":"List checkpoints for a fine-tune job","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json get /api/repos/{namespace}/{repo_name}/fine_tunes/{id}/checkpoints","href":"/fine-tuning-api/fine_tunes/list-checkpoints-for-a-fine-tune-job"},{"title":"Get logs for a fine-tune job","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json get /api/repos/{namespace}/{repo_name}/fine_tunes/{id}/logs","href":"/fine-tuning-api/fine_tunes/get-logs-for-a-fine-tune-job"},{"title":"Stop a running fine-tune job","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json post /api/repos/{namespace}/{repo_name}/fine_tunes/{id}/actions/stop","href":"/fine-tuning-api/fine_tunes/stop-a-running-fine-tune-job"},{"title":"Deploy a checkpoint from a fine-tune job","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json post /api/repos/{namespace}/{repo_name}/fine_tunes/{id}/checkpoints/{step}/deploy","href":"/fine-tuning-api/fine_tunes/deploy-a-checkpoint-from-a-fine-tune-job"},{"title":"Tokenize data for a fine-tune job","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json post /api/repos/{namespace}/{repo_name}/fine_tunes/{id}/tokenize","href":"/fine-tuning-api/fine_tunes/tokenize-data-for-a-fine-tune-job"},{"title":"Update training status for a fine-tune job","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json put /api/repos/{namespace}/{repo_name}/fine_tunes/{id}/train_status/{new_status}","href":"/fine-tuning-api/fine_tunes/update-training-status-for-a-fine-tune-job"},{"title":"Get training status for a fine-tune job","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json get /api/repos/{namespace}/{repo_name}/fine_tunes/{id}/train_status","href":"/fine-tuning-api/fine_tunes/get-training-status-for-a-fine-tune-job"},{"title":"List fine-tunes in a repository","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json get /api/repos/{namespace}/{repo_name}/fine_tunes","href":"/fine-tuning-api/fine_tunes/list-fine-tunes-in-a-repository"},{"title":"Create a fine-tune job","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json post /api/repos/{namespace}/{repo_name}/fine_tunes","href":"/fine-tuning-api/fine_tunes/create-a-fine-tune-job"},{"title":"List all fine-tunes accessible to the current user","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json get /api/user/fine_tunes","href":"/fine-tuning-api/fine_tunes/list-all-fine-tunes-accessible-to-the-current-user"},{"title":"List fine-tunes for a user","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json get /api/users/{username}/fine_tunes","href":"/fine-tuning-api/fine_tunes/list-fine-tunes-for-a-user"}]},{"group":"evaluations","pages":[{"title":"Get evaluation status","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json get /api/repos/{namespace}/{repo_name}/evaluations/{evaluation_id}","href":"/fine-tuning-api/evaluations/get-evaluation-status"},{"title":"Create an evaluation","deprecated":null,"version":null,"openapi":"https://hub.oxen.ai/api/_spec/oxen_hub_api.json post /api/repos/{namespace}/{repo_name}/evaluations/*resource_path","href":"/fine-tuning-api/evaluations/create-an-evaluation"}]}]}]},"basePath":"","title":"Create chat completion - Oxen.ai","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}