Creates a chat completion using OpenAI-compatible format.
Supports streaming via SSE.
Async inference: Send x-vikat-async: true to submit the request as a background job and receive a job ID immediately. Poll with x-vikat-async-id: <job-id> to retrieve the result. When the job is still processing, the response will have an empty choices array. When completed, choices will contain the full result. See Async Inference for details.
Note: This endpoint also works without the /v1 prefix (e.g., /openai/chat/completions).
POST
/
openai
/
v1
/
chat
/
completions
Error
A valid request URL is required to generate request examples
Bearer token authentication. Use your provider API key or Vikat authentication token.
Virtual keys (prefixed with sk-vk-, or the legacy sk-bf-) can also be passed here.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"Vikat","colors":{"primary":"#0C3B43","light":"#07C983"},"logo":{"light":"https://mintcdn.com/vikat-ai/Xw_qzY8whhWmfPh3/media/vikat-logo.png?fit=max\u0026auto=format\u0026n=Xw_qzY8whhWmfPh3\u0026q=85\u0026s=1bce49f93b955ed9b64346a96466adfd","dark":"https://mintcdn.com/vikat-ai/dtGbonSkiZn6zZKE/media/vikat-logo-dark.png?fit=max\u0026auto=format\u0026n=dtGbonSkiZn6zZKE\u0026q=85\u0026s=97f9b62ceea92c66a50178a7a9d91a0e"},"favicon":"https://mintcdn.com/vikat-ai/NdGPuqWLiDOdPaJ6/favicon.ico?fit=max\u0026auto=format\u0026n=NdGPuqWLiDOdPaJ6\u0026q=85\u0026s=e571d9644566f9530b0f3d4fa084753f","navbar":{"links":[{"icon":"github","href":"https://vikat.local","label":"GitHub"}]},"footer":{"socials":{"github":"https://vikat.local"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vikat-ai","hasAudioNarration":false,"actualSubdomain":"vikat-ai","customDomains":["docs.vikat.ai"],"gitSource":{"type":"github","owner":"vikat-ai","repo":"vikat-gateway","deployBranch":"rebrand/vikat-gateway","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"}},"buildId":"6ab6c9d4dcef7527f446a72e","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"API","count":404},{"language":"default","tag":"API Reference","count":404},{"language":"default","tag":"OSS","count":103},{"language":"default","tag":"Governance","count":49},{"language":"default","tag":"OpenAI Integration","count":47},{"language":"default","tag":"Integrations","count":43},{"language":"default","tag":"Providers \u0026 Guides","count":38},{"language":"default","tag":"Deployment Guides","count":36},{"language":"default","tag":"Logging","count":30},{"language":"default","tag":"Supported Providers","count":29}]},"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":"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},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".nav-logo{height:1.50rem}#sidebar-group>li>button>div{line-height:normal}"}],"page":{"pagePath":"api-reference/openai-integration/create-chat-completion-openai-format","slug":"/api-reference/openai-integration/create-chat-completion-openai-format","pageMetadata":{"title":"Create chat completion (OpenAI format)","description":"Creates a chat completion using OpenAI-compatible format.\nSupports streaming via SSE.\n\n**Async inference:** Send `x-vikat-async: true` to submit the request as a background job and receive a job ID immediately. Poll with `x-vikat-async-id: \u003cjob-id>` to retrieve the result. When the job is still processing, the response will have an empty `choices` array. When completed, `choices` will contain the full result. See [Async Inference](/features/async-inference) for details.\n\n**Note:** This endpoint also works without the `/v1` prefix (e.g., `/openai/chat/completions`).\n","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/chat/completions","href":"/api-reference/openai-integration/create-chat-completion-openai-format","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Creates a chat completion using OpenAI-compatible format.\\nSupports streaming via SSE.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Async inference:\"\n }), \" Send \", _jsx(_components.code, {\n children: \"x-vikat-async: true\"\n }), \" to submit the request as a background job and receive a job ID immediately. Poll with \", _jsx(_components.code, {\n children: \"x-vikat-async-id: \u003cjob-id>\"\n }), \" to retrieve the result. When the job is still processing, the response will have an empty \", _jsx(_components.code, {\n children: \"choices\"\n }), \" array. When completed, \", _jsx(_components.code, {\n children: \"choices\"\n }), \" will contain the full result. See \", _jsx(_components.a, {\n href: \"/features/async-inference\",\n children: \"Async Inference\"\n }), \" for details.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Note:\"\n }), \" This endpoint also works without the \", _jsx(_components.code, {\n children: \"/v1\"\n }), \" prefix (e.g., \", _jsx(_components.code, {\n children: \"/openai/chat/completions\"\n }), \").\"]\n })]\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 (OpenAI format)","description":"Creates a chat completion using OpenAI-compatible format.\nSupports streaming via SSE.\n\n**Async inference:** Send `x-vikat-async: true` to submit the request as a background job and receive a job ID immediately. Poll with `x-vikat-async-id: \u003cjob-id>` to retrieve the result. When the job is still processing, the response will have an empty `choices` array. When completed, `choices` will contain the full result. See [Async Inference](/features/async-inference) for details.\n\n**Note:** This endpoint also works without the `/v1` prefix (e.g., `/openai/chat/completions`).\n","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/chat/completions","href":"/api-reference/openai-integration/create-chat-completion-openai-format","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/vikat-ai/75ed5d49c5b6d441/baseUrlSwitcher.js","/_mintlify/custom/vikat-ai/d8c2d2af23ad55cd/jsonLd.js","/_mintlify/custom/vikat-ai/c6dc09a69a0e6891/supportWidget.js","/_mintlify/custom/vikat-ai/aa532cead633d329/tally-embed.js"],"openApiReferenceData":{"operation":{"operationId":"openaiCreateChatCompletion","summary":"Create chat completion (OpenAI format)","description":"Creates a chat completion using OpenAI-compatible format.\nSupports streaming via SSE.\n\n**Async inference:** Send `x-vikat-async: true` to submit the request as a background job and receive a job ID immediately. Poll with `x-vikat-async-id: \u003cjob-id>` to retrieve the result. When the job is still processing, the response will have an empty `choices` array. When completed, `choices` will contain the full result. See [Async Inference](/features/async-inference) for details.\n\n**Note:** This endpoint also works without the `/v1` prefix (e.g., `/openai/chat/completions`).\n","tags":["OpenAI Integration"],"parameters":["f2857110-0c32-4171-8bca-b4782559f9bb","5f6c97d2-979c-415c-86a9-493938b8ee22","b00b9690-6957-4378-bb99-a6c45085f4cd"],"requestBody":"03e989f1-5dba-4c4c-bdc7-f50ac551429f","responses":{"200":"7debd421-75b0-4ba4-a4cb-37119ee2a248","400":"19ee184d-f3ff-4cd2-8506-b07de3de9430","500":"e6135882-eee8-439f-8c85-3f601ffa7125"},"security":["6b1797f4-4e2d-4b80-85ba-feb7b3b035ee","e0aa0da4-f000-4a01-9529-427ba8121a97","23921354-f273-424f-9321-0136293fae60","08879655-8a65-46ae-aa5c-a5a0a9b808a1"],"method":"post","type":"path","servers":["8951c53d-a6f0-474f-9a6d-17023ea6d3c7"],"path":"/openai/v1/chat/completions","baseUrlOptions":["{baseUrl}"],"title":"Create chat completion (OpenAI format)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"f2857110-0c32-4171-8bca-b4782559f9bb":{"name":"x-vikat-async","in":"header","required":false,"schema":{"type":"string","enum":["true"],"isRequired":false,"description":"Set to `true` to submit this request as an async job. Returns immediately with a job ID. Not compatible with streaming.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"Set to `true` to submit this request as an async job. Returns immediately with a job ID. Not compatible with streaming."},"5f6c97d2-979c-415c-86a9-493938b8ee22":{"name":"x-vikat-async-id","in":"header","required":false,"schema":{"type":"string","isRequired":false,"description":"Poll for results of a previously submitted async job by providing the job ID returned from the initial async request.","uniqueKey":"","typeLabel":"string"},"description":"Poll for results of a previously submitted async job by providing the job ID returned from the initial async request."},"b00b9690-6957-4378-bb99-a6c45085f4cd":{"name":"x-vikat-async-job-result-ttl","in":"header","required":false,"schema":{"type":"integer","default":3600,"isRequired":false,"description":"Override the default result TTL in seconds. Results expire after this duration from completion time.","uniqueKey":"","typeLabel":"integer"},"description":"Override the default result TTL in seconds. Results expire after this duration from completion time."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["model","messages"],"properties":{"model":{"type":"string","description":"Model identifier (e.g., gpt-4, gpt-3.5-turbo)","example":"gpt-4","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"messages":{"type":"array","items":{"type":"object","required":["role"],"properties":{"role":{"type":"string","enum":["system","user","assistant","tool","developer"],"isRequired":true,"uniqueKey":"messages.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"name":{"type":"string","uniqueKey":"messages.items.[INDEX].name","typeLabel":"string"},"content":{"oneOf":[{"type":"string","description":"Message content - can be a string or array of content blocks","uniqueKey":"messages.items.[INDEX].content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["text","image_url","input_audio","file","refusal"],"isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].text","typeLabel":"string"},"refusal":{"type":"string","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].refusal","typeLabel":"string"},"image_url":{"type":"object","required":["url"],"properties":{"url":{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].image_url.url","typeLabel":"string"},"detail":{"type":"string","enum":["low","high","auto"],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].image_url.detail","typeLabel":"enum\u003cstring>"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].image_url","typeLabel":"object"},"input_audio":{"type":"object","required":["data"],"properties":{"data":{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].input_audio.data","typeLabel":"string"},"format":{"type":"string","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].input_audio.format","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].input_audio","typeLabel":"object"},"file":{"type":"object","properties":{"file_data":{"type":"string","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].file.file_data","typeLabel":"string"},"file_id":{"type":"string","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].file.file_id","typeLabel":"string"},"filename":{"type":"string","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].file.filename","typeLabel":"string"},"file_type":{"type":"string","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].file.file_type","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].file","typeLabel":"object"},"cache_control":{"type":"object","description":"Cache control settings for content blocks","properties":{"type":{"type":"string","enum":["ephemeral"],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","description":"Time to live (e.g., \"1m\", \"1h\")","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].cache_control.ttl","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].cache_control","typeLabel":"object"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"Message content - can be a string or array of content blocks","uniqueKey":"messages.items.[INDEX].content.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"messages.items.[INDEX].content","typeLabel":"string | object[]"},"tool_call_id":{"type":"string","description":"For tool messages","uniqueKey":"messages.items.[INDEX].tool_call_id","typeLabel":"string"},"refusal":{"type":"string","uniqueKey":"messages.items.[INDEX].refusal","typeLabel":"string"},"reasoning":{"type":"string","uniqueKey":"messages.items.[INDEX].reasoning","typeLabel":"string"},"annotations":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","uniqueKey":"messages.items.[INDEX].annotations.items.[INDEX].type","typeLabel":"string"},"url_citation":{"type":"object","properties":{"start_index":{"type":"integer","uniqueKey":"messages.items.[INDEX].annotations.items.[INDEX].url_citation.start_index","typeLabel":"integer"},"end_index":{"type":"integer","uniqueKey":"messages.items.[INDEX].annotations.items.[INDEX].url_citation.end_index","typeLabel":"integer"},"title":{"type":"string","uniqueKey":"messages.items.[INDEX].annotations.items.[INDEX].url_citation.title","typeLabel":"string"},"url":{"type":"string","uniqueKey":"messages.items.[INDEX].annotations.items.[INDEX].url_citation.url","typeLabel":"string"},"sources":{"type":"object","uniqueKey":"messages.items.[INDEX].annotations.items.[INDEX].url_citation.sources","typeLabel":"object"},"type":{"type":"string","uniqueKey":"messages.items.[INDEX].annotations.items.[INDEX].url_citation.type","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].annotations.items.[INDEX].url_citation","typeLabel":"object"}},"uniqueKey":"messages.items.[INDEX].annotations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"messages.items.[INDEX].annotations","typeLabel":"object[]"},"tool_calls":{"type":"array","items":{"type":"object","required":["function"],"properties":{"function":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"messages.items.[INDEX].tool_calls.items.[INDEX].function.name","typeLabel":"string"},"arguments":{"type":"string","uniqueKey":"messages.items.[INDEX].tool_calls.items.[INDEX].function.arguments","typeLabel":"string"}},"isRequired":true,"uniqueKey":"messages.items.[INDEX].tool_calls.items.[INDEX].function","typeLabel":"object"},"index":{"type":"integer","uniqueKey":"messages.items.[INDEX].tool_calls.items.[INDEX].index","typeLabel":"integer"},"type":{"type":"string","uniqueKey":"messages.items.[INDEX].tool_calls.items.[INDEX].type","typeLabel":"string"},"id":{"type":"string","uniqueKey":"messages.items.[INDEX].tool_calls.items.[INDEX].id","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX].tool_calls.items.[INDEX]","typeLabel":"object"},"uniqueKey":"messages.items.[INDEX].tool_calls","typeLabel":"object[]"}},"uniqueKey":"messages.items.[INDEX]","typeLabel":"object"},"description":"List of messages in the conversation","isRequired":true,"uniqueKey":"messages","typeLabel":"object[]"},"stream":{"type":"boolean","description":"Whether to stream the response","uniqueKey":"stream","typeLabel":"boolean"},"max_tokens":{"type":"integer","description":"Maximum tokens to generate (legacy, use max_completion_tokens)","uniqueKey":"max_tokens","typeLabel":"integer"},"max_completion_tokens":{"type":"integer","description":"Maximum tokens to generate","uniqueKey":"max_completion_tokens","typeLabel":"integer"},"temperature":{"type":"number","minimum":0,"maximum":2,"uniqueKey":"temperature","typeLabel":"number"},"top_p":{"type":"number","uniqueKey":"top_p","typeLabel":"number"},"frequency_penalty":{"type":"number","minimum":-2,"maximum":2,"uniqueKey":"frequency_penalty","typeLabel":"number"},"presence_penalty":{"type":"number","minimum":-2,"maximum":2,"uniqueKey":"presence_penalty","typeLabel":"number"},"logit_bias":{"type":"object","additionalProperties":{"type":"number","uniqueKey":"logit_bias.additionalProperties","typeLabel":"number"},"uniqueKey":"logit_bias","typeLabel":"object"},"logprobs":{"type":"boolean","uniqueKey":"logprobs","typeLabel":"boolean"},"top_logprobs":{"type":"integer","uniqueKey":"top_logprobs","typeLabel":"integer"},"n":{"type":"integer","uniqueKey":"n","typeLabel":"integer"},"stop":{"oneOf":[{"type":"string","uniqueKey":"stop.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"stop.oneOf.1.items.[INDEX]","typeLabel":"string"},"uniqueKey":"stop.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"stop","typeLabel":"string | string[]"},"seed":{"type":"integer","uniqueKey":"seed","typeLabel":"integer"},"user":{"type":"string","uniqueKey":"user","typeLabel":"string"},"tools":{"type":"array","items":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["function","custom"],"isRequired":true,"uniqueKey":"tools.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"function":{"type":"object","required":["name"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"tools.items.[INDEX].function.name","typeLabel":"string"},"description":{"type":"string","uniqueKey":"tools.items.[INDEX].function.description","typeLabel":"string"},"parameters":{"type":"object","properties":{"type":{"type":"string","uniqueKey":"tools.items.[INDEX].function.parameters.type","typeLabel":"string"},"description":{"type":"string","uniqueKey":"tools.items.[INDEX].function.parameters.description","typeLabel":"string"},"required":{"type":"array","items":{"type":"string","uniqueKey":"tools.items.[INDEX].function.parameters.required.items.[INDEX]","typeLabel":"string"},"uniqueKey":"tools.items.[INDEX].function.parameters.required","typeLabel":"string[]"},"properties":{"type":"object","additionalProperties":true,"uniqueKey":"tools.items.[INDEX].function.parameters.properties","typeLabel":"object"},"enum":{"type":"array","items":{"type":"string","uniqueKey":"tools.items.[INDEX].function.parameters.enum.items.[INDEX]","typeLabel":"string"},"uniqueKey":"tools.items.[INDEX].function.parameters.enum","typeLabel":"string[]"},"additionalProperties":{"type":"boolean","uniqueKey":"tools.items.[INDEX].function.parameters.\\additionalProperties","typeLabel":"boolean"}},"uniqueKey":"tools.items.[INDEX].function.parameters","typeLabel":"object"},"strict":{"type":"boolean","uniqueKey":"tools.items.[INDEX].function.strict","typeLabel":"boolean"}},"uniqueKey":"tools.items.[INDEX].function","typeLabel":"object"},"custom":{"type":"object","properties":{"format":{"type":"object","required":["type"],"properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"tools.items.[INDEX].custom.format.type","typeLabel":"string"},"grammar":{"type":"object","required":["definition","syntax"],"properties":{"definition":{"type":"string","isRequired":true,"uniqueKey":"tools.items.[INDEX].custom.format.grammar.definition","typeLabel":"string"},"syntax":{"type":"string","enum":["lark","regex"],"isRequired":true,"uniqueKey":"tools.items.[INDEX].custom.format.grammar.syntax","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].custom.format.grammar","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX].custom.format","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX].custom","typeLabel":"object"},"cache_control":{"type":"object","description":"Cache control settings for content blocks","properties":{"type":{"type":"string","enum":["ephemeral"],"uniqueKey":"tools.items.[INDEX].cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","description":"Time to live (e.g., \"1m\", \"1h\")","uniqueKey":"tools.items.[INDEX].cache_control.ttl","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].cache_control","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX]","typeLabel":"object"},"uniqueKey":"tools","typeLabel":"object[]"},"tool_choice":{"oneOf":[{"type":"string","enum":["none","auto","required"],"uniqueKey":"tool_choice.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["none","any","required","function","allowed_tools","custom"],"isRequired":true,"uniqueKey":"tool_choice.oneOf.1.type","typeLabel":"enum\u003cstring>"},"function":{"type":"object","required":["name"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"tool_choice.oneOf.1.function.name","typeLabel":"string"}},"uniqueKey":"tool_choice.oneOf.1.function","typeLabel":"object"},"allowed_tools":{"type":"object","properties":{"mode":{"type":"string","enum":["auto","required"],"uniqueKey":"tool_choice.oneOf.1.allowed_tools.mode","typeLabel":"enum\u003cstring>"},"tools":{"type":"array","items":{"type":"object","required":["type"],"properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"tool_choice.oneOf.1.allowed_tools.tools.items.[INDEX].type","typeLabel":"string"},"function":{"type":"object","required":["name"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"tool_choice.oneOf.1.allowed_tools.tools.items.[INDEX].function.name","typeLabel":"string"}},"uniqueKey":"tool_choice.oneOf.1.allowed_tools.tools.items.[INDEX].function","typeLabel":"object"}},"uniqueKey":"tool_choice.oneOf.1.allowed_tools.tools.items.[INDEX]","typeLabel":"object"},"uniqueKey":"tool_choice.oneOf.1.allowed_tools.tools","typeLabel":"object[]"}},"uniqueKey":"tool_choice.oneOf.1.allowed_tools","typeLabel":"object"}},"uniqueKey":"tool_choice.oneOf.1","typeLabel":"object"}],"uniqueKey":"tool_choice","typeLabel":"enum\u003cstring> | object"},"parallel_tool_calls":{"type":"boolean","uniqueKey":"parallel_tool_calls","typeLabel":"boolean"},"response_format":{"type":"object","description":"Format for the response","uniqueKey":"response_format","typeLabel":"object"},"reasoning_effort":{"type":"string","enum":["none","minimal","low","medium","high","xhigh"],"description":"OpenAI reasoning effort level","uniqueKey":"reasoning_effort","typeLabel":"enum\u003cstring>"},"service_tier":{"type":"string","uniqueKey":"service_tier","typeLabel":"string"},"stream_options":{"type":"object","properties":{"include_obfuscation":{"type":"boolean","uniqueKey":"stream_options.include_obfuscation","typeLabel":"boolean"},"include_usage":{"type":"boolean","uniqueKey":"stream_options.include_usage","typeLabel":"boolean"}},"uniqueKey":"stream_options","typeLabel":"object"},"fallbacks":{"type":"array","items":{"type":"string","uniqueKey":"fallbacks.items.[INDEX]","typeLabel":"string"},"description":"Fallback models","uniqueKey":"fallbacks","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"model":"gpt-4","messages":[{"name":"\u003cstring>","content":"\u003cstring>","tool_call_id":"\u003cstring>","refusal":"\u003cstring>","reasoning":"\u003cstring>","annotations":[{"type":"\u003cstring>","url_citation":{"start_index":123,"end_index":123,"title":"\u003cstring>","url":"\u003cstring>","sources":{},"type":"\u003cstring>"}}],"tool_calls":[{"function":{"name":"\u003cstring>","arguments":"\u003cstring>"},"index":123,"type":"\u003cstring>","id":"\u003cstring>"}]}],"stream":true,"max_tokens":123,"max_completion_tokens":123,"temperature":1,"top_p":123,"frequency_penalty":0,"presence_penalty":0,"logit_bias":{},"logprobs":true,"top_logprobs":123,"n":123,"stop":"\u003cstring>","seed":123,"user":"\u003cstring>","tools":[{"custom":{},"cache_control":{"type":"ephemeral","ttl":"\u003cstring>"}}],"parallel_tool_calls":true,"response_format":{},"service_tier":"\u003cstring>","stream_options":{"include_obfuscation":true,"include_usage":true},"fallbacks":["\u003cstring>"]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"7debd421-75b0-4ba4-a4cb-37119ee2a248":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"id","typeLabel":"string"},"choices":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","uniqueKey":"choices.items.[INDEX].index","typeLabel":"integer"},"finish_reason":{"type":"string","uniqueKey":"choices.items.[INDEX].finish_reason","typeLabel":"string"},"log_probs":{"type":"object","properties":{"content":{"type":"array","items":{"type":"object","properties":{"bytes":{"type":"array","items":{"type":"integer","uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX].bytes.items.[INDEX]","typeLabel":"integer"},"uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX].bytes","typeLabel":"integer[]"},"logprob":{"type":"number","uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX].logprob","typeLabel":"number"},"token":{"type":"string","uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX].token","typeLabel":"string"},"top_logprobs":{"type":"array","items":{"type":"object","properties":{"bytes":{"type":"array","items":{"type":"integer","uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX].top_logprobs.items.[INDEX].bytes.items.[INDEX]","typeLabel":"integer"},"uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX].top_logprobs.items.[INDEX].bytes","typeLabel":"integer[]"},"logprob":{"type":"number","uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX].top_logprobs.items.[INDEX].logprob","typeLabel":"number"},"token":{"type":"string","uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX].top_logprobs.items.[INDEX].token","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX].top_logprobs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX].top_logprobs","typeLabel":"object[]"}},"uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices.items.[INDEX].log_probs.content","typeLabel":"object[]"},"refusal":{"type":"array","items":{"type":"object","properties":{"bytes":{"type":"array","items":{"type":"integer","uniqueKey":"choices.items.[INDEX].log_probs.refusal.items.[INDEX].bytes.items.[INDEX]","typeLabel":"integer"},"uniqueKey":"choices.items.[INDEX].log_probs.refusal.items.[INDEX].bytes","typeLabel":"integer[]"},"logprob":{"type":"number","uniqueKey":"choices.items.[INDEX].log_probs.refusal.items.[INDEX].logprob","typeLabel":"number"},"token":{"type":"string","uniqueKey":"choices.items.[INDEX].log_probs.refusal.items.[INDEX].token","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].log_probs.refusal.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices.items.[INDEX].log_probs.refusal","typeLabel":"object[]"},"text_offset":{"type":"array","items":{"type":"integer","uniqueKey":"choices.items.[INDEX].log_probs.text_offset.items.[INDEX]","typeLabel":"integer"},"uniqueKey":"choices.items.[INDEX].log_probs.text_offset","typeLabel":"integer[]"},"token_logprobs":{"type":"array","items":{"type":"number","uniqueKey":"choices.items.[INDEX].log_probs.token_logprobs.items.[INDEX]","typeLabel":"number"},"uniqueKey":"choices.items.[INDEX].log_probs.token_logprobs","typeLabel":"number[]"},"tokens":{"type":"array","items":{"type":"string","uniqueKey":"choices.items.[INDEX].log_probs.tokens.items.[INDEX]","typeLabel":"string"},"uniqueKey":"choices.items.[INDEX].log_probs.tokens","typeLabel":"string[]"},"top_logprobs":{"type":"array","items":{"type":"object","additionalProperties":{"type":"number","uniqueKey":"choices.items.[INDEX].log_probs.top_logprobs.items.[INDEX].additionalProperties","typeLabel":"number"},"uniqueKey":"choices.items.[INDEX].log_probs.top_logprobs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices.items.[INDEX].log_probs.top_logprobs","typeLabel":"object[]"}},"uniqueKey":"choices.items.[INDEX].log_probs","typeLabel":"object"},"text":{"type":"string","description":"For text completions","uniqueKey":"choices.items.[INDEX].text","typeLabel":"string"},"message":{"type":"object","required":["role"],"properties":{"role":{"type":"string","enum":["assistant","user","system","tool","developer"],"isRequired":true,"uniqueKey":"choices.items.[INDEX].message.role","typeLabel":"enum\u003cstring>"},"name":{"type":"string","uniqueKey":"choices.items.[INDEX].message.name","typeLabel":"string"},"content":{"oneOf":[{"type":"string","description":"Message content - can be a string or array of content blocks","uniqueKey":"choices.items.[INDEX].message.content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["text","image_url","input_audio","file","refusal"],"isRequired":true,"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].text","typeLabel":"string"},"refusal":{"type":"string","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].refusal","typeLabel":"string"},"image_url":{"type":"object","required":["url"],"properties":{"url":{"type":"string","isRequired":true,"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].image_url.url","typeLabel":"string"},"detail":{"type":"string","enum":["low","high","auto"],"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].image_url.detail","typeLabel":"enum\u003cstring>"}},"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].image_url","typeLabel":"object"},"input_audio":{"type":"object","required":["data"],"properties":{"data":{"type":"string","isRequired":true,"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].input_audio.data","typeLabel":"string"},"format":{"type":"string","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].input_audio.format","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].input_audio","typeLabel":"object"},"file":{"type":"object","properties":{"file_data":{"type":"string","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].file.file_data","typeLabel":"string"},"file_id":{"type":"string","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].file.file_id","typeLabel":"string"},"filename":{"type":"string","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].file.filename","typeLabel":"string"},"file_type":{"type":"string","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].file.file_type","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].file","typeLabel":"object"},"cache_control":{"type":"object","description":"Cache control settings for content blocks","properties":{"type":{"type":"string","enum":["ephemeral"],"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","description":"Time to live (e.g., \"1m\", \"1h\")","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].cache_control.ttl","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].cache_control","typeLabel":"object"}},"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"Message content - can be a string or array of content blocks","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"choices.items.[INDEX].message.content","typeLabel":"string | object[]"},"tool_call_id":{"type":"string","description":"For tool messages","uniqueKey":"choices.items.[INDEX].message.tool_call_id","typeLabel":"string"},"refusal":{"type":"string","uniqueKey":"choices.items.[INDEX].message.refusal","typeLabel":"string"},"audio":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"choices.items.[INDEX].message.audio.id","typeLabel":"string"},"data":{"type":"string","uniqueKey":"choices.items.[INDEX].message.audio.data","typeLabel":"string"},"expires_at":{"type":"integer","uniqueKey":"choices.items.[INDEX].message.audio.expires_at","typeLabel":"integer"},"transcript":{"type":"string","uniqueKey":"choices.items.[INDEX].message.audio.transcript","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].message.audio","typeLabel":"object"},"reasoning":{"type":"string","uniqueKey":"choices.items.[INDEX].message.reasoning","typeLabel":"string"},"reasoning_details":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"choices.items.[INDEX].message.reasoning_details.items.[INDEX].id","typeLabel":"string"},"index":{"type":"integer","uniqueKey":"choices.items.[INDEX].message.reasoning_details.items.[INDEX].index","typeLabel":"integer"},"type":{"type":"string","enum":["reasoning.summary","reasoning.encrypted","reasoning.text"],"uniqueKey":"choices.items.[INDEX].message.reasoning_details.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"summary":{"type":"string","uniqueKey":"choices.items.[INDEX].message.reasoning_details.items.[INDEX].summary","typeLabel":"string"},"text":{"type":"string","uniqueKey":"choices.items.[INDEX].message.reasoning_details.items.[INDEX].text","typeLabel":"string"},"signature":{"type":"string","uniqueKey":"choices.items.[INDEX].message.reasoning_details.items.[INDEX].signature","typeLabel":"string"},"data":{"type":"string","uniqueKey":"choices.items.[INDEX].message.reasoning_details.items.[INDEX].data","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].message.reasoning_details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices.items.[INDEX].message.reasoning_details","typeLabel":"object[]"},"annotations":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","uniqueKey":"choices.items.[INDEX].message.annotations.items.[INDEX].type","typeLabel":"string"},"url_citation":{"type":"object","properties":{"start_index":{"type":"integer","uniqueKey":"choices.items.[INDEX].message.annotations.items.[INDEX].url_citation.start_index","typeLabel":"integer"},"end_index":{"type":"integer","uniqueKey":"choices.items.[INDEX].message.annotations.items.[INDEX].url_citation.end_index","typeLabel":"integer"},"title":{"type":"string","uniqueKey":"choices.items.[INDEX].message.annotations.items.[INDEX].url_citation.title","typeLabel":"string"},"url":{"type":"string","uniqueKey":"choices.items.[INDEX].message.annotations.items.[INDEX].url_citation.url","typeLabel":"string"},"sources":{"type":"object","uniqueKey":"choices.items.[INDEX].message.annotations.items.[INDEX].url_citation.sources","typeLabel":"object"},"type":{"type":"string","uniqueKey":"choices.items.[INDEX].message.annotations.items.[INDEX].url_citation.type","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].message.annotations.items.[INDEX].url_citation","typeLabel":"object"}},"uniqueKey":"choices.items.[INDEX].message.annotations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices.items.[INDEX].message.annotations","typeLabel":"object[]"},"tool_calls":{"type":"array","items":{"type":"object","required":["function"],"properties":{"function":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX].function.name","typeLabel":"string"},"arguments":{"type":"string","uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX].function.arguments","typeLabel":"string"}},"isRequired":true,"uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX].function","typeLabel":"object"},"index":{"type":"integer","uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX].index","typeLabel":"integer"},"type":{"type":"string","uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX].type","typeLabel":"string"},"id":{"type":"string","uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX].id","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices.items.[INDEX].message.tool_calls","typeLabel":"object[]"}},"description":"For non-streaming chat completions","uniqueKey":"choices.items.[INDEX].message","typeLabel":"object"},"delta":{"type":"object","properties":{"role":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.role","typeLabel":"string"},"content":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.content","typeLabel":"string"},"refusal":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.refusal","typeLabel":"string"},"audio":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.audio.id","typeLabel":"string"},"data":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.audio.data","typeLabel":"string"},"expires_at":{"type":"integer","uniqueKey":"choices.items.[INDEX].delta.audio.expires_at","typeLabel":"integer"},"transcript":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.audio.transcript","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].delta.audio","typeLabel":"object"},"reasoning":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.reasoning","typeLabel":"string"},"reasoning_details":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.reasoning_details.items.[INDEX].id","typeLabel":"string"},"index":{"type":"integer","uniqueKey":"choices.items.[INDEX].delta.reasoning_details.items.[INDEX].index","typeLabel":"integer"},"type":{"type":"string","enum":["reasoning.summary","reasoning.encrypted","reasoning.text"],"uniqueKey":"choices.items.[INDEX].delta.reasoning_details.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"summary":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.reasoning_details.items.[INDEX].summary","typeLabel":"string"},"text":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.reasoning_details.items.[INDEX].text","typeLabel":"string"},"signature":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.reasoning_details.items.[INDEX].signature","typeLabel":"string"},"data":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.reasoning_details.items.[INDEX].data","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].delta.reasoning_details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices.items.[INDEX].delta.reasoning_details","typeLabel":"object[]"},"tool_calls":{"type":"array","items":{"type":"object","required":["function"],"properties":{"function":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.tool_calls.items.[INDEX].function.name","typeLabel":"string"},"arguments":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.tool_calls.items.[INDEX].function.arguments","typeLabel":"string"}},"isRequired":true,"uniqueKey":"choices.items.[INDEX].delta.tool_calls.items.[INDEX].function","typeLabel":"object"},"index":{"type":"integer","uniqueKey":"choices.items.[INDEX].delta.tool_calls.items.[INDEX].index","typeLabel":"integer"},"type":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.tool_calls.items.[INDEX].type","typeLabel":"string"},"id":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.tool_calls.items.[INDEX].id","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].delta.tool_calls.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices.items.[INDEX].delta.tool_calls","typeLabel":"object[]"}},"description":"For streaming chat completions","uniqueKey":"choices.items.[INDEX].delta","typeLabel":"object"}},"uniqueKey":"choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices","typeLabel":"object[]"},"created":{"type":"integer","uniqueKey":"created","typeLabel":"integer"},"model":{"type":"string","uniqueKey":"model","typeLabel":"string"},"object":{"type":"string","uniqueKey":"object","typeLabel":"string"},"service_tier":{"type":"string","uniqueKey":"service_tier","typeLabel":"string"},"system_fingerprint":{"type":"string","uniqueKey":"system_fingerprint","typeLabel":"string"},"usage":{"type":"object","description":"Token usage information","properties":{"prompt_tokens":{"type":"integer","description":"Total input tokens including any prompt-cache tokens (read + write). Subtract prompt_tokens_details.cached_read_tokens and prompt_tokens_details.cached_write_tokens to get the non-cached portion.\n","uniqueKey":"usage.prompt_tokens","typeLabel":"integer"},"prompt_tokens_details":{"type":"object","properties":{"text_tokens":{"type":"integer","uniqueKey":"usage.prompt_tokens_details.text_tokens","typeLabel":"integer"},"audio_tokens":{"type":"integer","uniqueKey":"usage.prompt_tokens_details.audio_tokens","typeLabel":"integer"},"image_tokens":{"type":"integer","uniqueKey":"usage.prompt_tokens_details.image_tokens","typeLabel":"integer"},"cached_read_tokens":{"type":"integer","description":"Tokens served from the prompt cache (cache hit). These tokens are already included in prompt_tokens and are billed at the reduced cache-read rate. Populated for all providers that support prompt caching (Anthropic, Bedrock, OpenAI, Gemini, xAI, etc.).\n","uniqueKey":"usage.prompt_tokens_details.cached_read_tokens","typeLabel":"integer"},"cached_write_tokens":{"type":"integer","description":"Tokens written to the prompt cache on this request (cache creation / write). These tokens are already included in prompt_tokens and are billed at the cache-creation rate. Populated for providers that separately report cache write tokens (Anthropic, Bedrock).\n","uniqueKey":"usage.prompt_tokens_details.cached_write_tokens","typeLabel":"integer"}},"uniqueKey":"usage.prompt_tokens_details","typeLabel":"object"},"completion_tokens":{"type":"integer","description":"Number of output/completion tokens generated.","uniqueKey":"usage.completion_tokens","typeLabel":"integer"},"completion_tokens_details":{"type":"object","properties":{"text_tokens":{"type":"integer","uniqueKey":"usage.completion_tokens_details.text_tokens","typeLabel":"integer"},"accepted_prediction_tokens":{"type":"integer","uniqueKey":"usage.completion_tokens_details.accepted_prediction_tokens","typeLabel":"integer"},"audio_tokens":{"type":"integer","uniqueKey":"usage.completion_tokens_details.audio_tokens","typeLabel":"integer"},"citation_tokens":{"type":"integer","uniqueKey":"usage.completion_tokens_details.citation_tokens","typeLabel":"integer"},"num_search_queries":{"type":"integer","uniqueKey":"usage.completion_tokens_details.num_search_queries","typeLabel":"integer"},"reasoning_tokens":{"type":"integer","uniqueKey":"usage.completion_tokens_details.reasoning_tokens","typeLabel":"integer"},"image_tokens":{"type":"integer","uniqueKey":"usage.completion_tokens_details.image_tokens","typeLabel":"integer"},"rejected_prediction_tokens":{"type":"integer","uniqueKey":"usage.completion_tokens_details.rejected_prediction_tokens","typeLabel":"integer"}},"uniqueKey":"usage.completion_tokens_details","typeLabel":"object"},"total_tokens":{"type":"integer","uniqueKey":"usage.total_tokens","typeLabel":"integer"},"cost":{"type":"object","description":"Cost breakdown for the request","properties":{"input_tokens_cost":{"type":"number","uniqueKey":"usage.cost.input_tokens_cost","typeLabel":"number"},"output_tokens_cost":{"type":"number","uniqueKey":"usage.cost.output_tokens_cost","typeLabel":"number"},"reasoning_tokens_cost":{"type":"number","description":"Cost for reasoning/thinking tokens (reasoning models)","uniqueKey":"usage.cost.reasoning_tokens_cost","typeLabel":"number"},"citation_tokens_cost":{"type":"number","description":"Cost for citation tokens","uniqueKey":"usage.cost.citation_tokens_cost","typeLabel":"number"},"search_queries_cost":{"type":"number","description":"Cost for web search queries","uniqueKey":"usage.cost.search_queries_cost","typeLabel":"number"},"request_cost":{"type":"number","uniqueKey":"usage.cost.request_cost","typeLabel":"number"},"total_cost":{"type":"number","uniqueKey":"usage.cost.total_cost","typeLabel":"number"}},"uniqueKey":"usage.cost","typeLabel":"object"}},"uniqueKey":"usage","typeLabel":"object"},"extra_fields":{"type":"object","description":"Additional fields included in responses","properties":{"request_type":{"type":"string","description":"Type of request that was made","uniqueKey":"extra_fields.request_type","typeLabel":"string"},"provider":{"type":"string","description":"AI model provider identifier","enum":["openai","azure","anthropic","bedrock","cohere","vertex","vllm","mistral","ollama","groq","sgl","parasail","perplexity","replicate","cerebras","deepseek","gemini","openrouter","elevenlabs","huggingface","nebius","xai","runway","fireworks"],"uniqueKey":"extra_fields.provider","typeLabel":"enum\u003cstring>"},"model_requested":{"type":"string","description":"The model that was requested","uniqueKey":"extra_fields.model_requested","typeLabel":"string"},"model_deployment":{"type":"string","description":"The actual model deployment used","uniqueKey":"extra_fields.model_deployment","typeLabel":"string"},"latency":{"type":"integer","format":"int64","description":"Request latency in milliseconds","uniqueKey":"extra_fields.latency","typeLabel":"integer\u003cint64>"},"chunk_index":{"type":"integer","description":"Index of the chunk for streaming responses","uniqueKey":"extra_fields.chunk_index","typeLabel":"integer"},"raw_request":{"type":"object","description":"Raw request if enabled","uniqueKey":"extra_fields.raw_request","typeLabel":"object"},"raw_response":{"type":"object","description":"Raw response if enabled","uniqueKey":"extra_fields.raw_response","typeLabel":"object"},"cache_debug":{"type":"object","properties":{"cache_hit":{"type":"boolean","uniqueKey":"extra_fields.cache_debug.cache_hit","typeLabel":"boolean"},"cache_id":{"type":"string","uniqueKey":"extra_fields.cache_debug.cache_id","typeLabel":"string"},"hit_type":{"type":"string","uniqueKey":"extra_fields.cache_debug.hit_type","typeLabel":"string"},"requested_provider":{"type":"string","uniqueKey":"extra_fields.cache_debug.requested_provider","typeLabel":"string"},"requested_model":{"type":"string","uniqueKey":"extra_fields.cache_debug.requested_model","typeLabel":"string"},"provider_used":{"type":"string","uniqueKey":"extra_fields.cache_debug.provider_used","typeLabel":"string"},"model_used":{"type":"string","uniqueKey":"extra_fields.cache_debug.model_used","typeLabel":"string"},"input_tokens":{"type":"integer","uniqueKey":"extra_fields.cache_debug.input_tokens","typeLabel":"integer"},"threshold":{"type":"number","uniqueKey":"extra_fields.cache_debug.threshold","typeLabel":"number"},"similarity":{"type":"number","uniqueKey":"extra_fields.cache_debug.similarity","typeLabel":"number"}},"uniqueKey":"extra_fields.cache_debug","typeLabel":"object"}},"uniqueKey":"extra_fields","typeLabel":"object"},"search_results":{"type":"array","items":{"type":"object","description":"Search result from Perplexity AI search","properties":{"title":{"type":"string","uniqueKey":"search_results.items.[INDEX].title","typeLabel":"string"},"url":{"type":"string","uniqueKey":"search_results.items.[INDEX].url","typeLabel":"string"},"date":{"type":"string","uniqueKey":"search_results.items.[INDEX].date","typeLabel":"string"},"last_updated":{"type":"string","uniqueKey":"search_results.items.[INDEX].last_updated","typeLabel":"string"},"snippet":{"type":"string","uniqueKey":"search_results.items.[INDEX].snippet","typeLabel":"string"},"source":{"type":"string","uniqueKey":"search_results.items.[INDEX].source","typeLabel":"string"}},"uniqueKey":"search_results.items.[INDEX]","typeLabel":"object"},"uniqueKey":"search_results","typeLabel":"object[]"},"videos":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","uniqueKey":"videos.items.[INDEX].url","typeLabel":"string"},"thumbnail_url":{"type":"string","uniqueKey":"videos.items.[INDEX].thumbnail_url","typeLabel":"string"},"thumbnail_width":{"type":"integer","uniqueKey":"videos.items.[INDEX].thumbnail_width","typeLabel":"integer"},"thumbnail_height":{"type":"integer","uniqueKey":"videos.items.[INDEX].thumbnail_height","typeLabel":"integer"},"duration":{"type":"number","uniqueKey":"videos.items.[INDEX].duration","typeLabel":"number"}},"uniqueKey":"videos.items.[INDEX]","typeLabel":"object"},"uniqueKey":"videos","typeLabel":"object[]"},"citations":{"type":"array","items":{"type":"string","uniqueKey":"citations.items.[INDEX]","typeLabel":"string"},"uniqueKey":"citations","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","choices":[{"index":123,"finish_reason":"\u003cstring>","log_probs":{"content":[{"bytes":[123],"logprob":123,"token":"\u003cstring>","top_logprobs":[{"bytes":[123],"logprob":123,"token":"\u003cstring>"}]}],"refusal":[{"bytes":[123],"logprob":123,"token":"\u003cstring>"}],"text_offset":[123],"token_logprobs":[123],"tokens":["\u003cstring>"],"top_logprobs":[{}]},"text":"\u003cstring>","message":{"role":"assistant","name":"\u003cstring>","content":"\u003cstring>","tool_call_id":"\u003cstring>","refusal":"\u003cstring>","audio":{"id":"\u003cstring>","data":"\u003cstring>","expires_at":123,"transcript":"\u003cstring>"},"reasoning":"\u003cstring>","reasoning_details":[{"id":"\u003cstring>","index":123,"type":"reasoning.summary","summary":"\u003cstring>","text":"\u003cstring>","signature":"\u003cstring>","data":"\u003cstring>"}],"annotations":[{"type":"\u003cstring>","url_citation":{"start_index":123,"end_index":123,"title":"\u003cstring>","url":"\u003cstring>","sources":{},"type":"\u003cstring>"}}],"tool_calls":[{"function":{"name":"\u003cstring>","arguments":"\u003cstring>"},"index":123,"type":"\u003cstring>","id":"\u003cstring>"}]},"delta":{"role":"\u003cstring>","content":"\u003cstring>","refusal":"\u003cstring>","audio":{"id":"\u003cstring>","data":"\u003cstring>","expires_at":123,"transcript":"\u003cstring>"},"reasoning":"\u003cstring>","reasoning_details":[{"id":"\u003cstring>","index":123,"type":"reasoning.summary","summary":"\u003cstring>","text":"\u003cstring>","signature":"\u003cstring>","data":"\u003cstring>"}],"tool_calls":[{"function":{"name":"\u003cstring>","arguments":"\u003cstring>"},"index":123,"type":"\u003cstring>","id":"\u003cstring>"}]}}],"created":123,"model":"\u003cstring>","object":"\u003cstring>","service_tier":"\u003cstring>","system_fingerprint":"\u003cstring>","usage":{"prompt_tokens":123,"prompt_tokens_details":{"text_tokens":123,"audio_tokens":123,"image_tokens":123,"cached_read_tokens":123,"cached_write_tokens":123},"completion_tokens":123,"completion_tokens_details":{"text_tokens":123,"accepted_prediction_tokens":123,"audio_tokens":123,"citation_tokens":123,"num_search_queries":123,"reasoning_tokens":123,"image_tokens":123,"rejected_prediction_tokens":123},"total_tokens":123,"cost":{"input_tokens_cost":123,"output_tokens_cost":123,"reasoning_tokens_cost":123,"citation_tokens_cost":123,"search_queries_cost":123,"request_cost":123,"total_cost":123}},"extra_fields":{"request_type":"\u003cstring>","provider":"openai","model_requested":"\u003cstring>","model_deployment":"\u003cstring>","latency":123,"chunk_index":123,"raw_request":{},"raw_response":{},"cache_debug":{"cache_hit":true,"cache_id":"\u003cstring>","hit_type":"\u003cstring>","requested_provider":"\u003cstring>","requested_model":"\u003cstring>","provider_used":"\u003cstring>","model_used":"\u003cstring>","input_tokens":123,"threshold":123,"similarity":123}},"search_results":[{"title":"\u003cstring>","url":"\u003cstring>","date":"\u003cstring>","last_updated":"\u003cstring>","snippet":"\u003cstring>","source":"\u003cstring>"}],"videos":[{"url":"\u003cstring>","thumbnail_url":"\u003cstring>","thumbnail_width":123,"thumbnail_height":123,"duration":123}],"citations":["\u003cstring>"]}}},"exampleType":"generated"},"text/event-stream":{"schema":{"type":"object","description":"Streaming chat completion response (SSE format)","properties":{"id":{"type":"string","uniqueKey":"id","typeLabel":"string"},"choices":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","uniqueKey":"choices.items.[INDEX].index","typeLabel":"integer"},"finish_reason":{"type":"string","uniqueKey":"choices.items.[INDEX].finish_reason","typeLabel":"string"},"log_probs":{"type":"object","properties":{"content":{"type":"array","items":{"type":"object","properties":{"bytes":{"type":"array","items":{"type":"integer","uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX].bytes.items.[INDEX]","typeLabel":"integer"},"uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX].bytes","typeLabel":"integer[]"},"logprob":{"type":"number","uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX].logprob","typeLabel":"number"},"token":{"type":"string","uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX].token","typeLabel":"string"},"top_logprobs":{"type":"array","items":{"type":"object","properties":{"bytes":{"type":"array","items":{"type":"integer","uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX].top_logprobs.items.[INDEX].bytes.items.[INDEX]","typeLabel":"integer"},"uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX].top_logprobs.items.[INDEX].bytes","typeLabel":"integer[]"},"logprob":{"type":"number","uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX].top_logprobs.items.[INDEX].logprob","typeLabel":"number"},"token":{"type":"string","uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX].top_logprobs.items.[INDEX].token","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX].top_logprobs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX].top_logprobs","typeLabel":"object[]"}},"uniqueKey":"choices.items.[INDEX].log_probs.content.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices.items.[INDEX].log_probs.content","typeLabel":"object[]"},"refusal":{"type":"array","items":{"type":"object","properties":{"bytes":{"type":"array","items":{"type":"integer","uniqueKey":"choices.items.[INDEX].log_probs.refusal.items.[INDEX].bytes.items.[INDEX]","typeLabel":"integer"},"uniqueKey":"choices.items.[INDEX].log_probs.refusal.items.[INDEX].bytes","typeLabel":"integer[]"},"logprob":{"type":"number","uniqueKey":"choices.items.[INDEX].log_probs.refusal.items.[INDEX].logprob","typeLabel":"number"},"token":{"type":"string","uniqueKey":"choices.items.[INDEX].log_probs.refusal.items.[INDEX].token","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].log_probs.refusal.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices.items.[INDEX].log_probs.refusal","typeLabel":"object[]"},"text_offset":{"type":"array","items":{"type":"integer","uniqueKey":"choices.items.[INDEX].log_probs.text_offset.items.[INDEX]","typeLabel":"integer"},"uniqueKey":"choices.items.[INDEX].log_probs.text_offset","typeLabel":"integer[]"},"token_logprobs":{"type":"array","items":{"type":"number","uniqueKey":"choices.items.[INDEX].log_probs.token_logprobs.items.[INDEX]","typeLabel":"number"},"uniqueKey":"choices.items.[INDEX].log_probs.token_logprobs","typeLabel":"number[]"},"tokens":{"type":"array","items":{"type":"string","uniqueKey":"choices.items.[INDEX].log_probs.tokens.items.[INDEX]","typeLabel":"string"},"uniqueKey":"choices.items.[INDEX].log_probs.tokens","typeLabel":"string[]"},"top_logprobs":{"type":"array","items":{"type":"object","additionalProperties":{"type":"number","uniqueKey":"choices.items.[INDEX].log_probs.top_logprobs.items.[INDEX].additionalProperties","typeLabel":"number"},"uniqueKey":"choices.items.[INDEX].log_probs.top_logprobs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices.items.[INDEX].log_probs.top_logprobs","typeLabel":"object[]"}},"uniqueKey":"choices.items.[INDEX].log_probs","typeLabel":"object"},"text":{"type":"string","description":"For text completions","uniqueKey":"choices.items.[INDEX].text","typeLabel":"string"},"message":{"type":"object","required":["role"],"properties":{"role":{"type":"string","enum":["assistant","user","system","tool","developer"],"isRequired":true,"uniqueKey":"choices.items.[INDEX].message.role","typeLabel":"enum\u003cstring>"},"name":{"type":"string","uniqueKey":"choices.items.[INDEX].message.name","typeLabel":"string"},"content":{"oneOf":[{"type":"string","description":"Message content - can be a string or array of content blocks","uniqueKey":"choices.items.[INDEX].message.content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["text","image_url","input_audio","file","refusal"],"isRequired":true,"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].text","typeLabel":"string"},"refusal":{"type":"string","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].refusal","typeLabel":"string"},"image_url":{"type":"object","required":["url"],"properties":{"url":{"type":"string","isRequired":true,"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].image_url.url","typeLabel":"string"},"detail":{"type":"string","enum":["low","high","auto"],"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].image_url.detail","typeLabel":"enum\u003cstring>"}},"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].image_url","typeLabel":"object"},"input_audio":{"type":"object","required":["data"],"properties":{"data":{"type":"string","isRequired":true,"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].input_audio.data","typeLabel":"string"},"format":{"type":"string","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].input_audio.format","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].input_audio","typeLabel":"object"},"file":{"type":"object","properties":{"file_data":{"type":"string","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].file.file_data","typeLabel":"string"},"file_id":{"type":"string","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].file.file_id","typeLabel":"string"},"filename":{"type":"string","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].file.filename","typeLabel":"string"},"file_type":{"type":"string","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].file.file_type","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].file","typeLabel":"object"},"cache_control":{"type":"object","description":"Cache control settings for content blocks","properties":{"type":{"type":"string","enum":["ephemeral"],"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","description":"Time to live (e.g., \"1m\", \"1h\")","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].cache_control.ttl","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].cache_control","typeLabel":"object"}},"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"Message content - can be a string or array of content blocks","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"choices.items.[INDEX].message.content","typeLabel":"string | object[]"},"tool_call_id":{"type":"string","description":"For tool messages","uniqueKey":"choices.items.[INDEX].message.tool_call_id","typeLabel":"string"},"refusal":{"type":"string","uniqueKey":"choices.items.[INDEX].message.refusal","typeLabel":"string"},"audio":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"choices.items.[INDEX].message.audio.id","typeLabel":"string"},"data":{"type":"string","uniqueKey":"choices.items.[INDEX].message.audio.data","typeLabel":"string"},"expires_at":{"type":"integer","uniqueKey":"choices.items.[INDEX].message.audio.expires_at","typeLabel":"integer"},"transcript":{"type":"string","uniqueKey":"choices.items.[INDEX].message.audio.transcript","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].message.audio","typeLabel":"object"},"reasoning":{"type":"string","uniqueKey":"choices.items.[INDEX].message.reasoning","typeLabel":"string"},"reasoning_details":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"choices.items.[INDEX].message.reasoning_details.items.[INDEX].id","typeLabel":"string"},"index":{"type":"integer","uniqueKey":"choices.items.[INDEX].message.reasoning_details.items.[INDEX].index","typeLabel":"integer"},"type":{"type":"string","enum":["reasoning.summary","reasoning.encrypted","reasoning.text"],"uniqueKey":"choices.items.[INDEX].message.reasoning_details.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"summary":{"type":"string","uniqueKey":"choices.items.[INDEX].message.reasoning_details.items.[INDEX].summary","typeLabel":"string"},"text":{"type":"string","uniqueKey":"choices.items.[INDEX].message.reasoning_details.items.[INDEX].text","typeLabel":"string"},"signature":{"type":"string","uniqueKey":"choices.items.[INDEX].message.reasoning_details.items.[INDEX].signature","typeLabel":"string"},"data":{"type":"string","uniqueKey":"choices.items.[INDEX].message.reasoning_details.items.[INDEX].data","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].message.reasoning_details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices.items.[INDEX].message.reasoning_details","typeLabel":"object[]"},"annotations":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","uniqueKey":"choices.items.[INDEX].message.annotations.items.[INDEX].type","typeLabel":"string"},"url_citation":{"type":"object","properties":{"start_index":{"type":"integer","uniqueKey":"choices.items.[INDEX].message.annotations.items.[INDEX].url_citation.start_index","typeLabel":"integer"},"end_index":{"type":"integer","uniqueKey":"choices.items.[INDEX].message.annotations.items.[INDEX].url_citation.end_index","typeLabel":"integer"},"title":{"type":"string","uniqueKey":"choices.items.[INDEX].message.annotations.items.[INDEX].url_citation.title","typeLabel":"string"},"url":{"type":"string","uniqueKey":"choices.items.[INDEX].message.annotations.items.[INDEX].url_citation.url","typeLabel":"string"},"sources":{"type":"object","uniqueKey":"choices.items.[INDEX].message.annotations.items.[INDEX].url_citation.sources","typeLabel":"object"},"type":{"type":"string","uniqueKey":"choices.items.[INDEX].message.annotations.items.[INDEX].url_citation.type","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].message.annotations.items.[INDEX].url_citation","typeLabel":"object"}},"uniqueKey":"choices.items.[INDEX].message.annotations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices.items.[INDEX].message.annotations","typeLabel":"object[]"},"tool_calls":{"type":"array","items":{"type":"object","required":["function"],"properties":{"function":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX].function.name","typeLabel":"string"},"arguments":{"type":"string","uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX].function.arguments","typeLabel":"string"}},"isRequired":true,"uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX].function","typeLabel":"object"},"index":{"type":"integer","uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX].index","typeLabel":"integer"},"type":{"type":"string","uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX].type","typeLabel":"string"},"id":{"type":"string","uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX].id","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].message.tool_calls.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices.items.[INDEX].message.tool_calls","typeLabel":"object[]"}},"description":"For non-streaming chat completions","uniqueKey":"choices.items.[INDEX].message","typeLabel":"object"},"delta":{"type":"object","properties":{"role":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.role","typeLabel":"string"},"content":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.content","typeLabel":"string"},"refusal":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.refusal","typeLabel":"string"},"audio":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.audio.id","typeLabel":"string"},"data":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.audio.data","typeLabel":"string"},"expires_at":{"type":"integer","uniqueKey":"choices.items.[INDEX].delta.audio.expires_at","typeLabel":"integer"},"transcript":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.audio.transcript","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].delta.audio","typeLabel":"object"},"reasoning":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.reasoning","typeLabel":"string"},"reasoning_details":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.reasoning_details.items.[INDEX].id","typeLabel":"string"},"index":{"type":"integer","uniqueKey":"choices.items.[INDEX].delta.reasoning_details.items.[INDEX].index","typeLabel":"integer"},"type":{"type":"string","enum":["reasoning.summary","reasoning.encrypted","reasoning.text"],"uniqueKey":"choices.items.[INDEX].delta.reasoning_details.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"summary":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.reasoning_details.items.[INDEX].summary","typeLabel":"string"},"text":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.reasoning_details.items.[INDEX].text","typeLabel":"string"},"signature":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.reasoning_details.items.[INDEX].signature","typeLabel":"string"},"data":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.reasoning_details.items.[INDEX].data","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].delta.reasoning_details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices.items.[INDEX].delta.reasoning_details","typeLabel":"object[]"},"tool_calls":{"type":"array","items":{"type":"object","required":["function"],"properties":{"function":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.tool_calls.items.[INDEX].function.name","typeLabel":"string"},"arguments":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.tool_calls.items.[INDEX].function.arguments","typeLabel":"string"}},"isRequired":true,"uniqueKey":"choices.items.[INDEX].delta.tool_calls.items.[INDEX].function","typeLabel":"object"},"index":{"type":"integer","uniqueKey":"choices.items.[INDEX].delta.tool_calls.items.[INDEX].index","typeLabel":"integer"},"type":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.tool_calls.items.[INDEX].type","typeLabel":"string"},"id":{"type":"string","uniqueKey":"choices.items.[INDEX].delta.tool_calls.items.[INDEX].id","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].delta.tool_calls.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices.items.[INDEX].delta.tool_calls","typeLabel":"object[]"}},"description":"For streaming chat completions","uniqueKey":"choices.items.[INDEX].delta","typeLabel":"object"}},"uniqueKey":"choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices","typeLabel":"object[]"},"created":{"type":"integer","uniqueKey":"created","typeLabel":"integer"},"model":{"type":"string","uniqueKey":"model","typeLabel":"string"},"object":{"type":"string","uniqueKey":"object","typeLabel":"string"},"usage":{"type":"object","description":"Token usage information","properties":{"prompt_tokens":{"type":"integer","description":"Total input tokens including any prompt-cache tokens (read + write). Subtract prompt_tokens_details.cached_read_tokens and prompt_tokens_details.cached_write_tokens to get the non-cached portion.\n","uniqueKey":"usage.prompt_tokens","typeLabel":"integer"},"prompt_tokens_details":{"type":"object","properties":{"text_tokens":{"type":"integer","uniqueKey":"usage.prompt_tokens_details.text_tokens","typeLabel":"integer"},"audio_tokens":{"type":"integer","uniqueKey":"usage.prompt_tokens_details.audio_tokens","typeLabel":"integer"},"image_tokens":{"type":"integer","uniqueKey":"usage.prompt_tokens_details.image_tokens","typeLabel":"integer"},"cached_read_tokens":{"type":"integer","description":"Tokens served from the prompt cache (cache hit). These tokens are already included in prompt_tokens and are billed at the reduced cache-read rate. Populated for all providers that support prompt caching (Anthropic, Bedrock, OpenAI, Gemini, xAI, etc.).\n","uniqueKey":"usage.prompt_tokens_details.cached_read_tokens","typeLabel":"integer"},"cached_write_tokens":{"type":"integer","description":"Tokens written to the prompt cache on this request (cache creation / write). These tokens are already included in prompt_tokens and are billed at the cache-creation rate. Populated for providers that separately report cache write tokens (Anthropic, Bedrock).\n","uniqueKey":"usage.prompt_tokens_details.cached_write_tokens","typeLabel":"integer"}},"uniqueKey":"usage.prompt_tokens_details","typeLabel":"object"},"completion_tokens":{"type":"integer","description":"Number of output/completion tokens generated.","uniqueKey":"usage.completion_tokens","typeLabel":"integer"},"completion_tokens_details":{"type":"object","properties":{"text_tokens":{"type":"integer","uniqueKey":"usage.completion_tokens_details.text_tokens","typeLabel":"integer"},"accepted_prediction_tokens":{"type":"integer","uniqueKey":"usage.completion_tokens_details.accepted_prediction_tokens","typeLabel":"integer"},"audio_tokens":{"type":"integer","uniqueKey":"usage.completion_tokens_details.audio_tokens","typeLabel":"integer"},"citation_tokens":{"type":"integer","uniqueKey":"usage.completion_tokens_details.citation_tokens","typeLabel":"integer"},"num_search_queries":{"type":"integer","uniqueKey":"usage.completion_tokens_details.num_search_queries","typeLabel":"integer"},"reasoning_tokens":{"type":"integer","uniqueKey":"usage.completion_tokens_details.reasoning_tokens","typeLabel":"integer"},"image_tokens":{"type":"integer","uniqueKey":"usage.completion_tokens_details.image_tokens","typeLabel":"integer"},"rejected_prediction_tokens":{"type":"integer","uniqueKey":"usage.completion_tokens_details.rejected_prediction_tokens","typeLabel":"integer"}},"uniqueKey":"usage.completion_tokens_details","typeLabel":"object"},"total_tokens":{"type":"integer","uniqueKey":"usage.total_tokens","typeLabel":"integer"},"cost":{"type":"object","description":"Cost breakdown for the request","properties":{"input_tokens_cost":{"type":"number","uniqueKey":"usage.cost.input_tokens_cost","typeLabel":"number"},"output_tokens_cost":{"type":"number","uniqueKey":"usage.cost.output_tokens_cost","typeLabel":"number"},"reasoning_tokens_cost":{"type":"number","description":"Cost for reasoning/thinking tokens (reasoning models)","uniqueKey":"usage.cost.reasoning_tokens_cost","typeLabel":"number"},"citation_tokens_cost":{"type":"number","description":"Cost for citation tokens","uniqueKey":"usage.cost.citation_tokens_cost","typeLabel":"number"},"search_queries_cost":{"type":"number","description":"Cost for web search queries","uniqueKey":"usage.cost.search_queries_cost","typeLabel":"number"},"request_cost":{"type":"number","uniqueKey":"usage.cost.request_cost","typeLabel":"number"},"total_cost":{"type":"number","uniqueKey":"usage.cost.total_cost","typeLabel":"number"}},"uniqueKey":"usage.cost","typeLabel":"object"}},"uniqueKey":"usage","typeLabel":"object"},"extra_fields":{"type":"object","description":"Additional fields included in responses","properties":{"request_type":{"type":"string","description":"Type of request that was made","uniqueKey":"extra_fields.request_type","typeLabel":"string"},"provider":{"type":"string","description":"AI model provider identifier","enum":["openai","azure","anthropic","bedrock","cohere","vertex","vllm","mistral","ollama","groq","sgl","parasail","perplexity","replicate","cerebras","deepseek","gemini","openrouter","elevenlabs","huggingface","nebius","xai","runway","fireworks"],"uniqueKey":"extra_fields.provider","typeLabel":"enum\u003cstring>"},"model_requested":{"type":"string","description":"The model that was requested","uniqueKey":"extra_fields.model_requested","typeLabel":"string"},"model_deployment":{"type":"string","description":"The actual model deployment used","uniqueKey":"extra_fields.model_deployment","typeLabel":"string"},"latency":{"type":"integer","format":"int64","description":"Request latency in milliseconds","uniqueKey":"extra_fields.latency","typeLabel":"integer\u003cint64>"},"chunk_index":{"type":"integer","description":"Index of the chunk for streaming responses","uniqueKey":"extra_fields.chunk_index","typeLabel":"integer"},"raw_request":{"type":"object","description":"Raw request if enabled","uniqueKey":"extra_fields.raw_request","typeLabel":"object"},"raw_response":{"type":"object","description":"Raw response if enabled","uniqueKey":"extra_fields.raw_response","typeLabel":"object"},"cache_debug":{"type":"object","properties":{"cache_hit":{"type":"boolean","uniqueKey":"extra_fields.cache_debug.cache_hit","typeLabel":"boolean"},"cache_id":{"type":"string","uniqueKey":"extra_fields.cache_debug.cache_id","typeLabel":"string"},"hit_type":{"type":"string","uniqueKey":"extra_fields.cache_debug.hit_type","typeLabel":"string"},"requested_provider":{"type":"string","uniqueKey":"extra_fields.cache_debug.requested_provider","typeLabel":"string"},"requested_model":{"type":"string","uniqueKey":"extra_fields.cache_debug.requested_model","typeLabel":"string"},"provider_used":{"type":"string","uniqueKey":"extra_fields.cache_debug.provider_used","typeLabel":"string"},"model_used":{"type":"string","uniqueKey":"extra_fields.cache_debug.model_used","typeLabel":"string"},"input_tokens":{"type":"integer","uniqueKey":"extra_fields.cache_debug.input_tokens","typeLabel":"integer"},"threshold":{"type":"number","uniqueKey":"extra_fields.cache_debug.threshold","typeLabel":"number"},"similarity":{"type":"number","uniqueKey":"extra_fields.cache_debug.similarity","typeLabel":"number"}},"uniqueKey":"extra_fields.cache_debug","typeLabel":"object"}},"uniqueKey":"extra_fields","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","choices":[{"index":123,"finish_reason":"\u003cstring>","log_probs":{"content":[{"bytes":[123],"logprob":123,"token":"\u003cstring>","top_logprobs":[{"bytes":[123],"logprob":123,"token":"\u003cstring>"}]}],"refusal":[{"bytes":[123],"logprob":123,"token":"\u003cstring>"}],"text_offset":[123],"token_logprobs":[123],"tokens":["\u003cstring>"],"top_logprobs":[{}]},"text":"\u003cstring>","message":{"role":"assistant","name":"\u003cstring>","content":"\u003cstring>","tool_call_id":"\u003cstring>","refusal":"\u003cstring>","audio":{"id":"\u003cstring>","data":"\u003cstring>","expires_at":123,"transcript":"\u003cstring>"},"reasoning":"\u003cstring>","reasoning_details":[{"id":"\u003cstring>","index":123,"type":"reasoning.summary","summary":"\u003cstring>","text":"\u003cstring>","signature":"\u003cstring>","data":"\u003cstring>"}],"annotations":[{"type":"\u003cstring>","url_citation":{"start_index":123,"end_index":123,"title":"\u003cstring>","url":"\u003cstring>","sources":{},"type":"\u003cstring>"}}],"tool_calls":[{"function":{"name":"\u003cstring>","arguments":"\u003cstring>"},"index":123,"type":"\u003cstring>","id":"\u003cstring>"}]},"delta":{"role":"\u003cstring>","content":"\u003cstring>","refusal":"\u003cstring>","audio":{"id":"\u003cstring>","data":"\u003cstring>","expires_at":123,"transcript":"\u003cstring>"},"reasoning":"\u003cstring>","reasoning_details":[{"id":"\u003cstring>","index":123,"type":"reasoning.summary","summary":"\u003cstring>","text":"\u003cstring>","signature":"\u003cstring>","data":"\u003cstring>"}],"tool_calls":[{"function":{"name":"\u003cstring>","arguments":"\u003cstring>"},"index":123,"type":"\u003cstring>","id":"\u003cstring>"}]}}],"created":123,"model":"\u003cstring>","object":"\u003cstring>","usage":{"prompt_tokens":123,"prompt_tokens_details":{"text_tokens":123,"audio_tokens":123,"image_tokens":123,"cached_read_tokens":123,"cached_write_tokens":123},"completion_tokens":123,"completion_tokens_details":{"text_tokens":123,"accepted_prediction_tokens":123,"audio_tokens":123,"citation_tokens":123,"num_search_queries":123,"reasoning_tokens":123,"image_tokens":123,"rejected_prediction_tokens":123},"total_tokens":123,"cost":{"input_tokens_cost":123,"output_tokens_cost":123,"reasoning_tokens_cost":123,"citation_tokens_cost":123,"search_queries_cost":123,"request_cost":123,"total_cost":123}},"extra_fields":{"request_type":"\u003cstring>","provider":"openai","model_requested":"\u003cstring>","model_deployment":"\u003cstring>","latency":123,"chunk_index":123,"raw_request":{},"raw_response":{},"cache_debug":{"cache_hit":true,"cache_id":"\u003cstring>","hit_type":"\u003cstring>","requested_provider":"\u003cstring>","requested_model":"\u003cstring>","provider_used":"\u003cstring>","model_used":"\u003cstring>","input_tokens":123,"threshold":123,"similarity":123}}}}},"exampleType":"generated"}},"exampleType":"generated"},"19ee184d-f3ff-4cd2-8506-b07de3de9430":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","description":"Error response from Vikat","properties":{"event_id":{"type":"string","uniqueKey":"event_id","typeLabel":"string"},"type":{"type":"string","uniqueKey":"type","typeLabel":"string"},"is_vikat_error":{"type":"boolean","uniqueKey":"is_vikat_error","typeLabel":"boolean"},"status_code":{"type":"integer","uniqueKey":"status_code","typeLabel":"integer"},"error":{"type":"object","properties":{"type":{"type":"string","uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"event_id":{"type":"string","uniqueKey":"error.event_id","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"extra_fields":{"type":"object","properties":{"provider":{"type":"string","description":"AI model provider identifier","enum":["openai","azure","anthropic","bedrock","cohere","vertex","vllm","mistral","ollama","groq","sgl","parasail","perplexity","replicate","cerebras","deepseek","gemini","openrouter","elevenlabs","huggingface","nebius","xai","runway","fireworks"],"uniqueKey":"extra_fields.provider","typeLabel":"enum\u003cstring>"},"model_requested":{"type":"string","uniqueKey":"extra_fields.model_requested","typeLabel":"string"},"request_type":{"type":"string","uniqueKey":"extra_fields.request_type","typeLabel":"string"}},"uniqueKey":"extra_fields","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"event_id":"\u003cstring>","type":"\u003cstring>","is_vikat_error":true,"status_code":123,"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","param":"\u003cstring>","event_id":"\u003cstring>"},"extra_fields":{"provider":"openai","model_requested":"\u003cstring>","request_type":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"e6135882-eee8-439f-8c85-3f601ffa7125":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","description":"Error response from Vikat","properties":{"event_id":{"type":"string","uniqueKey":"event_id","typeLabel":"string"},"type":{"type":"string","uniqueKey":"type","typeLabel":"string"},"is_vikat_error":{"type":"boolean","uniqueKey":"is_vikat_error","typeLabel":"boolean"},"status_code":{"type":"integer","uniqueKey":"status_code","typeLabel":"integer"},"error":{"type":"object","properties":{"type":{"type":"string","uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"event_id":{"type":"string","uniqueKey":"error.event_id","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"extra_fields":{"type":"object","properties":{"provider":{"type":"string","description":"AI model provider identifier","enum":["openai","azure","anthropic","bedrock","cohere","vertex","vllm","mistral","ollama","groq","sgl","parasail","perplexity","replicate","cerebras","deepseek","gemini","openrouter","elevenlabs","huggingface","nebius","xai","runway","fireworks"],"uniqueKey":"extra_fields.provider","typeLabel":"enum\u003cstring>"},"model_requested":{"type":"string","uniqueKey":"extra_fields.model_requested","typeLabel":"string"},"request_type":{"type":"string","uniqueKey":"extra_fields.request_type","typeLabel":"string"}},"uniqueKey":"extra_fields","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"event_id":"\u003cstring>","type":"\u003cstring>","is_vikat_error":true,"status_code":123,"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","param":"\u003cstring>","event_id":"\u003cstring>"},"extra_fields":{"provider":"openai","model_requested":"\u003cstring>","request_type":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"6b1797f4-4e2d-4b80-85ba-feb7b3b035ee":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Bearer token authentication. Use your provider API key or Vikat authentication token.\nVirtual keys (prefixed with `sk-vk-`, or the legacy `sk-bf-`) can also be passed here.\n","scopes":[]}},"e0aa0da4-f000-4a01-9529-427ba8121a97":{"BasicAuth":{"type":"http","scheme":"basic","description":"Basic authentication using username and password.\n","scopes":[]}},"23921354-f273-424f-9321-0136293fae60":{"VirtualKeyAuth":{"type":"apiKey","in":"header","name":"x-vikat-vk","description":"Vikat Virtual Key for governance, routing, and access control. Supported on all inference endpoints (`/v1/*`, `/openai/*`, `/anthropic/*`, `/bedrock/*`, `/cohere/*`, `/genai/*`, `/langchain/*`, `/litellm/*`, `/pydanticai/*`, `/mcp`), not on management APIs (`/api/*`).\nExample: `sk-vk-*` prefixed keys (legacy `sk-bf-*` keys are still accepted).\n","scopes":[]}},"08879655-8a65-46ae-aa5c-a5a0a9b808a1":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key authentication via the `x-api-key` header.\nVirtual keys (prefixed with `sk-vk-`, or the legacy `sk-bf-`) can also be passed here.\n","scopes":[]}}},"servers":{"8951c53d-a6f0-474f-9a6d-17023ea6d3c7":{"url":"{baseUrl}","description":"Your Vikat instance","variables":{"baseUrl":{"default":"http://localhost:8080","description":"Base URL of your Vikat instance (e.g. https://vikat.mycompany.com)"}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Bearer token authentication. Use your provider API key or Vikat authentication token.\nVirtual keys (prefixed with `sk-vk-`, or the legacy `sk-bf-`) can also be passed here.\n","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer token authentication. Use your provider API key or Vikat authentication token.\nVirtual keys (prefixed with `sk-vk-`, or the legacy `sk-bf-`) can also be passed here.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"},{"schemes":[{"scheme":{"type":"http","scheme":"basic","description":"Basic authentication using username and password.\n","scopes":[]},"schema":{"title":"Basic Auth","type":"object","description":"Basic authentication using username and password.\n","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"BasicAuth","name":"Authorization"}],"title":"BasicAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-vikat-vk","description":"Vikat Virtual Key for governance, routing, and access control. Supported on all inference endpoints (`/v1/*`, `/openai/*`, `/anthropic/*`, `/bedrock/*`, `/cohere/*`, `/genai/*`, `/langchain/*`, `/litellm/*`, `/pydanticai/*`, `/mcp`), not on management APIs (`/api/*`).\nExample: `sk-vk-*` prefixed keys (legacy `sk-bf-*` keys are still accepted).\n","scopes":[]},"schema":{"title":"x-vikat-vk","type":"string","description":"Vikat Virtual Key for governance, routing, and access control. Supported on all inference endpoints (`/v1/*`, `/openai/*`, `/anthropic/*`, `/bedrock/*`, `/cohere/*`, `/genai/*`, `/langchain/*`, `/litellm/*`, `/pydanticai/*`, `/mcp`), not on management APIs (`/api/*`).\nExample: `sk-vk-*` prefixed keys (legacy `sk-bf-*` keys are still accepted).\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"VirtualKeyAuth","name":"x-vikat-vk"}],"title":"VirtualKeyAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key authentication via the `x-api-key` header.\nVirtual keys (prefixed with `sk-vk-`, or the legacy `sk-bf-`) can also be passed here.\n","scopes":[]},"schema":{"title":"x-api-key","type":"string","description":"API key authentication via the `x-api-key` header.\nVirtual keys (prefixed with `sk-vk-`, or the legacy `sk-bf-`) can also be passed here.\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi/openapi.json"},"subdomain":"vikat-ai","siteName":"Vikat","title":"Create chat completion (OpenAI format) - Vikat","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-25T19:22:24.920Z","originalFileLocation":"api-reference/openai-integration/create-chat-completion-openai-format.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=\"Creates a chat completion using OpenAI-compatible format. Supports streaming via SSE. Async inference: Send x-vikat-async: true to submit the request as a background job and receive a job ID immediately. Poll with x-vikat-async-id: to retrieve the result. When the job is still processing, the response will have an empty choices array. When completed, choices will contain the full result. See Async Inference for details. Note: This endpoint also works without the /v1 prefix (e.g., /openai/chat/completions).\">\u003cmeta data-mint-head name=\"application-name\" content=\"Vikat\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vikat-ai/emJQBbmxc0Co5JmP/_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/vikat-ai/emJQBbmxc0Co5JmP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vikat-ai/emJQBbmxc0Co5JmP/_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/vikat-ai/emJQBbmxc0Co5JmP/_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/vikat-ai/emJQBbmxc0Co5JmP/_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/vikat-ai/emJQBbmxc0Co5JmP/_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/vikat-ai/emJQBbmxc0Co5JmP/_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/vikat-ai/emJQBbmxc0Co5JmP/_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/vikat-ai/emJQBbmxc0Co5JmP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create chat completion (OpenAI format) - Vikat\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a chat completion using OpenAI-compatible format. Supports streaming via SSE. Async inference: Send x-vikat-async: true to submit the request as a background job and receive a job ID immediately. Poll with x-vikat-async-id: to retrieve the result. When the job is still processing, the response will have an empty choices array. When completed, choices will contain the full result. See Async Inference for details. Note: This endpoint also works without the /v1 prefix (e.g., /openai/chat/completions).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Vikat\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.vikat.ai/api-reference/openai-integration/create-chat-completion-openai-format\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vikat-ai.mintlify.site/_mintlify/api/og/v2?division=OpenAI+Integration\u0026amp;title=Create+chat+completion+%28OpenAI+format%29\u0026amp;description=Creates+a+chat+completion+using+OpenAI-compatible+format.%0ASupports+streaming+via+SSE.%0A%0A**Async+inference%3A**+Send+%60x-vikat-async%3A+true%60+to+submit+the+request+as+\u0026amp;theme=06807847904dd7332c4171c0\u0026amp;signature=2fbc3bf8e33bf80a0494b4be9ec4db24fc3c8743257b16863b5d7712085b4c8e\">\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 (OpenAI format) - Vikat\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a chat completion using OpenAI-compatible format. Supports streaming via SSE. Async inference: Send x-vikat-async: true to submit the request as a background job and receive a job ID immediately. Poll with x-vikat-async-id: to retrieve the result. When the job is still processing, the response will have an empty choices array. When completed, choices will contain the full result. See Async Inference for details. Note: This endpoint also works without the /v1 prefix (e.g., /openai/chat/completions).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vikat-ai.mintlify.site/_mintlify/api/og/v2?division=OpenAI+Integration\u0026amp;title=Create+chat+completion+%28OpenAI+format%29\u0026amp;description=Creates+a+chat+completion+using+OpenAI-compatible+format.%0ASupports+streaming+via+SSE.%0A%0A**Async+inference%3A**+Send+%60x-vikat-async%3A+true%60+to+submit+the+request+as+\u0026amp;theme=06807847904dd7332c4171c0\u0026amp;signature=2fbc3bf8e33bf80a0494b4be9ec4db24fc3c8743257b16863b5d7712085b4c8e\">\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/vikat-ai/emJQBbmxc0Co5JmP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Vikat\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0C3B43\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.vikat.ai/api-reference/openai-integration/create-chat-completion-openai-format\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/openai-integration/create-chat-completion-openai-format.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.vikat.ai/#organization\",\"name\":\"Vikat\",\"url\":\"https://docs.vikat.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vikat-ai/Xw_qzY8whhWmfPh3/media/vikat-logo.png?fit=max\u0026auto=format\u0026n=Xw_qzY8whhWmfPh3\u0026q=85\u0026s=1bce49f93b955ed9b64346a96466adfd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.vikat.ai#website\",\"name\":\"Vikat\",\"url\":\"https://docs.vikat.ai\",\"publisher\":{\"@id\":\"https://docs.vikat.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.vikat.ai/api-reference/openai-integration/create-chat-completion-openai-format#webpage\",\"url\":\"https://docs.vikat.ai/api-reference/openai-integration/create-chat-completion-openai-format\",\"name\":\"Create chat completion (OpenAI format)\",\"description\":\"Creates a chat completion using OpenAI-compatible format. Supports streaming via SSE. Async inference: Send x-vikat-async: true to submit the request as a background job and receive a job ID immediately. Poll with x-vikat-async-id: to retrieve the result. When the job is still processing, the response will have an empty choices array. When completed, choices will contain the full result. See Async Inference for details. Note: This endpoint also works without the /v1 prefix (e.g., /openai/chat/completions).\",\"dateModified\":\"2026-09-25T19:22:24.920Z\",\"isPartOf\":{\"@id\":\"https://docs.vikat.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.vikat.ai/api-reference/openai-integration/create-chat-completion-openai-format#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.vikat.ai/api-reference/openai-integration/create-chat-completion-openai-format#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.vikat.ai/api-reference/models/list-available-models\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create chat completion (OpenAI format)\",\"item\":\"https://docs.vikat.ai/api-reference/openai-integration/create-chat-completion-openai-format\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.vikat.ai/api-reference/openai-integration/create-chat-completion-openai-format#apireference\",\"headline\":\"Create chat completion (OpenAI format)\",\"name\":\"Create chat completion (OpenAI format)\",\"description\":\"Creates a chat completion using OpenAI-compatible format. Supports streaming via SSE. Async inference: Send x-vikat-async: true to submit the request as a background job and receive a job ID immediately. Poll with x-vikat-async-id: to retrieve the result. When the job is still processing, the response will have an empty choices array. When completed, choices will contain the full result. See Async Inference for details. Note: This endpoint also works without the /v1 prefix (e.g., /openai/chat/completions).\",\"url\":\"https://docs.vikat.ai/api-reference/openai-integration/create-chat-completion-openai-format\",\"mainEntityOfPage\":{\"@id\":\"https://docs.vikat.ai/api-reference/openai-integration/create-chat-completion-openai-format#webpage\"},\"dateModified\":\"2026-09-25T19:22:24.920Z\",\"publisher\":{\"@id\":\"https://docs.vikat.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.vikat.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Vikat\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Vikat","nav":{"global":{"anchors":[]},"tabs":[{"tab":"OSS","icon":"book-open-cover","pages":[{"title":"OSS","href":"/overview"}]},{"tab":"Enterprise","icon":"building","pages":[{"title":"Enterprise","href":"/enterprise/overview"}]},{"tab":"Edge","icon":"globe","groups":[{"group":"Overview","pages":[]},{"group":"Governance \u0026 Control","icon":"shield-halved","pages":[]},{"group":"Admin controls","icon":"sliders","pages":[]},{"group":"Deployment","icon":"cloud-arrow-up","pages":[]},{"group":"Reference","icon":"list","pages":[]}]},{"tab":"Integrations","icon":"plug","pages":[{"title":"Integrations","href":"/cli-agents/overview"}]},{"tab":"Deployment Guides","icon":"server","pages":[{"title":"Deployment Guides","href":"/deployment-guides/k8s"}]},{"tab":"API","icon":"code","groups":[{"group":"API Reference","pages":[{"group":"Models","pages":[{"title":"List available models","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/models","href":"/api-reference/models/list-available-models"}]},{"group":"Chat Completions","pages":[{"title":"Create a chat completion","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/chat/completions","href":"/api-reference/chat-completions/create-a-chat-completion"}]},{"group":"Text Completions","pages":[{"title":"Create a text completion","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/completions","href":"/api-reference/text-completions/create-a-text-completion"}]},{"group":"Responses","pages":[{"title":"Responses API over WebSocket","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/responses","href":"/api-reference/responses/responses-api-over-websocket"},{"title":"Create a response","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/responses","href":"/api-reference/responses/create-a-response"}]},{"group":"OCR","pages":[{"title":"Perform OCR","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/ocr","href":"/api-reference/ocr/perform-ocr"}]},{"group":"Rerank","pages":[{"title":"Rerank documents","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/rerank","href":"/api-reference/rerank/rerank-documents"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Create speech","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/audio/speech","href":"/api-reference/audio/create-speech"},{"title":"Create transcription","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/audio/transcriptions","href":"/api-reference/audio/create-transcription"}]},{"group":"Images","pages":[{"title":"Generate an image","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/images/generations","href":"/api-reference/images/generate-an-image"},{"title":"Edit an image","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/images/edits","href":"/api-reference/images/edit-an-image"},{"title":"Create Variation","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/images/variations","href":"/api-reference/images/create-variation"}]},{"group":"Videos","pages":[{"title":"List video generation jobs","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/videos","href":"/api-reference/videos/list-video-generation-jobs"},{"title":"Generate a video","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/videos","href":"/api-reference/videos/generate-a-video"},{"title":"Retrieve a video generation job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/videos/{video_id}","href":"/api-reference/videos/retrieve-a-video-generation-job"},{"title":"Delete a video generation job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /v1/videos/{video_id}","href":"/api-reference/videos/delete-a-video-generation-job"},{"title":"Download video content","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/videos/{video_id}/content","href":"/api-reference/videos/download-video-content"},{"title":"Remix a video","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/videos/{video_id}/remix","href":"/api-reference/videos/remix-a-video"}]},{"group":"Count Tokens","pages":[{"title":"Count tokens","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/responses/input_tokens","href":"/api-reference/count-tokens/count-tokens"}]},{"group":"Compaction","pages":[{"title":"Compact context","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/responses/compact","href":"/api-reference/compaction/compact-context"}]},{"group":"Batch","pages":[{"title":"List batch jobs","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/batches","href":"/api-reference/batch/list-batch-jobs"},{"title":"Create a batch job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/batches","href":"/api-reference/batch/create-a-batch-job"},{"title":"Retrieve a batch job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/batches/{batch_id}","href":"/api-reference/batch/retrieve-a-batch-job"},{"title":"Cancel a batch job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/batches/{batch_id}/cancel","href":"/api-reference/batch/cancel-a-batch-job"},{"title":"Get batch results","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/batches/{batch_id}/results","href":"/api-reference/batch/get-batch-results"}]},{"group":"Files","pages":[{"title":"List files","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/files","href":"/api-reference/files/list-files"},{"title":"Upload a file","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/files","href":"/api-reference/files/upload-a-file"},{"title":"Retrieve file metadata","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/files/{file_id}","href":"/api-reference/files/retrieve-file-metadata"},{"title":"Delete a file","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /v1/files/{file_id}","href":"/api-reference/files/delete-a-file"},{"title":"Download file content","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/files/{file_id}/content","href":"/api-reference/files/download-file-content"}]},{"group":"Containers","pages":[{"title":"List containers","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/containers","href":"/api-reference/containers/list-containers"},{"title":"Create a container","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/containers","href":"/api-reference/containers/create-a-container"},{"title":"Retrieve a container","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/containers/{container_id}","href":"/api-reference/containers/retrieve-a-container"},{"title":"Delete a container","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /v1/containers/{container_id}","href":"/api-reference/containers/delete-a-container"},{"title":"List files in a container","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/containers/{container_id}/files","href":"/api-reference/containers/list-files-in-a-container"},{"title":"Create a file in a container","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/containers/{container_id}/files","href":"/api-reference/containers/create-a-file-in-a-container"},{"title":"Retrieve a file from a container","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/containers/{container_id}/files/{file_id}","href":"/api-reference/containers/retrieve-a-file-from-a-container"},{"title":"Delete a file from a container","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /v1/containers/{container_id}/files/{file_id}","href":"/api-reference/containers/delete-a-file-from-a-container"},{"title":"Download file content from a container","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/containers/{container_id}/files/{file_id}/content","href":"/api-reference/containers/download-file-content-from-a-container"}]},{"group":"Async Jobs","pages":[{"title":"Create async chat completion","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/chat/completions","href":"/api-reference/async-jobs/create-async-chat-completion"},{"title":"Create async text completion","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/completions","href":"/api-reference/async-jobs/create-async-text-completion"},{"title":"Create async response","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/responses","href":"/api-reference/async-jobs/create-async-response"},{"title":"Create async embedding","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/embeddings","href":"/api-reference/async-jobs/create-async-embedding"},{"title":"Create async speech","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/audio/speech","href":"/api-reference/async-jobs/create-async-speech"},{"title":"Create async transcription","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/audio/transcriptions","href":"/api-reference/async-jobs/create-async-transcription"},{"title":"Create async image generation","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/images/generations","href":"/api-reference/async-jobs/create-async-image-generation"},{"title":"Create async image edit","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/images/edits","href":"/api-reference/async-jobs/create-async-image-edit"},{"title":"Create async image variation","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/images/variations","href":"/api-reference/async-jobs/create-async-image-variation"},{"title":"Get async chat completion job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/chat/completions/{job_id}","href":"/api-reference/async-jobs/get-async-chat-completion-job"},{"title":"Get async text completion job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/completions/{job_id}","href":"/api-reference/async-jobs/get-async-text-completion-job"},{"title":"Get async response job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/responses/{job_id}","href":"/api-reference/async-jobs/get-async-response-job"},{"title":"Get async embedding job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/embeddings/{job_id}","href":"/api-reference/async-jobs/get-async-embedding-job"},{"title":"Get async speech job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/audio/speech/{job_id}","href":"/api-reference/async-jobs/get-async-speech-job"},{"title":"Get async transcription job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/audio/transcriptions/{job_id}","href":"/api-reference/async-jobs/get-async-transcription-job"},{"title":"Get async image generation job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/images/generations/{job_id}","href":"/api-reference/async-jobs/get-async-image-generation-job"},{"title":"Get async image edit job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/images/edits/{job_id}","href":"/api-reference/async-jobs/get-async-image-edit-job"},{"title":"Get async image variation job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/images/variations/{job_id}","href":"/api-reference/async-jobs/get-async-image-variation-job"},{"title":"Create async rerank","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/rerank","href":"/api-reference/async-jobs/create-async-rerank"},{"title":"Get async rerank job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/rerank/{job_id}","href":"/api-reference/async-jobs/get-async-rerank-job"},{"title":"Create async OCR job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/ocr","href":"/api-reference/async-jobs/create-async-ocr-job"},{"title":"Get async OCR job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/ocr/{job_id}","href":"/api-reference/async-jobs/get-async-ocr-job"}]},{"group":"Realtime","pages":[{"title":"Realtime API WebSocket","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/realtime","href":"/api-reference/realtime/realtime-api-websocket"},{"title":"Realtime WebRTC SDP exchange","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/realtime/calls","href":"/api-reference/realtime/realtime-webrtc-sdp-exchange"},{"title":"Mint a realtime ephemeral client secret","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/realtime/client_secrets","href":"/api-reference/realtime/mint-a-realtime-ephemeral-client-secret"},{"title":"Mint a realtime session (legacy alias)","description":"Legacy alias for the realtime client-secret minting endpoint. Behaves\nidentically to `createRealtimeClientSecret` but uses the `sessions` route\nshape; provided for compatibility with older OpenAI Realtime client\nlibraries.\n","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/realtime/sessions","href":"/api-reference/realtime/mint-a-realtime-session-legacy-alias"}]},{"group":"OpenAI Integration","pages":[{"title":"Create chat completion (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/chat/completions","href":"/api-reference/openai-integration/create-chat-completion-openai-format"},{"title":"Create chat completion (Azure OpenAI)","description":"Creates a chat completion using Azure OpenAI deployment.\n","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/openai/deployments/{deployment-id}/chat/completions","href":"/api-reference/openai-integration/create-chat-completion-azure-openai"},{"title":"Create text completion (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/completions","href":"/api-reference/openai-integration/create-text-completion-openai-format"},{"title":"Create text completion (Azure OpenAI)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/openai/deployments/{deployment-id}/completions","href":"/api-reference/openai-integration/create-text-completion-azure-openai"},{"title":"WebSocket Responses (OpenAI alias)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/responses","href":"/api-reference/openai-integration/websocket-responses-openai-alias"},{"title":"Create response (OpenAI Responses API)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/responses","href":"/api-reference/openai-integration/create-response-openai-responses-api"},{"title":"Create response (Azure OpenAI)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/openai/deployments/{deployment-id}/responses","href":"/api-reference/openai-integration/create-response-azure-openai"},{"title":"Count input tokens","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/responses/input_tokens","href":"/api-reference/openai-integration/count-input-tokens"},{"title":"Compact context (OpenAI)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/responses/compact","href":"/api-reference/openai-integration/compact-context-openai"},{"title":"Create embeddings (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/embeddings","href":"/api-reference/openai-integration/create-embeddings-openai-format"},{"title":"Create embeddings (Azure OpenAI)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/openai/deployments/{deployment-id}/embeddings","href":"/api-reference/openai-integration/create-embeddings-azure-openai"},{"title":"Create speech (OpenAI TTS)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/audio/speech","href":"/api-reference/openai-integration/create-speech-openai-tts"},{"title":"Create speech (Azure OpenAI TTS)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/openai/deployments/{deployment-id}/audio/speech","href":"/api-reference/openai-integration/create-speech-azure-openai-tts"},{"title":"Create transcription (OpenAI Whisper)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/audio/transcriptions","href":"/api-reference/openai-integration/create-transcription-openai-whisper"},{"title":"Create transcription (Azure OpenAI)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/openai/deployments/{deployment-id}/audio/transcriptions","href":"/api-reference/openai-integration/create-transcription-azure-openai"},{"title":"List models (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/models","href":"/api-reference/openai-integration/list-models-openai-format"},{"title":"List models (Azure OpenAI)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/openai/deployments/{deployment-id}/models","href":"/api-reference/openai-integration/list-models-azure-openai"},{"title":"List batch jobs (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/batches","href":"/api-reference/openai-integration/list-batch-jobs-openai-format"},{"title":"Create batch job (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/batches","href":"/api-reference/openai-integration/create-batch-job-openai-format"},{"title":"Retrieve batch job (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/batches/{batch_id}","href":"/api-reference/openai-integration/retrieve-batch-job-openai-format"},{"title":"Cancel batch job (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/batches/{batch_id}/cancel","href":"/api-reference/openai-integration/cancel-batch-job-openai-format"},{"title":"Create image","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/images/generations","href":"/api-reference/openai-integration/create-image"},{"title":"Create image (Azure OpenAI)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/openai/deployments/{deployment-id}/images/generations","href":"/api-reference/openai-integration/create-image-azure-openai"},{"title":"List files (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/files","href":"/api-reference/openai-integration/list-files-openai-format"},{"title":"Upload file (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/files","href":"/api-reference/openai-integration/upload-file-openai-format"},{"title":"Retrieve file metadata (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/files/{file_id}","href":"/api-reference/openai-integration/retrieve-file-metadata-openai-format"},{"title":"Delete file (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /openai/v1/files/{file_id}","href":"/api-reference/openai-integration/delete-file-openai-format"},{"title":"Get file content (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/files/{file_id}/content","href":"/api-reference/openai-integration/get-file-content-openai-format"},{"title":"List containers (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/containers","href":"/api-reference/openai-integration/list-containers-openai-format"},{"title":"Create container (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/containers","href":"/api-reference/openai-integration/create-container-openai-format"},{"title":"Retrieve container (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/containers/{container_id}","href":"/api-reference/openai-integration/retrieve-container-openai-format"},{"title":"Delete container (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /openai/v1/containers/{container_id}","href":"/api-reference/openai-integration/delete-container-openai-format"},{"title":"List files in container (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/containers/{container_id}/files","href":"/api-reference/openai-integration/list-files-in-container-openai-format"},{"title":"Create file in container (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/containers/{container_id}/files","href":"/api-reference/openai-integration/create-file-in-container-openai-format"},{"title":"Retrieve file from container (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/containers/{container_id}/files/{file_id}","href":"/api-reference/openai-integration/retrieve-file-from-container-openai-format"},{"title":"Delete file from container (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /openai/v1/containers/{container_id}/files/{file_id}","href":"/api-reference/openai-integration/delete-file-from-container-openai-format"},{"title":"Get file content from container (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/containers/{container_id}/files/{file_id}/content","href":"/api-reference/openai-integration/get-file-content-from-container-openai-format"},{"title":"List video generations","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/videos","href":"/api-reference/openai-integration/list-video-generations"},{"title":"Create a video generation","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/videos","href":"/api-reference/openai-integration/create-a-video-generation"},{"title":"Retrieve a video generation","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/videos/{video_id}","href":"/api-reference/openai-integration/retrieve-a-video-generation"},{"title":"Delete a video generation","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /openai/v1/videos/{video_id}","href":"/api-reference/openai-integration/delete-a-video-generation"},{"title":"Download generated video content","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/videos/{video_id}/content","href":"/api-reference/openai-integration/download-generated-video-content"},{"title":"Remix an existing video","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/videos/{video_id}/remix","href":"/api-reference/openai-integration/remix-an-existing-video"},{"title":"WebSocket Realtime (OpenAI alias)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/realtime","href":"/api-reference/openai-integration/websocket-realtime-openai-alias"},{"title":"WebRTC Realtime SDP exchange (OpenAI alias)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/realtime/calls","href":"/api-reference/openai-integration/webrtc-realtime-sdp-exchange-openai-alias"},{"title":"Create realtime client secret (OpenAI alias)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/realtime/client_secrets","href":"/api-reference/openai-integration/create-realtime-client-secret-openai-alias"},{"title":"Create realtime session (OpenAI alias)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/realtime/sessions","href":"/api-reference/openai-integration/create-realtime-session-openai-alias"}]},{"group":"Anthropic Integration","pages":[{"title":"Create message (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /anthropic/v1/messages","href":"/api-reference/anthropic-integration/create-message-anthropic-format"},{"title":"Create message (Anthropic format) - wildcard","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /anthropic/v1/messages/{path}","href":"/api-reference/anthropic-integration/create-message-anthropic-format--wildcard"},{"title":"Create completion (Anthropic legacy format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /anthropic/v1/complete","href":"/api-reference/anthropic-integration/create-completion-anthropic-legacy-format"},{"title":"List models (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /anthropic/v1/models","href":"/api-reference/anthropic-integration/list-models-anthropic-format"},{"title":"Count tokens (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /anthropic/v1/messages/count_tokens","href":"/api-reference/anthropic-integration/count-tokens-anthropic-format"},{"title":"List batch jobs (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /anthropic/v1/messages/batches","href":"/api-reference/anthropic-integration/list-batch-jobs-anthropic-format"},{"title":"Create batch job (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /anthropic/v1/messages/batches","href":"/api-reference/anthropic-integration/create-batch-job-anthropic-format"},{"title":"Retrieve batch job (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /anthropic/v1/messages/batches/{batch_id}","href":"/api-reference/anthropic-integration/retrieve-batch-job-anthropic-format"},{"title":"Cancel batch job (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /anthropic/v1/messages/batches/{batch_id}/cancel","href":"/api-reference/anthropic-integration/cancel-batch-job-anthropic-format"},{"title":"Get batch results (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /anthropic/v1/messages/batches/{batch_id}/results","href":"/api-reference/anthropic-integration/get-batch-results-anthropic-format"},{"title":"List files (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /anthropic/v1/files","href":"/api-reference/anthropic-integration/list-files-anthropic-format"},{"title":"Upload file (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /anthropic/v1/files","href":"/api-reference/anthropic-integration/upload-file-anthropic-format"},{"title":"Get file content (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /anthropic/v1/files/{file_id}/content","href":"/api-reference/anthropic-integration/get-file-content-anthropic-format"},{"title":"Delete file (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /anthropic/v1/files/{file_id}","href":"/api-reference/anthropic-integration/delete-file-anthropic-format"}]},{"group":"GenAI Integration","pages":[{"title":"Generate content (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /genai/v1beta/models/{model}:generateContent","href":"/api-reference/genai-integration/generate-content-gemini-format"},{"title":"Stream generate content (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /genai/v1beta/models/{model}:streamGenerateContent","href":"/api-reference/genai-integration/stream-generate-content-gemini-format"},{"title":"Embed content (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /genai/v1beta/models/{model}:embedContent","href":"/api-reference/genai-integration/embed-content-gemini-format"},{"title":"Count tokens (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /genai/v1beta/models/{model}:countTokens","href":"/api-reference/genai-integration/count-tokens-gemini-format"},{"title":"Generate image (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /genai/v1beta/models/{model}:predict","href":"/api-reference/genai-integration/generate-image-gemini-format"},{"title":"List models (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /genai/v1beta/models","href":"/api-reference/genai-integration/list-models-gemini-format"},{"title":"Upload file (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /genai/upload/v1beta/files","href":"/api-reference/genai-integration/upload-file-gemini-format"},{"title":"List files (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /genai/v1beta/files","href":"/api-reference/genai-integration/list-files-gemini-format"},{"title":"Retrieve file (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /genai/v1beta/files/{file_id}","href":"/api-reference/genai-integration/retrieve-file-gemini-format"},{"title":"Delete file (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /genai/v1beta/files/{file_id}","href":"/api-reference/genai-integration/delete-file-gemini-format"},{"title":"List batch jobs (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /genai/v1beta/batches","href":"/api-reference/genai-integration/list-batch-jobs-gemini-format"},{"title":"Retrieve a batch job (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /genai/v1beta/batches/{batch_id}","href":"/api-reference/genai-integration/retrieve-a-batch-job-gemini-format"},{"title":"Cancel a batch job (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /genai/v1beta/batches/{batch_id}","href":"/api-reference/genai-integration/cancel-a-batch-job-gemini-format"},{"title":"Delete a batch job (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /genai/v1beta/batches/{batch_id}","href":"/api-reference/genai-integration/delete-a-batch-job-gemini-format"},{"title":"List cached content entries (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /genai/v1beta/cachedContents","href":"/api-reference/genai-integration/list-cached-content-entries-gemini-format"},{"title":"Create cached content (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /genai/v1beta/cachedContents","href":"/api-reference/genai-integration/create-cached-content-gemini-format"},{"title":"Retrieve cached content (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /genai/v1beta/cachedContents/{cached_id}","href":"/api-reference/genai-integration/retrieve-cached-content-gemini-format"},{"title":"Delete cached content (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /genai/v1beta/cachedContents/{cached_id}","href":"/api-reference/genai-integration/delete-cached-content-gemini-format"},{"title":"Update cached content (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json patch /genai/v1beta/cachedContents/{cached_id}","href":"/api-reference/genai-integration/update-cached-content-gemini-format"},{"title":"Rerank documents (Vertex Rank)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /genai/v1/rank","href":"/api-reference/genai-integration/rerank-documents-vertex-rank"},{"title":"Retrieve video generation operation (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /genai/v1beta/models/{model}/operations/{operation_id}","href":"/api-reference/genai-integration/retrieve-video-generation-operation-gemini-format"}]},{"group":"Bedrock Integration","pages":[{"title":"Converse with model (Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /bedrock/model/{modelId}/converse","href":"/api-reference/bedrock-integration/converse-with-model-bedrock-format"},{"title":"Stream converse with model (Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /bedrock/model/{modelId}/converse-stream","href":"/api-reference/bedrock-integration/stream-converse-with-model-bedrock-format"},{"title":"Invoke model (Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /bedrock/model/{modelId}/invoke","href":"/api-reference/bedrock-integration/invoke-model-bedrock-format"},{"title":"Invoke model with streaming (Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /bedrock/model/{modelId}/invoke-with-response-stream","href":"/api-reference/bedrock-integration/invoke-model-with-streaming-bedrock-format"},{"title":"Count tokens (Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /bedrock/model/{modelId}/count-tokens","href":"/api-reference/bedrock-integration/count-tokens-bedrock-format"},{"title":"Create batch inference job (Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /bedrock/model-invocation-job","href":"/api-reference/bedrock-integration/create-batch-inference-job-bedrock-format"},{"title":"List batch inference jobs (Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /bedrock/model-invocation-jobs","href":"/api-reference/bedrock-integration/list-batch-inference-jobs-bedrock-format"},{"title":"Retrieve batch inference job (Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /bedrock/model-invocation-job/{job_arn}","href":"/api-reference/bedrock-integration/retrieve-batch-inference-job-bedrock-format"},{"title":"Cancel batch inference job (Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /bedrock/model-invocation-job/{job_arn}/stop","href":"/api-reference/bedrock-integration/cancel-batch-inference-job-bedrock-format"},{"title":"S3-compatible ListObjectsV2","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /bedrock/files/{bucket}","href":"/api-reference/bedrock-integration/s3-compatible-listobjectsv2"},{"title":"S3-compatible GetObject","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /bedrock/files/{bucket}/{key}","href":"/api-reference/bedrock-integration/s3-compatible-getobject"},{"title":"S3-compatible PutObject","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /bedrock/files/{bucket}/{key}","href":"/api-reference/bedrock-integration/s3-compatible-putobject"},{"title":"S3-compatible DeleteObject","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /bedrock/files/{bucket}/{key}","href":"/api-reference/bedrock-integration/s3-compatible-deleteobject"},{"title":"S3-compatible HeadObject","deprecated":null,"version":null,"openapi":"/openapi/openapi.json head /bedrock/files/{bucket}/{key}","href":"/api-reference/bedrock-integration/s3-compatible-headobject"}]},{"group":"Cohere Integration","pages":[{"title":"Chat with model (Cohere v2 format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cohere/v2/chat","href":"/api-reference/cohere-integration/chat-with-model-cohere-v2-format"},{"title":"Create embeddings (Cohere v2 format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cohere/v2/embed","href":"/api-reference/cohere-integration/create-embeddings-cohere-v2-format"},{"title":"Rerank documents (Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cohere/v2/rerank","href":"/api-reference/cohere-integration/rerank-documents-cohere-format"},{"title":"Tokenize text (Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cohere/v1/tokenize","href":"/api-reference/cohere-integration/tokenize-text-cohere-format"}]},{"group":"Cursor Integration","pages":[{"title":"Cursor hybrid chat completions","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v1/chat/completions","href":"/api-reference/cursor-integration/cursor-hybrid-chat-completions"},{"title":"List models (Cursor)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /cursor/v1/models","href":"/api-reference/cursor-integration/list-models-cursor"},{"title":"Anthropic complete (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v1/complete","href":"/api-reference/cursor-integration/anthropic-complete-cursor-mount"},{"title":"Anthropic messages (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v1/messages","href":"/api-reference/cursor-integration/anthropic-messages-cursor-mount"},{"title":"Anthropic messages — wildcard (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v1/messages/{path}","href":"/api-reference/cursor-integration/anthropic-messages-—-wildcard-cursor-mount"},{"title":"Anthropic count tokens (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v1/messages/count_tokens","href":"/api-reference/cursor-integration/anthropic-count-tokens-cursor-mount"},{"title":"Gemini list models (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /cursor/v1beta/models","href":"/api-reference/cursor-integration/gemini-list-models-cursor-mount"},{"title":"Gemini model action (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v1beta/models/{model}","href":"/api-reference/cursor-integration/gemini-model-action-cursor-mount"},{"title":"Gemini video operation polling (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /cursor/v1beta/models/{model}/operations/{operation_id}","href":"/api-reference/cursor-integration/gemini-video-operation-polling-cursor-mount"},{"title":"Vertex rank (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v1/rank","href":"/api-reference/cursor-integration/vertex-rank-cursor-mount"},{"title":"Bedrock converse (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/model/{modelId}/converse","href":"/api-reference/cursor-integration/bedrock-converse-cursor-mount"},{"title":"Bedrock converse stream (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/model/{modelId}/converse-stream","href":"/api-reference/cursor-integration/bedrock-converse-stream-cursor-mount"},{"title":"Bedrock invoke (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/model/{modelId}/invoke","href":"/api-reference/cursor-integration/bedrock-invoke-cursor-mount"},{"title":"Bedrock invoke-with-response-stream (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/model/{modelId}/invoke-with-response-stream","href":"/api-reference/cursor-integration/bedrock-invoke-with-response-stream-cursor-mount"},{"title":"Bedrock rerank (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/rerank","href":"/api-reference/cursor-integration/bedrock-rerank-cursor-mount"},{"title":"Bedrock count tokens (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/model/{modelId}/count-tokens","href":"/api-reference/cursor-integration/bedrock-count-tokens-cursor-mount"},{"title":"Cohere chat (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v2/chat","href":"/api-reference/cursor-integration/cohere-chat-cursor-mount"},{"title":"Cohere embed (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v2/embed","href":"/api-reference/cursor-integration/cohere-embed-cursor-mount"},{"title":"Cohere rerank (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v2/rerank","href":"/api-reference/cursor-integration/cohere-rerank-cursor-mount"},{"title":"Cohere tokenize (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v1/tokenize","href":"/api-reference/cursor-integration/cohere-tokenize-cursor-mount"}]},{"group":"LiteLLM Integration","pages":[{"title":"Text completions (LiteLLM - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/v1/completions","href":"/api-reference/litellm-integration/text-completions-litellm--openai-format"},{"title":"Chat completions (LiteLLM - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/v1/chat/completions","href":"/api-reference/litellm-integration/chat-completions-litellm--openai-format"},{"title":"Create embeddings (LiteLLM - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/v1/embeddings","href":"/api-reference/litellm-integration/create-embeddings-litellm--openai-format"},{"title":"List models (LiteLLM - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /litellm/v1/models","href":"/api-reference/litellm-integration/list-models-litellm--openai-format"},{"title":"Create response (LiteLLM - OpenAI Responses API)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/v1/responses","href":"/api-reference/litellm-integration/create-response-litellm--openai-responses-api"},{"title":"Count input tokens (LiteLLM - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/v1/responses/input_tokens","href":"/api-reference/litellm-integration/count-input-tokens-litellm--openai-format"},{"title":"Create speech (LiteLLM - OpenAI TTS)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/v1/audio/speech","href":"/api-reference/litellm-integration/create-speech-litellm--openai-tts"},{"title":"Create transcription (LiteLLM - OpenAI Whisper)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/v1/audio/transcriptions","href":"/api-reference/litellm-integration/create-transcription-litellm--openai-whisper"},{"title":"Create message (LiteLLM - Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/anthropic/v1/messages","href":"/api-reference/litellm-integration/create-message-litellm--anthropic-format"},{"title":"List models (LiteLLM - Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /litellm/genai/v1beta/models","href":"/api-reference/litellm-integration/list-models-litellm--gemini-format"},{"title":"Generate content (LiteLLM - Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/genai/v1beta/models/{model}:generateContent","href":"/api-reference/litellm-integration/generate-content-litellm--gemini-format"},{"title":"Stream generate content (LiteLLM - Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/genai/v1beta/models/{model}:streamGenerateContent","href":"/api-reference/litellm-integration/stream-generate-content-litellm--gemini-format"},{"title":"Converse with model (LiteLLM - Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/bedrock/model/{modelId}/converse","href":"/api-reference/litellm-integration/converse-with-model-litellm--bedrock-format"},{"title":"Stream converse with model (LiteLLM - Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/bedrock/model/{modelId}/converse-stream","href":"/api-reference/litellm-integration/stream-converse-with-model-litellm--bedrock-format"},{"title":"Chat with model (LiteLLM - Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/cohere/v2/chat","href":"/api-reference/litellm-integration/chat-with-model-litellm--cohere-format"},{"title":"Create embeddings (LiteLLM - Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/cohere/v2/embed","href":"/api-reference/litellm-integration/create-embeddings-litellm--cohere-format"},{"title":"Tokenize text (LiteLLM - Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/cohere/v1/tokenize","href":"/api-reference/litellm-integration/tokenize-text-litellm--cohere-format"}]},{"group":"LangChain Integration","pages":[{"title":"Text completions (LangChain - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/v1/completions","href":"/api-reference/langchain-integration/text-completions-langchain--openai-format"},{"title":"Chat completions (LangChain - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/v1/chat/completions","href":"/api-reference/langchain-integration/chat-completions-langchain--openai-format"},{"title":"Create embeddings (LangChain - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/v1/embeddings","href":"/api-reference/langchain-integration/create-embeddings-langchain--openai-format"},{"title":"List models (LangChain - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /langchain/v1/models","href":"/api-reference/langchain-integration/list-models-langchain--openai-format"},{"title":"Create response (LangChain - OpenAI Responses API)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/v1/responses","href":"/api-reference/langchain-integration/create-response-langchain--openai-responses-api"},{"title":"Count input tokens (LangChain - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/v1/responses/input_tokens","href":"/api-reference/langchain-integration/count-input-tokens-langchain--openai-format"},{"title":"Create speech (LangChain - OpenAI TTS)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/v1/audio/speech","href":"/api-reference/langchain-integration/create-speech-langchain--openai-tts"},{"title":"Create transcription (LangChain - OpenAI Whisper)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/v1/audio/transcriptions","href":"/api-reference/langchain-integration/create-transcription-langchain--openai-whisper"},{"title":"Create message (LangChain - Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/anthropic/v1/messages","href":"/api-reference/langchain-integration/create-message-langchain--anthropic-format"},{"title":"Count tokens (LangChain - Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/anthropic/v1/messages/count_tokens","href":"/api-reference/langchain-integration/count-tokens-langchain--anthropic-format"},{"title":"List models (LangChain - Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /langchain/genai/v1beta/models","href":"/api-reference/langchain-integration/list-models-langchain--gemini-format"},{"title":"Generate content (LangChain - Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/genai/v1beta/models/{model}:generateContent","href":"/api-reference/langchain-integration/generate-content-langchain--gemini-format"},{"title":"Stream generate content (LangChain - Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/genai/v1beta/models/{model}:streamGenerateContent","href":"/api-reference/langchain-integration/stream-generate-content-langchain--gemini-format"},{"title":"Converse with model (LangChain - Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/bedrock/model/{modelId}/converse","href":"/api-reference/langchain-integration/converse-with-model-langchain--bedrock-format"},{"title":"Stream converse with model (LangChain - Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/bedrock/model/{modelId}/converse-stream","href":"/api-reference/langchain-integration/stream-converse-with-model-langchain--bedrock-format"},{"title":"Chat with model (LangChain - Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/cohere/v2/chat","href":"/api-reference/langchain-integration/chat-with-model-langchain--cohere-format"},{"title":"Create embeddings (LangChain - Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/cohere/v2/embed","href":"/api-reference/langchain-integration/create-embeddings-langchain--cohere-format"},{"title":"Tokenize text (LangChain - Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/cohere/v1/tokenize","href":"/api-reference/langchain-integration/tokenize-text-langchain--cohere-format"}]},{"group":"PydanticAI Integration","pages":[{"title":"Text completions (PydanticAI - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/v1/completions","href":"/api-reference/pydanticai-integration/text-completions-pydanticai--openai-format"},{"title":"Chat completions (PydanticAI - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/v1/chat/completions","href":"/api-reference/pydanticai-integration/chat-completions-pydanticai--openai-format"},{"title":"Create embeddings (PydanticAI - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/v1/embeddings","href":"/api-reference/pydanticai-integration/create-embeddings-pydanticai--openai-format"},{"title":"List models (PydanticAI - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /pydanticai/v1/models","href":"/api-reference/pydanticai-integration/list-models-pydanticai--openai-format"},{"title":"Create response (PydanticAI - OpenAI Responses API)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/v1/responses","href":"/api-reference/pydanticai-integration/create-response-pydanticai--openai-responses-api"},{"title":"Count input tokens (PydanticAI - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/v1/responses/input_tokens","href":"/api-reference/pydanticai-integration/count-input-tokens-pydanticai--openai-format"},{"title":"Create speech (PydanticAI - OpenAI TTS)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/v1/audio/speech","href":"/api-reference/pydanticai-integration/create-speech-pydanticai--openai-tts"},{"title":"Create transcription (PydanticAI - OpenAI Whisper)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/v1/audio/transcriptions","href":"/api-reference/pydanticai-integration/create-transcription-pydanticai--openai-whisper"},{"title":"Create message (PydanticAI - Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/anthropic/v1/messages","href":"/api-reference/pydanticai-integration/create-message-pydanticai--anthropic-format"},{"title":"List models (PydanticAI - Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /pydanticai/genai/v1beta/models","href":"/api-reference/pydanticai-integration/list-models-pydanticai--gemini-format"},{"title":"Generate content (PydanticAI - Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/genai/v1beta/models/{model}:generateContent","href":"/api-reference/pydanticai-integration/generate-content-pydanticai--gemini-format"},{"title":"Stream generate content (PydanticAI - Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/genai/v1beta/models/{model}:streamGenerateContent","href":"/api-reference/pydanticai-integration/stream-generate-content-pydanticai--gemini-format"},{"title":"Converse with model (PydanticAI - Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/bedrock/model/{modelId}/converse","href":"/api-reference/pydanticai-integration/converse-with-model-pydanticai--bedrock-format"},{"title":"Stream converse with model (PydanticAI - Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/bedrock/model/{modelId}/converse-stream","href":"/api-reference/pydanticai-integration/stream-converse-with-model-pydanticai--bedrock-format"},{"title":"Chat with model (PydanticAI - Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/cohere/v2/chat","href":"/api-reference/pydanticai-integration/chat-with-model-pydanticai--cohere-format"},{"title":"Create embeddings (PydanticAI - Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/cohere/v2/embed","href":"/api-reference/pydanticai-integration/create-embeddings-pydanticai--cohere-format"},{"title":"Tokenize text (PydanticAI - Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/cohere/v1/tokenize","href":"/api-reference/pydanticai-integration/tokenize-text-pydanticai--cohere-format"}]},{"group":"Health","pages":[{"title":"Health check","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /health","href":"/api-reference/health/health-check"}]},{"group":"Configuration","pages":[{"title":"Get configuration","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/config","href":"/api-reference/configuration/get-configuration"},{"title":"Update configuration","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/config","href":"/api-reference/configuration/update-configuration"},{"title":"Get version","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/version","href":"/api-reference/configuration/get-version"},{"title":"Get proxy configuration","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/proxy-config","href":"/api-reference/configuration/get-proxy-configuration"},{"title":"Update proxy configuration","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/proxy-config","href":"/api-reference/configuration/update-proxy-configuration"},{"title":"Force pricing sync","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/pricing/force-sync","href":"/api-reference/configuration/force-pricing-sync"}]},{"group":"Providers","pages":[{"title":"Refresh live model lists","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/models/refresh","href":"/api-reference/providers/refresh-live-model-lists"},{"title":"List all providers","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/providers","href":"/api-reference/providers/list-all-providers"},{"title":"Add a new provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/providers","href":"/api-reference/providers/add-a-new-provider"},{"title":"Get a specific provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/providers/{provider}","href":"/api-reference/providers/get-a-specific-provider"},{"title":"Update a provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/providers/{provider}","href":"/api-reference/providers/update-a-provider"},{"title":"Delete a provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/providers/{provider}","href":"/api-reference/providers/delete-a-provider"},{"title":"List keys for a provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/providers/{provider}/keys","href":"/api-reference/providers/list-keys-for-a-provider"},{"title":"Create a key for a provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/providers/{provider}/keys","href":"/api-reference/providers/create-a-key-for-a-provider"},{"title":"Get a specific key for a provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/providers/{provider}/keys/{key_id}","href":"/api-reference/providers/get-a-specific-key-for-a-provider"},{"title":"Update a key for a provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/providers/{provider}/keys/{key_id}","href":"/api-reference/providers/update-a-key-for-a-provider"},{"title":"Delete a key from a provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/providers/{provider}/keys/{key_id}","href":"/api-reference/providers/delete-a-key-from-a-provider"},{"title":"List all keys","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/keys","href":"/api-reference/providers/list-all-keys"},{"title":"List models","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/models","href":"/api-reference/providers/list-models"},{"title":"List model details","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/models/details","href":"/api-reference/providers/list-model-details"},{"title":"Get model parameters","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/models/parameters","href":"/api-reference/providers/get-model-parameters"},{"title":"List base models","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/models/base","href":"/api-reference/providers/list-base-models"}]},{"group":"Session","pages":[{"title":"Login","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/session/login","href":"/api-reference/session/login"},{"title":"Logout","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/session/logout","href":"/api-reference/session/logout"},{"title":"Check if authentication is enabled","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/session/is-auth-enabled","href":"/api-reference/session/check-if-authentication-is-enabled"},{"title":"Issue WebSocket ticket","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/session/ws-ticket","href":"/api-reference/session/issue-websocket-ticket"}]},{"group":"Plugins","pages":[{"title":"List all plugins","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/plugins","href":"/api-reference/plugins/list-all-plugins"},{"title":"Create a new plugin","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/plugins","href":"/api-reference/plugins/create-a-new-plugin"},{"title":"List built-in plugin names","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/plugins/builtins","href":"/api-reference/plugins/list-built-in-plugin-names"},{"title":"Get a specific plugin","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/plugins/{name}","href":"/api-reference/plugins/get-a-specific-plugin"},{"title":"Update a plugin","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/plugins/{name}","href":"/api-reference/plugins/update-a-plugin"},{"title":"Delete a plugin","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/plugins/{name}","href":"/api-reference/plugins/delete-a-plugin"}]},{"group":"MCP","pages":[{"title":"Execute MCP tool","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/mcp/tool/execute","href":"/api-reference/mcp/execute-mcp-tool"},{"title":"List MCP clients","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/mcp/clients","href":"/api-reference/mcp/list-mcp-clients"},{"title":"Add MCP client","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/mcp/client","href":"/api-reference/mcp/add-mcp-client"},{"title":"Edit MCP client","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/mcp/client/{id}","href":"/api-reference/mcp/edit-mcp-client"},{"title":"Remove MCP client","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/mcp/client/{id}","href":"/api-reference/mcp/remove-mcp-client"},{"title":"Reconnect MCP client","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/mcp/client/{id}/reconnect","href":"/api-reference/mcp/reconnect-mcp-client"},{"title":"Complete MCP client OAuth flow","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/mcp/client/{id}/complete-oauth","href":"/api-reference/mcp/complete-mcp-client-oauth-flow"},{"title":"List MCP sessions","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/mcp/sessions","href":"/api-reference/mcp/list-mcp-sessions"},{"title":"Revoke an MCP session","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/mcp/sessions/{id}","href":"/api-reference/mcp/revoke-an-mcp-session"},{"title":"Re-authenticate or edit an MCP session","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/mcp/sessions/{id}/reauth","href":"/api-reference/mcp/re-authenticate-or-edit-an-mcp-session"},{"title":"Get per-user-headers submission flow","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/mcp/per-user-headers/flows/{id}","href":"/api-reference/mcp/get-per-user-headers-submission-flow"},{"title":"Submit per-user-headers values","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/mcp/per-user-headers/flows/{id}","href":"/api-reference/mcp/submit-per-user-headers-values"},{"title":"Revoke a per-user-headers credential","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/mcp/per-user-headers/credential/{id}","href":"/api-reference/mcp/revoke-a-per-user-headers-credential"}]},{"group":"OAuth","pages":[{"title":"Get per-user OAuth flow detail","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/oauth/per-user/flows/{id}","href":"/api-reference/oauth/get-per-user-oauth-flow-detail"},{"title":"Start the upstream OAuth authorization for a pending flow","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/oauth/per-user/flows/{id}/start","href":"/api-reference/oauth/start-the-upstream-oauth-authorization-for-a-pending-flow"},{"title":"OAuth callback endpoint","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/oauth/callback","href":"/api-reference/oauth/oauth-callback-endpoint"},{"title":"Get OAuth config status","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/oauth/config/{id}/status","href":"/api-reference/oauth/get-oauth-config-status"},{"title":"Revoke OAuth config","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/oauth/config/{id}","href":"/api-reference/oauth/revoke-oauth-config"}]},{"group":"Governance","pages":[{"title":"List virtual keys","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/virtual-keys","href":"/api-reference/governance/list-virtual-keys"},{"title":"Create virtual key","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/governance/virtual-keys","href":"/api-reference/governance/create-virtual-key"},{"title":"Get virtual key quota","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/virtual-keys/quota","href":"/api-reference/governance/get-virtual-key-quota"},{"title":"Get virtual key","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/virtual-keys/{vk_id}","href":"/api-reference/governance/get-virtual-key"},{"title":"Update virtual key","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/governance/virtual-keys/{vk_id}","href":"/api-reference/governance/update-virtual-key"},{"title":"Delete virtual key","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/governance/virtual-keys/{vk_id}","href":"/api-reference/governance/delete-virtual-key"},{"title":"List teams","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/teams","href":"/api-reference/governance/list-teams"},{"title":"Create team","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/governance/teams","href":"/api-reference/governance/create-team"},{"title":"Get team","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/teams/{team_id}","href":"/api-reference/governance/get-team"},{"title":"Update team","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/governance/teams/{team_id}","href":"/api-reference/governance/update-team"},{"title":"Delete team","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/governance/teams/{team_id}","href":"/api-reference/governance/delete-team"},{"title":"List customers","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/customers","href":"/api-reference/governance/list-customers"},{"title":"Create customer","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/governance/customers","href":"/api-reference/governance/create-customer"},{"title":"Get customer","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/customers/{customer_id}","href":"/api-reference/governance/get-customer"},{"title":"Update customer","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/governance/customers/{customer_id}","href":"/api-reference/governance/update-customer"},{"title":"Delete customer","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/governance/customers/{customer_id}","href":"/api-reference/governance/delete-customer"},{"title":"List business units","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/business-units","href":"/api-reference/governance/list-business-units"},{"title":"Create business unit","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/governance/business-units","href":"/api-reference/governance/create-business-unit"},{"title":"Get business unit","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/business-units/{id}","href":"/api-reference/governance/get-business-unit"},{"title":"Delete business unit","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/governance/business-units/{id}","href":"/api-reference/governance/delete-business-unit"},{"title":"List budgets","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/budgets","href":"/api-reference/governance/list-budgets"},{"title":"List rate limits","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/rate-limits","href":"/api-reference/governance/list-rate-limits"},{"title":"List routing rules","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/routing-rules","href":"/api-reference/governance/list-routing-rules"},{"title":"Create routing rule","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/governance/routing-rules","href":"/api-reference/governance/create-routing-rule"},{"title":"Get routing rule","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/routing-rules/{rule_id}","href":"/api-reference/governance/get-routing-rule"},{"title":"Update routing rule","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/governance/routing-rules/{rule_id}","href":"/api-reference/governance/update-routing-rule"},{"title":"Delete routing rule","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/governance/routing-rules/{rule_id}","href":"/api-reference/governance/delete-routing-rule"},{"title":"List model limits","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/model-configs","href":"/api-reference/governance/list-model-limits"},{"title":"Create model config","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/governance/model-configs","href":"/api-reference/governance/create-model-config"},{"title":"Get model config","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/model-configs/{mc_id}","href":"/api-reference/governance/get-model-config"},{"title":"Update model config","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/governance/model-configs/{mc_id}","href":"/api-reference/governance/update-model-config"},{"title":"Delete model config","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/governance/model-configs/{mc_id}","href":"/api-reference/governance/delete-model-config"},{"title":"List provider governance","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/providers","href":"/api-reference/governance/list-provider-governance"},{"title":"Update provider governance","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/governance/providers/{provider_name}","href":"/api-reference/governance/update-provider-governance"},{"title":"Delete provider governance","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/governance/providers/{provider_name}","href":"/api-reference/governance/delete-provider-governance"},{"title":"List pricing overrides","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/pricing-overrides","href":"/api-reference/governance/list-pricing-overrides"},{"title":"Create pricing override","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/governance/pricing-overrides","href":"/api-reference/governance/create-pricing-override"},{"title":"Update pricing override","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/governance/pricing-overrides/{id}","href":"/api-reference/governance/update-pricing-override"},{"title":"Delete pricing override","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/governance/pricing-overrides/{id}","href":"/api-reference/governance/delete-pricing-override"},{"title":"Get complexity analyzer config","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/complexity-analyzer-config","href":"/api-reference/governance/get-complexity-analyzer-config"},{"title":"Update complexity analyzer config","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/governance/complexity-analyzer-config","href":"/api-reference/governance/update-complexity-analyzer-config"},{"title":"Reset complexity analyzer config","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/governance/complexity-analyzer-config/reset","href":"/api-reference/governance/reset-complexity-analyzer-config"}]},{"group":"Logging","pages":[{"title":"Get logs","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs","href":"/api-reference/logging/get-logs"},{"title":"Delete logs","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/logs","href":"/api-reference/logging/delete-logs"},{"title":"Get a single log entry","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/{id}","href":"/api-reference/logging/get-a-single-log-entry"},{"title":"Get logs for a session","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/sessions/{session_id}","href":"/api-reference/logging/get-logs-for-a-session"},{"title":"Get aggregate totals for a session","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/sessions/{session_id}/summary","href":"/api-reference/logging/get-aggregate-totals-for-a-session"},{"title":"Get log statistics","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/stats","href":"/api-reference/logging/get-log-statistics"},{"title":"Get request count histogram","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram","href":"/api-reference/logging/get-request-count-histogram"},{"title":"Get token usage histogram","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram/tokens","href":"/api-reference/logging/get-token-usage-histogram"},{"title":"Get cost histogram","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram/cost","href":"/api-reference/logging/get-cost-histogram"},{"title":"Get model usage histogram","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram/models","href":"/api-reference/logging/get-model-usage-histogram"},{"title":"Get latency histogram","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram/latency","href":"/api-reference/logging/get-latency-histogram"},{"title":"Get cost histogram by provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram/cost/by-provider","href":"/api-reference/logging/get-cost-histogram-by-provider"},{"title":"Get token histogram by provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram/tokens/by-provider","href":"/api-reference/logging/get-token-histogram-by-provider"},{"title":"Get latency histogram by provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram/latency/by-provider","href":"/api-reference/logging/get-latency-histogram-by-provider"},{"title":"Get cost histogram by dimension","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram/cost/by-dimension","href":"/api-reference/logging/get-cost-histogram-by-dimension"},{"title":"Get token histogram by dimension","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram/tokens/by-dimension","href":"/api-reference/logging/get-token-histogram-by-dimension"},{"title":"Get latency histogram by dimension","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram/latency/by-dimension","href":"/api-reference/logging/get-latency-histogram-by-dimension"},{"title":"Get dropped requests count","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/dropped","href":"/api-reference/logging/get-dropped-requests-count"},{"title":"Get available filter data","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/filterdata","href":"/api-reference/logging/get-available-filter-data"},{"title":"Get model usage rankings","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/rankings","href":"/api-reference/logging/get-model-usage-rankings"},{"title":"Get consolidated dashboard data","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/dashboard","href":"/api-reference/logging/get-consolidated-dashboard-data"},{"title":"Recalculate log costs","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/logs/recalculate-cost","href":"/api-reference/logging/recalculate-log-costs"},{"title":"Get MCP tool logs","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/mcp-logs","href":"/api-reference/logging/get-mcp-tool-logs"},{"title":"Delete MCP tool logs","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/mcp-logs","href":"/api-reference/logging/delete-mcp-tool-logs"},{"title":"Get MCP tool log by ID","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/mcp-logs/{id}","href":"/api-reference/logging/get-mcp-tool-log-by-id"},{"title":"Get MCP tool log statistics","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/mcp-logs/stats","href":"/api-reference/logging/get-mcp-tool-log-statistics"},{"title":"Get available MCP log filter data","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/mcp-logs/filterdata","href":"/api-reference/logging/get-available-mcp-log-filter-data"},{"title":"Get MCP tool call volume histogram","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/mcp-logs/histogram","href":"/api-reference/logging/get-mcp-tool-call-volume-histogram"},{"title":"Get MCP cost histogram","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/mcp-logs/histogram/cost","href":"/api-reference/logging/get-mcp-cost-histogram"},{"title":"Get top MCP tools by call count","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/mcp-logs/histogram/top-tools","href":"/api-reference/logging/get-top-mcp-tools-by-call-count"}]},{"group":"Prompt Repository","pages":[{"title":"List folders","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/prompt-repo/folders","href":"/api-reference/prompt-repository/list-folders"},{"title":"Create folder","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/prompt-repo/folders","href":"/api-reference/prompt-repository/create-folder"},{"title":"Get folder","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/prompt-repo/folders/{id}","href":"/api-reference/prompt-repository/get-folder"},{"title":"Update folder","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/prompt-repo/folders/{id}","href":"/api-reference/prompt-repository/update-folder"},{"title":"Delete folder","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/prompt-repo/folders/{id}","href":"/api-reference/prompt-repository/delete-folder"},{"title":"List prompts","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/prompt-repo/prompts","href":"/api-reference/prompt-repository/list-prompts"},{"title":"Create prompt","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/prompt-repo/prompts","href":"/api-reference/prompt-repository/create-prompt"},{"title":"Get prompt","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/prompt-repo/prompts/{id}","href":"/api-reference/prompt-repository/get-prompt"},{"title":"Update prompt","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/prompt-repo/prompts/{id}","href":"/api-reference/prompt-repository/update-prompt"},{"title":"Delete prompt","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/prompt-repo/prompts/{id}","href":"/api-reference/prompt-repository/delete-prompt"},{"title":"List prompt versions","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/prompt-repo/prompts/{id}/versions","href":"/api-reference/prompt-repository/list-prompt-versions"},{"title":"Create prompt version","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/prompt-repo/prompts/{id}/versions","href":"/api-reference/prompt-repository/create-prompt-version"},{"title":"Get prompt version","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/prompt-repo/versions/{id}","href":"/api-reference/prompt-repository/get-prompt-version"},{"title":"Delete prompt version","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/prompt-repo/versions/{id}","href":"/api-reference/prompt-repository/delete-prompt-version"},{"title":"List prompt sessions","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/prompt-repo/prompts/{id}/sessions","href":"/api-reference/prompt-repository/list-prompt-sessions"},{"title":"Create prompt session","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/prompt-repo/prompts/{id}/sessions","href":"/api-reference/prompt-repository/create-prompt-session"},{"title":"Get prompt session","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/prompt-repo/sessions/{id}","href":"/api-reference/prompt-repository/get-prompt-session"},{"title":"Update prompt session","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/prompt-repo/sessions/{id}","href":"/api-reference/prompt-repository/update-prompt-session"},{"title":"Delete prompt session","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/prompt-repo/sessions/{id}","href":"/api-reference/prompt-repository/delete-prompt-session"},{"title":"Rename prompt session","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/prompt-repo/sessions/{id}/rename","href":"/api-reference/prompt-repository/rename-prompt-session"},{"title":"Commit session as version","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/prompt-repo/sessions/{id}/commit","href":"/api-reference/prompt-repository/commit-session-as-version"}]},{"group":"Skills","pages":[{"title":"Upload skill file","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/skills/files/upload","href":"/api-reference/skills/upload-skill-file"},{"title":"Clean up orphan skill files","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/skills/files/orphans","href":"/api-reference/skills/clean-up-orphan-skill-files"},{"title":"Get all-skills version","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/skills/all/version","href":"/api-reference/skills/get-all-skills-version"},{"title":"Bump all-skills version","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/skills/all/version","href":"/api-reference/skills/bump-all-skills-version"},{"title":"List skills","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/skills","href":"/api-reference/skills/list-skills"},{"title":"Create skill","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/skills","href":"/api-reference/skills/create-skill"},{"title":"Get skill","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/skills/{id}","href":"/api-reference/skills/get-skill"},{"title":"Update skill","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/skills/{id}","href":"/api-reference/skills/update-skill"},{"title":"Delete skill","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/skills/{id}","href":"/api-reference/skills/delete-skill"},{"title":"List skill versions","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/skills/{id}/versions","href":"/api-reference/skills/list-skill-versions"},{"title":"Shift served skill version","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/skills/{id}/shift-version","href":"/api-reference/skills/shift-served-skill-version"},{"title":"Get Claude Code skills marketplace","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/skills/serve/claude-code/.claude-plugin/marketplace.json","href":"/api-reference/skills/get-claude-code-skills-marketplace"},{"title":"Get Codex skills marketplace JSON","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/skills/serve/codex/.agents/plugins/marketplace.json","href":"/api-reference/skills/get-codex-skills-marketplace-json"},{"title":"Download all skills as ZIP","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/skills/serve/all/download.zip","href":"/api-reference/skills/download-all-skills-as-zip"},{"title":"Download skill as ZIP","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/skills/serve/{skill-name}/download.zip","href":"/api-reference/skills/download-skill-as-zip"},{"title":"Download skill file","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/skills/serve/{skill-name}/files/{filepath}","href":"/api-reference/skills/download-skill-file"}]},{"group":"Cache","pages":[{"title":"Clear cache entry by cache ID","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/cache/clear/{cacheId}","href":"/api-reference/cache/clear-cache-entry-by-cache-id"},{"title":"Clear cache by cache key","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/cache/clear-by-key/{cacheKey}","href":"/api-reference/cache/clear-cache-by-cache-key"}]},{"group":"Infrastructure","pages":[{"title":"WebSocket connection","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /ws","href":"/api-reference/infrastructure/websocket-connection"},{"title":"MCP protocol SSE stream","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /mcp","href":"/api-reference/infrastructure/mcp-protocol-sse-stream"},{"title":"MCP protocol message","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /mcp","href":"/api-reference/infrastructure/mcp-protocol-message"},{"title":"Prometheus metrics","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /metrics","href":"/api-reference/infrastructure/prometheus-metrics"}]}]}]},{"tab":"Contributing","icon":"code-pull-request","pages":[{"title":"Contributing","href":"/contributing/setting-up-repo"}]},{"tab":"Benchmarks","icon":"chart-line","pages":[{"title":"Benchmarks","href":"/benchmarking/getting-started"}]}]},"basePath":"","title":"Create chat completion (OpenAI format) - Vikat","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CBsVopKK.js","utils-DZAk68jJ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D32AYZrP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D_A5_cny.js","snippetPresets-xNRfS9th.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BIB25-tq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CydJ4w4j.js","shallow-CYPBeQSG.js","getApiPlaygroundDisplay-A5xJVBOu.js","CodeSnippet-BVRTgi3m.js","CodeSnippets-DjD6BSlt.js","Page-Dr40SSJq.js","getPastedJson-D4V4JyrR.js","icon-uhcnG22T.js","MethodPill-CM-ZQdGH.js","DuplicateIcon-B_WnOiNf.js","createIcon-CJsb8utt.js","DynamicMarkdown-D-2HDKEp.js","SectionHeading-KP5xmMgQ.js","axios-vUo_bRtp.js","Markdown-D_k0dg6k.js","clsx-DK3K4Z1S.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DE3EVdvd.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-fN9H9n9g.js"]}