Non-streaming generation. The response body is the requested text or JSON value, without an envelope. The authenticated API key’s organization pays; optional user_id/session_id provide attribution only. X-Request-ID, X-Credits-Used and X-LLM-Model response headers describe the call.
Send X-API-Key: sk_live_<your_key>. Keys are issued via POST /signup or via the dashboard. Legacy callers may also use Authorization: Bearer sk_live_<your_key>.
Optional session for grouping usage. Does not restore conversation history.
Minimum string length: 1
Response
Consumer-defined output: text/plain for text, application/json for JSON modes.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Overten API","description":"Generate Word, Excel, and PowerPoint documents programmatically with the Overten API.","colors":{"primary":"#2E75B6","light":"#6CA8D9","dark":"#1A4971"},"logo":{"light":"https://mintcdn.com/overten/U_PhWFkwMYS0tqqB/logo/logo.png?fit=max\u0026auto=format\u0026n=U_PhWFkwMYS0tqqB\u0026q=85\u0026s=bfbe4e852a585037d2ed4d1f35bfc689","dark":"https://mintcdn.com/overten/U_PhWFkwMYS0tqqB/logo/logo.png?fit=max\u0026auto=format\u0026n=U_PhWFkwMYS0tqqB\u0026q=85\u0026s=bfbe4e852a585037d2ed4d1f35bfc689","href":"https://overten.ai"},"favicon":"https://mintcdn.com/overten/U_PhWFkwMYS0tqqB/logo/favicon.ico?fit=max\u0026auto=format\u0026n=U_PhWFkwMYS0tqqB\u0026q=85\u0026s=d7bc78fe4939118ed2c22ae5878376fe","api":{"playground":{"display":"interactive"},"mdx":{"auth":{"method":"key","name":"X-API-Key"}}},"navbar":{"links":[{"href":"https://app.overten.ai/dashboard","label":"Dashboard"}],"primary":{"type":"button","label":"Get an API key","href":"https://app.overten.ai/settings/api-keys"}},"footer":{"socials":{"x":"https://x.com/overtenai","github":"https://github.com/SmatDocs","linkedin":"https://linkedin.com/company/overtenai"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://overten.ai/community"},{"anchor":"Status","icon":"signal-stream","href":"https://status.overtenai.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"overten","hasAudioNarration":false,"actualSubdomain":"overten","customDomains":["apidocs.overtenai.com"],"gitSource":{"type":"github","owner":"smatdocs","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae5787b6ad4132126e4698f","collectionId":"a5cf640a-f777-4f9b-9752-7f723b3745b9","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae5787b6ad4132126e4698f"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae5787b6ad4132126e4698f","clientVersion":"0.0.4064","searchFilterCounts":[{"language":"default","tag":"API reference","count":51},{"language":"default","tag":"public","count":51},{"language":"default","tag":"Documentation","count":20},{"language":"default","tag":"Format guides","count":7},{"language":"default","tag":"Core concepts","count":6},{"language":"default","tag":"Get started","count":3},{"language":"default","tag":"Reference","count":2},{"language":"default","tag":"Project intelligence","count":1},{"language":"default","tag":"Sales discovery","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"vite-origin","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":"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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/public/invoke-an-llm","slug":"/api-reference/public/invoke-an-llm","pageMetadata":{"title":"Invoke an LLM","description":"Non-streaming generation. The response body is the requested text or JSON value, without an envelope. The authenticated API key's organization pays; optional user_id/session_id provide attribution only. X-Request-ID, X-Credits-Used and X-LLM-Model response headers describe the call.","deprecated":null,"version":null,"openapi":"/openapi.json post /llm/invoke","href":"/api-reference/public/invoke-an-llm","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: \"Non-streaming generation. The response body is the requested text or JSON value, without an envelope. The authenticated API key’s organization pays; optional user_id/session_id provide attribution only. X-Request-ID, X-Credits-Used and X-LLM-Model response headers describe the call.\"\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":"Invoke an LLM","description":"Non-streaming generation. The response body is the requested text or JSON value, without an envelope. The authenticated API key's organization pays; optional user_id/session_id provide attribution only. X-Request-ID, X-Credits-Used and X-LLM-Model response headers describe the call.","deprecated":null,"version":null,"openapi":"/openapi.json post /llm/invoke","href":"/api-reference/public/invoke-an-llm","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["public","llm"],"summary":"Invoke an LLM","description":"Non-streaming generation. The response body is the requested text or JSON value, without an envelope. The authenticated API key's organization pays; optional user_id/session_id provide attribution only. X-Request-ID, X-Credits-Used and X-LLM-Model response headers describe the call.","operationId":"invoke_api_v1_llm_invoke_post","requestBody":"67c9e8c2-9874-41f6-b7de-a0b5ee2878d9","responses":{"200":"86a303ea-ada6-4b03-8927-0dcdcf3b6b63","401":"f34234d1-6cd1-4b3b-99f4-6b7e36160cee","402":"b0bf2fc6-70c6-4a10-986b-c1834bc19e54","403":"2d174c4b-6cc1-4a73-87cb-c798d0effa0f","422":"5e665f54-09e7-433c-91fc-60eda466174b","429":"abdcfa51-0eb2-42cd-8cc8-65565d79d6af","502":"e2b49159-a85a-4f7d-a3e5-6bc3b669e2d2","504":"7fc0b795-d102-4d01-9cd9-bfd453b89cd4"},"security":["6920e5a5-1591-49c3-9f22-d5e7d39ba929"],"x-codeSamples":[{"lang":"bash","label":"Return text","source":"curl -sS -w '\\n' --request POST \"https://backend.overtenai.com/api/v1/llm/invoke\" \\\n -H \"X-API-Key: $OVERTEN_API_KEY\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Say hello.\"\n }\n ]\n}'"},{"lang":"bash","label":"Return JSON","source":"curl -sS -w '\\n' --request POST \"https://backend.overtenai.com/api/v1/llm/invoke\" \\\n -H \"X-API-Key: $OVERTEN_API_KEY\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Return the JSON array [1, 2, 3].\"\n }\n ],\n \"response_format\": {\n \"type\": \"json\"\n }\n}' | jq ."},{"lang":"bash","label":"Return a JSON object matching a schema","source":"curl -sS -w '\\n' --request POST \"https://backend.overtenai.com/api/v1/llm/invoke\" \\\n -H \"X-API-Key: $OVERTEN_API_KEY\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Classify this review: The service was excellent.\"\n }\n ],\n \"response_format\": {\n \"type\": \"json_schema\",\n \"json_schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"sentiment\": {\n \"type\": \"string\",\n \"enum\": [\n \"positive\",\n \"negative\"\n ]\n }\n },\n \"required\": [\n \"sentiment\"\n ],\n \"additionalProperties\": false\n }\n }\n}' | jq ."}],"method":"post","type":"path","servers":["b9f6d473-41e0-4fc3-85f8-999a26e886d2","12542f2d-6ba9-4e07-883b-60c3e5b8e627"],"path":"/llm/invoke","baseUrlOptions":["https://backend.overtenai.com/api/v1","http://localhost:8000/api/v1"],"title":"Invoke an LLM","codeSamples":[{"label":"Return text","lang":"bash","source":"curl -sS -w '\\n' --request POST \"https://backend.overtenai.com/api/v1/llm/invoke\" \\\n -H \"X-API-Key: $OVERTEN_API_KEY\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Say hello.\"\n }\n ]\n}'"},{"label":"Return JSON","lang":"bash","source":"curl -sS -w '\\n' --request POST \"https://backend.overtenai.com/api/v1/llm/invoke\" \\\n -H \"X-API-Key: $OVERTEN_API_KEY\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Return the JSON array [1, 2, 3].\"\n }\n ],\n \"response_format\": {\n \"type\": \"json\"\n }\n}' | jq ."},{"label":"Return a JSON object matching a schema","lang":"bash","source":"curl -sS -w '\\n' --request POST \"https://backend.overtenai.com/api/v1/llm/invoke\" \\\n -H \"X-API-Key: $OVERTEN_API_KEY\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Classify this review: The service was excellent.\"\n }\n ],\n \"response_format\": {\n \"type\": \"json_schema\",\n \"json_schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"sentiment\": {\n \"type\": \"string\",\n \"enum\": [\n \"positive\",\n \"negative\"\n ]\n }\n },\n \"required\": [\n \"sentiment\"\n ],\n \"additionalProperties\": false\n }\n }\n}' | jq ."}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"messages":{"items":{"properties":{"role":{"type":"string","enum":["system","user","assistant"],"title":"Role","isRequired":true,"uniqueKey":"messages.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"content":{"type":"string","minLength":1,"title":"Content","isRequired":true,"uniqueKey":"messages.items.[INDEX].content","typeLabel":"string"}},"additionalProperties":false,"type":"object","required":["role","content"],"title":"LLMMessage","uniqueKey":"messages.items.[INDEX]","typeLabel":"LLMMessage · object"},"type":"array","minItems":1,"title":"Messages","isRequired":true,"uniqueKey":"messages","typeLabel":"LLMMessage · object[]"},"response_format":{"properties":{"type":{"type":"string","enum":["text","json","json_schema"],"title":"Type","default":"text","uniqueKey":"response_format.type","typeLabel":"enum\u003cstring>"},"json_schema":{"oneOf":[{"type":"object","title":"Json Schema","description":"JSON Schema (2020-12) for the returned value. Required for json_schema mode.","additionalProperties":true,"uniqueKey":"response_format.json_schema.oneOf.0","typeLabel":"Json Schema · object"},{"type":"null","title":"Json Schema","description":"JSON Schema (2020-12) for the returned value. Required for json_schema mode.","uniqueKey":"response_format.json_schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"response_format.json_schema","typeLabel":"Json Schema · object | null"}},"additionalProperties":false,"type":"object","title":"LLMResponseFormat","uniqueKey":"response_format","typeLabel":"LLMResponseFormat · object"},"model":{"oneOf":[{"type":"string","title":"Model","description":"Supported model ID, or auto for backend defaults. Fallback may use another configured model.","enum":[null,"DeepSeek-V4-Pro","Kimi-K2.6","auto","azure/gpt-5.4","azure/gpt-5.4-mini","claude-opus-4-6","claude-sonnet-4-6","deepseek/deepseek-v4-flash-0731","gemini-3.8-flash","qwen/qwen3.7-max","z-ai/glm-5.2","z-ai/glm-5.3-flash"],"uniqueKey":"model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Model","description":"Supported model ID, or auto for backend defaults. Fallback may use another configured model.","enum":[null,"DeepSeek-V4-Pro","Kimi-K2.6","auto","azure/gpt-5.4","azure/gpt-5.4-mini","claude-opus-4-6","claude-sonnet-4-6","deepseek/deepseek-v4-flash-0731","gemini-3.8-flash","qwen/qwen3.7-max","z-ai/glm-5.2","z-ai/glm-5.3-flash"],"uniqueKey":"model.oneOf.1","typeLabel":"null"}],"uniqueKey":"model","typeLabel":"enum\u003cstring> | null"},"user_id":{"oneOf":[{"type":"string","title":"User Id","description":"Optional end-user attribution; the API key's organization pays.","minLength":1,"uniqueKey":"user_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"User Id","description":"Optional end-user attribution; the API key's organization pays.","uniqueKey":"user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"user_id","typeLabel":"string | null"},"session_id":{"oneOf":[{"type":"string","title":"Session Id","description":"Optional session for grouping usage. Does not restore conversation history.","minLength":1,"uniqueKey":"session_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Session Id","description":"Optional session for grouping usage. Does not restore conversation history.","uniqueKey":"session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"session_id","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["messages"],"title":"LLMInvokeRequest","examples":[{"messages":[{"content":"Say hello.","role":"user"}]}],"uniqueKey":"","typeLabel":"LLMInvokeRequest · object"},"examples":{"text":{"title":"text","value":{"messages":[{"role":"user","content":"Say hello."}]}},"json":{"title":"json","value":{"messages":[{"role":"user","content":"Return the JSON array [1, 2, 3]."}],"response_format":{"type":"json"}}},"json_schema":{"title":"json_schema","value":{"messages":[{"role":"user","content":"Classify this review: The service was excellent."}],"response_format":{"type":"json_schema","json_schema":{"type":"object","properties":{"sentiment":{"type":"string","enum":["positive","negative"]}},"required":["sentiment"],"additionalProperties":false}}}}},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"86a303ea-ada6-4b03-8927-0dcdcf3b6b63":{"description":"Consumer-defined output: text/plain for text, application/json for JSON modes.","headers":{"X-Request-ID":{"schema":{"type":"string"}},"X-Credits-Used":{"schema":{"type":"integer"}},"X-LLM-Model":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{},"examples":{"object":{"title":"object","value":{"sentiment":"positive"}},"array":{"title":"array","value":[1,2,3]}},"exampleType":"examples"},"text/plain":{"schema":{"type":"string","uniqueKey":"","typeLabel":"string"},"example":"Hello.","examples":{"Example":{"title":"Example","value":"Hello."}},"exampleType":"examples"}},"exampleType":"examples"},"f34234d1-6cd1-4b3b-99f4-6b7e36160cee":{"description":"Invalid API key","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"b0bf2fc6-70c6-4a10-986b-c1834bc19e54":{"description":"Insufficient organization API credits or exceeded LLM budget","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"2d174c4b-6cc1-4a73-87cb-c798d0effa0f":{"description":"Insufficient permissions","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"5e665f54-09e7-433c-91fc-60eda466174b":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"},"abdcfa51-0eb2-42cd-8cc8-65565d79d6af":{"description":"Rate limit exceeded","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"e2b49159-a85a-4f7d-a3e5-6bc3b669e2d2":{"description":"Model failure, invalid output or unavailable usage accounting","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"7fc0b795-d102-4d01-9cd9-bfd453b89cd4":{"description":"Model timeout","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"6920e5a5-1591-49c3-9f22-d5e7d39ba929":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Send `X-API-Key: sk_live_\u003cyour_key>`. Keys are issued via POST /signup or via the dashboard. Legacy callers may also use `Authorization: Bearer sk_live_\u003cyour_key>`.","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"b9f6d473-41e0-4fc3-85f8-999a26e886d2":{"url":"https://backend.overtenai.com/api/v1","description":"Production"},"12542f2d-6ba9-4e07-883b-60c3e5b8e627":{"url":"http://localhost:8000/api/v1","description":"Local development"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Send `X-API-Key: sk_live_\u003cyour_key>`. Keys are issued via POST /signup or via the dashboard. Legacy callers may also use `Authorization: Bearer sk_live_\u003cyour_key>`.","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-API-Key","type":"string","description":"Send `X-API-Key: sk_live_\u003cyour_key>`. Keys are issued via POST /signup or via the dashboard. Legacy callers may also use `Authorization: Bearer sk_live_\u003cyour_key>`.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"overten","siteName":"Overten API","title":"Invoke an LLM - Overten API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-30T17:36:14.027Z","originalFileLocation":"api-reference/public/invoke-an-llm.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=\"Non-streaming generation. The response body is the requested text or JSON value, without an envelope. The authenticated API key\u0026#x27;s organization pays; optional user_id/session_id provide attribution only. X-Request-ID, X-Credits-Used and X-LLM-Model response headers describe the call.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Overten API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/overten/WeKZFax_x7zmoTwM/_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/overten/WeKZFax_x7zmoTwM/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/overten/WeKZFax_x7zmoTwM/_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/overten/WeKZFax_x7zmoTwM/_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/overten/WeKZFax_x7zmoTwM/_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/overten/WeKZFax_x7zmoTwM/_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/overten/WeKZFax_x7zmoTwM/_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/overten/WeKZFax_x7zmoTwM/_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/overten/WeKZFax_x7zmoTwM/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Invoke an LLM - Overten API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Non-streaming generation. The response body is the requested text or JSON value, without an envelope. The authenticated API key\u0026#x27;s organization pays; optional user_id/session_id provide attribution only. X-Request-ID, X-Credits-Used and X-LLM-Model response headers describe the call.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Overten API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://apidocs.overtenai.com/api-reference/public/invoke-an-llm\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://overten.mintlify.app/_mintlify/api/og/v2?division=public\u0026amp;title=Invoke+an+LLM\u0026amp;description=Non-streaming+generation.+The+response+body+is+the+requested+text+or+JSON+value%2C+without+an+envelope.+The+authenticated+API+key%27s+organization+pays%3B+optional+us\u0026amp;theme=807235277883997741369a43\u0026amp;signature=8781f5edc407c702869f8a6b0473e99e1a3e939785098825a45c725065838d8d\">\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=\"Invoke an LLM - Overten API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Non-streaming generation. The response body is the requested text or JSON value, without an envelope. The authenticated API key\u0026#x27;s organization pays; optional user_id/session_id provide attribution only. X-Request-ID, X-Credits-Used and X-LLM-Model response headers describe the call.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://overten.mintlify.app/_mintlify/api/og/v2?division=public\u0026amp;title=Invoke+an+LLM\u0026amp;description=Non-streaming+generation.+The+response+body+is+the+requested+text+or+JSON+value%2C+without+an+envelope.+The+authenticated+API+key%27s+organization+pays%3B+optional+us\u0026amp;theme=807235277883997741369a43\u0026amp;signature=8781f5edc407c702869f8a6b0473e99e1a3e939785098825a45c725065838d8d\">\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/overten/WeKZFax_x7zmoTwM/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Overten API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2E75B6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://apidocs.overtenai.com/api-reference/public/invoke-an-llm\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/public/invoke-an-llm.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://apidocs.overtenai.com/#organization\",\"name\":\"Overten API\",\"url\":\"https://apidocs.overtenai.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/overten/U_PhWFkwMYS0tqqB/logo/logo.png?fit=max\u0026auto=format\u0026n=U_PhWFkwMYS0tqqB\u0026q=85\u0026s=bfbe4e852a585037d2ed4d1f35bfc689\"}},{\"@type\":\"WebSite\",\"@id\":\"https://apidocs.overtenai.com#website\",\"name\":\"Overten API\",\"url\":\"https://apidocs.overtenai.com\",\"publisher\":{\"@id\":\"https://apidocs.overtenai.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://apidocs.overtenai.com/api-reference/public/invoke-an-llm#webpage\",\"url\":\"https://apidocs.overtenai.com/api-reference/public/invoke-an-llm\",\"name\":\"Invoke an LLM\",\"description\":\"Non-streaming generation. The response body is the requested text or JSON value, without an envelope. The authenticated API key's organization pays; optional user_id/session_id provide attribution only. X-Request-ID, X-Credits-Used and X-LLM-Model response headers describe the call.\",\"dateModified\":\"2026-10-30T17:36:14.027Z\",\"isPartOf\":{\"@id\":\"https://apidocs.overtenai.com#website\"},\"breadcrumb\":{\"@id\":\"https://apidocs.overtenai.com/api-reference/public/invoke-an-llm#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://apidocs.overtenai.com/api-reference/public/invoke-an-llm#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"public\",\"item\":\"https://apidocs.overtenai.com/api-reference/public/signup\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Invoke an LLM\",\"item\":\"https://apidocs.overtenai.com/api-reference/public/invoke-an-llm\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://apidocs.overtenai.com/api-reference/public/invoke-an-llm#apireference\",\"headline\":\"Invoke an LLM\",\"name\":\"Invoke an LLM\",\"description\":\"Non-streaming generation. The response body is the requested text or JSON value, without an envelope. The authenticated API key's organization pays; optional user_id/session_id provide attribution only. X-Request-ID, X-Credits-Used and X-LLM-Model response headers describe the call.\",\"url\":\"https://apidocs.overtenai.com/api-reference/public/invoke-an-llm\",\"mainEntityOfPage\":{\"@id\":\"https://apidocs.overtenai.com/api-reference/public/invoke-an-llm#webpage\"},\"dateModified\":\"2026-10-30T17:36:14.027Z\",\"publisher\":{\"@id\":\"https://apidocs.overtenai.com/#organization\"},\"isPartOf\":{\"@id\":\"https://apidocs.overtenai.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Overten API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Overten API","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://overten.ai/community"},{"anchor":"Status","icon":"signal-stream","href":"https://status.overtenai.com"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API reference","groups":[{"group":"public","pages":[{"title":"Signup","deprecated":null,"version":null,"openapi":"/openapi.json post /signup","href":"/api-reference/public/signup"},{"title":"List Organization Api Keys","deprecated":null,"version":null,"openapi":"/openapi.json get /organizations/{org_id}/api-keys","href":"/api-reference/public/list-organization-api-keys"},{"title":"Create Organization Api Key","deprecated":null,"version":null,"openapi":"/openapi.json post /organizations/{org_id}/api-keys","href":"/api-reference/public/create-organization-api-key"},{"title":"Revoke Organization Api Key","deprecated":null,"version":null,"openapi":"/openapi.json delete /organizations/{org_id}/api-keys/{key_id}","href":"/api-reference/public/revoke-organization-api-key"},{"title":"Verify","deprecated":null,"version":null,"openapi":"/openapi.json get /verify","href":"/api-reference/public/verify"},{"title":"Preflight Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /preflight","href":"/api-reference/public/preflight-endpoint"},{"title":"Upload File","deprecated":null,"version":null,"openapi":"/openapi.json post /files","href":"/api-reference/public/upload-file"},{"title":"List Images","deprecated":null,"version":null,"openapi":"/openapi.json get /images","href":"/api-reference/public/list-images"},{"title":"Upload Image","deprecated":null,"version":null,"openapi":"/openapi.json post /images","href":"/api-reference/public/upload-image"},{"title":"Get Image Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json get /images/{image_id}","href":"/api-reference/public/get-image-endpoint"},{"title":"Delete Image Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json delete /images/{image_id}","href":"/api-reference/public/delete-image-endpoint"},{"title":"Convert File Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /files/{file_id}/convert","href":"/api-reference/public/convert-file-endpoint"},{"title":"List All","deprecated":null,"version":null,"openapi":"/openapi.json get /webhooks","href":"/api-reference/public/list-all"},{"title":"Create","deprecated":null,"version":null,"openapi":"/openapi.json post /webhooks","href":"/api-reference/public/create"},{"title":"Remove","deprecated":null,"version":null,"openapi":"/openapi.json delete /webhooks/{webhook_id}","href":"/api-reference/public/remove"},{"title":"Get Task Status","deprecated":null,"version":null,"openapi":"/openapi.json get /tasks/{task_id}","href":"/api-reference/public/get-task-status"},{"title":"List Runs","deprecated":null,"version":null,"openapi":"/openapi.json get /runs","href":"/api-reference/public/list-runs"},{"title":"Get Run","deprecated":null,"version":null,"openapi":"/openapi.json get /runs/{run_id}","href":"/api-reference/public/get-run"},{"title":"Download Primary","deprecated":null,"version":null,"openapi":"/openapi.json get /runs/{run_id}/download","href":"/api-reference/public/download-primary"},{"title":"Export Run","deprecated":null,"version":null,"openapi":"/openapi.json post /runs/{run_id}/export","href":"/api-reference/public/export-run"},{"title":"Excel Generate","deprecated":null,"version":null,"openapi":"/openapi.json post /excel/generate","href":"/api-reference/public/excel-generate"},{"title":"Word Generate","deprecated":null,"version":null,"openapi":"/openapi.json post /word/generate","href":"/api-reference/public/word-generate"},{"title":"Slides Generate","deprecated":null,"version":null,"openapi":"/openapi.json post /slides/generate","href":"/api-reference/public/slides-generate"},{"title":"Excel Analyze","deprecated":null,"version":null,"openapi":"/openapi.json post /excel/analyze","href":"/api-reference/public/excel-analyze"},{"title":"Humanize","deprecated":null,"version":null,"openapi":"/openapi.json post /text/humanize","href":"/api-reference/public/humanize"},{"title":"Rewrite","deprecated":null,"version":null,"openapi":"/openapi.json post /text/rewrite","href":"/api-reference/public/rewrite"},{"title":"New Content","description":null,"deprecated":null,"version":null,"openapi":"/openapi.json post /text/new-content","href":"/api-reference/public/new-content"},{"title":"Invoke an LLM","deprecated":null,"version":null,"openapi":"/openapi.json post /llm/invoke","href":"/api-reference/public/invoke-an-llm"},{"title":"Edit Frame","description":"Render the Overten viewer for an authenticated run.\n\nAuth is the ``?token=`` query param minted at run completion. On a\nvalid token we return an HTML page that loads the document inside the\nOverten in-browser viewer.","deprecated":null,"version":null,"openapi":"/openapi.json get /edit/{run_id}","href":"/api-reference/public/edit-frame"},{"title":"List Projects Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json get /projects","href":"/api-reference/public/list-projects-endpoint"},{"title":"Create Project Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /projects","href":"/api-reference/public/create-project-endpoint"},{"title":"Get Project Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json get /projects/{project_id}","href":"/api-reference/public/get-project-endpoint"},{"title":"Archive Project Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json delete /projects/{project_id}","href":"/api-reference/public/archive-project-endpoint"},{"title":"Patch Project Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json patch /projects/{project_id}","href":"/api-reference/public/patch-project-endpoint"},{"title":"List Project Files Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json get /projects/{project_id}/files","href":"/api-reference/public/list-project-files-endpoint"},{"title":"Attach File Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /projects/{project_id}/files","href":"/api-reference/public/attach-file-endpoint"},{"title":"Get Project File Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json get /projects/{project_id}/files/{file_id}","href":"/api-reference/public/get-project-file-endpoint"},{"title":"Detach File Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json delete /projects/{project_id}/files/{file_id}","href":"/api-reference/public/detach-file-endpoint"},{"title":"Get Analysis Status Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json get /projects/{project_id}/analysis/status","href":"/api-reference/public/get-analysis-status-endpoint"},{"title":"List Insights Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json get /projects/{project_id}/insights","href":"/api-reference/public/list-insights-endpoint"},{"title":"Get Insight Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json get /projects/{project_id}/insights/{insight_id}","href":"/api-reference/public/get-insight-endpoint"},{"title":"Patch Insight Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json patch /projects/{project_id}/insights/{insight_id}","href":"/api-reference/public/patch-insight-endpoint"},{"title":"List Reports Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json get /projects/{project_id}/reports","href":"/api-reference/public/list-reports-endpoint"},{"title":"Generate Report Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /projects/{project_id}/reports","href":"/api-reference/public/generate-report-endpoint"},{"title":"Get Report Endpoint","deprecated":null,"version":null,"openapi":"/openapi.json get /projects/{project_id}/reports/{run_id}","href":"/api-reference/public/get-report-endpoint"},{"title":"Check File Info","deprecated":null,"version":null,"openapi":"/openapi.json get /embed-wopi/files/{run_id}","href":"/api-reference/public/check-file-info"},{"title":"Wopi Lock Op","deprecated":null,"version":null,"openapi":"/openapi.json post /embed-wopi/files/{run_id}","href":"/api-reference/public/wopi-lock-op"},{"title":"Get File Contents","deprecated":null,"version":null,"openapi":"/openapi.json get /embed-wopi/files/{run_id}/contents","href":"/api-reference/public/get-file-contents"},{"title":"Put File Contents","deprecated":null,"version":null,"openapi":"/openapi.json post /embed-wopi/files/{run_id}/contents","href":"/api-reference/public/put-file-contents"},{"title":"Find potential buyers","deprecated":null,"version":null,"openapi":"/openapi.json post /sales/runs","href":"/api-reference/public/find-potential-buyers"},{"title":"Get a sales run","deprecated":null,"version":null,"openapi":"/openapi.json get /sales/runs/{run_id}","href":"/api-reference/public/get-a-sales-run"}]}]}]},"basePath":"","title":"Invoke an LLM - Overten API","buildId":"dpl_2gSLkbMoF5kkLsBqYzq9KWtDyJRo","deploymentId":"dpl_2gSLkbMoF5kkLsBqYzq9KWtDyJRo","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-hfTk6MZX.js","utils-Bfp7HcY4.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D8dSW7yV.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CFgQXcZO.js","snippetPresets-dMW1-pV3.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-DyrCOido.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Bwwdcyh3.js","shallow-drVXTg79.js","getApiPlaygroundDisplay-GMPxUzWV.js","CodeSnippet-wTmV0wP6.js","CodeSnippets-D_QxCJEq.js","Page-BsZAA8xk.js","getPastedJson-Dev-X0Xy.js","icon-7L2WL0jD.js","MethodPill-Ble59Dl_.js","DuplicateIcon-r-98uLGh.js","createIcon-DaFzipjW.js","DynamicMarkdown-Jk8YAWGN.js","SectionHeading-nLgrCDOg.js","axios-vUo_bRtp.js","Markdown-_QGow1Wo.js","clsx-v8ssfMzu.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CjboTi0T.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DkAyo-p5.js"]}