OpenAI-compatible Responses API (client.responses.create)
Drop-in for POST https://api.openai.com/v1/responses. Point your OpenAI SDK’s
baseURL at https://api.verlon.ai/v1 and pass your endpoint’s name as
model (support-summarizer, or support-bot/triage for a job). No Verlon
header is needed. When the endpoint’s model is OpenAI’s, the request and response bodies match OpenAI’s
Responses API verbatim — the Agents SDK and multi-turn tool loops with
encrypted reasoning replay work unmodified.It serves every provider, not only OpenAI. An endpoint whose model is on
Anthropic, Google, Mistral, Fireworks, xAI, Meta or DeepSeek gets your Responses request
translated into that provider’s API, and its answer back as a Responses body —
streamed as Responses events when stream is true. See
Any SDK, any model for what crosses
over, what the gateway serves itself, and the response headers that say so.
Request
POST /v1/responses
Field
Type
Notes
model
string
Your endpoint’s name, or endpoint/job for a job. The endpoint’s model serves, and the answer’s x-verlon-served-model header names it. A name that matches none of your endpoints returns 404no_endpoint_named, listing your endpoints.
input
string | item[]
A prompt string, or an array of Responses items: message, function_call, function_call_output, reasoning.
instructions
string
System prompt.
tools
object[]
Flattened function tools ({ type: 'function', name, parameters }).
tool_choice
string | object
auto / required / none / { type: 'function', name }.
store: true, previous_response_id and item_reference input items are
not supported (Verlon is stateless — zero data retention by default).
Send prior reasoning and function_call items back in full in input each
turn instead. Each returns 400 with a message naming the fix. With the
Vercel AI SDK, set providerOptions: { openai: { store: false } }: without
it, the SDK sends earlier turns back as item_references.
Reasoning replay
For OpenAI reasoning models, Verlon automatically requests
include: ['reasoning.encrypted_content'] and passes the encrypted reasoning
through untouched. To continue a tool loop, send the prior turn’s reasoning
and function_call output items back at the front of input, followed by your
function_call_output:
reasoning items and their encrypted_content are OpenAI’s: another
provider has no equivalent, so they are left out of the translated request and
named in x-verlon-dropped. The rest of the turn — messages,
function_call and function_call_output items — crosses over.
A field the provider has no equivalent for is dropped and named in
x-verlon-dropped, never silently ignored.
Restrictions
store: true, previous_response_id and item_reference input items
return 400 on every provider (see the warning above).
background: true is passed to OpenAI as sent; other providers run in the
foreground, so it is dropped there and named in x-verlon-dropped.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Verlon AI","colors":{"primary":"#3b82f6","light":"#60a5fa","dark":"#2563eb"},"logo":{"light":"https://mintcdn.com/layerai/JIGrehODe-mxLwco/assets/branding/wordmark/wordmark-light-transparent.png?fit=max\u0026auto=format\u0026n=JIGrehODe-mxLwco\u0026q=85\u0026s=8b74186109f9c8f000588d8023f16c4a","dark":"https://mintcdn.com/layerai/JIGrehODe-mxLwco/assets/branding/wordmark/wordmark-dark-transparent.png?fit=max\u0026auto=format\u0026n=JIGrehODe-mxLwco\u0026q=85\u0026s=c53227ef138683d183fe29517674e035"},"favicon":"https://mintcdn.com/layerai/JIGrehODe-mxLwco/assets/branding/icon/favicon.ico?fit=max\u0026auto=format\u0026n=JIGrehODe-mxLwco\u0026q=85\u0026s=e7700c3fefd19088b22b2c26975455c7","navbar":{"links":[{"href":"https://verlon.ai/login","label":"Sign In"}],"primary":{"type":"button","label":"Get Started","href":"https://verlon.ai/signup"}},"footer":{"socials":{"website":"https://verlon.ai"}},"contextual":{"options":["copy","view","chatgpt","claude","cursor"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"layerai","hasAudioNarration":false,"actualSubdomain":"layerai","customDomains":["docs.verlon.ai"],"gitSource":{"type":"github","owner":"verlon-ai","repo":"internal","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b03d5e94ca26305da2bacd5","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Reference","count":92},{"language":"default","tag":"Documentation","count":28},{"language":"default","tag":"Gates","count":28},{"language":"default","tag":"OpenAI Format","count":15},{"language":"default","tag":"Provider Compatibility","count":10},{"language":"default","tag":"Platform","count":9},{"language":"default","tag":"By provider","count":8},{"language":"default","tag":"Mistral Format","count":7},{"language":"default","tag":"Traces","count":7},{"language":"default","tag":"Overview","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"site-roles","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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/responses","slug":"/api-reference/responses","pageMetadata":{"title":"Responses API","description":"OpenAI-compatible Responses API (client.responses.create)","href":"/api-reference/responses"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"OpenAI-compatible Responses API (client.responses.create)\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Drop-in for `,_jsx(_components.code,{children:`POST https://api.openai.com/v1/responses`}),`. Point your OpenAI SDK’s\n`,_jsx(_components.code,{children:`baseURL`}),` at `,_jsx(_components.code,{children:`https://api.verlon.ai/v1`}),` and pass your endpoint’s name as\n`,_jsx(_components.code,{children:`model`}),` (`,_jsx(_components.code,{children:`support-summarizer`}),`, or `,_jsx(_components.code,{children:`support-bot/triage`}),` for a job). No Verlon\nheader is needed. When the endpoint’s model is OpenAI’s, the request and response bodies match OpenAI’s\nResponses API verbatim — the Agents SDK and multi-turn tool loops with\nencrypted reasoning replay work unmodified.`]}),`\n`,_jsxs(_components.p,{children:[`It serves every provider, not only OpenAI. An endpoint whose model is on\nAnthropic, Google, Mistral, Fireworks, xAI, Meta or DeepSeek gets your Responses request\ntranslated into that provider’s API, and its answer back as a Responses body —\nstreamed as Responses events when `,_jsx(_components.code,{children:`stream`}),` is `,_jsx(_components.code,{children:`true`}),`. See\n`,_jsx(_components.a,{href:`/provider-compatibility/translation`,children:`Any SDK, any model`}),` for what crosses\nover, what the gateway serves itself, and the response headers that say so.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`POST /v1/responses`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`model`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Your `,_jsx(_components.strong,{children:`endpoint’s name`}),`, or `,_jsx(_components.code,{children:`endpoint/job`}),` for a job. The endpoint’s model serves, and the answer’s `,_jsx(_components.code,{children:`x-verlon-served-model`}),` header names it. A name that matches none of your endpoints returns `,_jsx(_components.code,{children:`404`}),` `,_jsx(_components.code,{children:`no_endpoint_named`}),`, listing your endpoints.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`input`})}),_jsx(_components.td,{children:`string | item[]`}),_jsxs(_components.td,{children:[`A prompt string, or an array of Responses items: `,_jsx(_components.code,{children:`message`}),`, `,_jsx(_components.code,{children:`function_call`}),`, `,_jsx(_components.code,{children:`function_call_output`}),`, `,_jsx(_components.code,{children:`reasoning`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`instructions`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`System prompt.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tools`})}),_jsx(_components.td,{children:`object[]`}),_jsxs(_components.td,{children:[`Flattened function tools (`,_jsx(_components.code,{children:`{ type: 'function', name, parameters }`}),`).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tool_choice`})}),_jsx(_components.td,{children:`string | object`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`auto`}),` / `,_jsx(_components.code,{children:`required`}),` / `,_jsx(_components.code,{children:`none`}),` / `,_jsx(_components.code,{children:`{ type: 'function', name }`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`max_output_tokens`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Output token cap.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reasoning`})}),_jsx(_components.td,{children:`object`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`{ effort: 'low' | 'medium' | 'high' }`}),` for reasoning models.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`stream`})}),_jsx(_components.td,{children:`boolean`}),_jsxs(_components.td,{children:[`Named-event SSE when `,_jsx(_components.code,{children:`true`}),`.`]})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`store: true`}),`, `,_jsx(_components.code,{children:`previous_response_id`}),` and `,_jsx(_components.code,{children:`item_reference`}),` input items are\n`,_jsx(_components.strong,{children:`not supported`}),` (Verlon is stateless — zero data retention by default).\nSend prior `,_jsx(_components.code,{children:`reasoning`}),` and `,_jsx(_components.code,{children:`function_call`}),` items back in full in `,_jsx(_components.code,{children:`input`}),` each\nturn instead. Each returns `,_jsx(_components.code,{children:`400`}),` with a message naming the fix. With the\nVercel AI SDK, set `,_jsx(_components.code,{children:`providerOptions: { openai: { store: false } }`}),`: without\nit, the SDK sends earlier turns back as `,_jsx(_components.code,{children:`item_reference`}),`s.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`reasoning-replay`,children:`Reasoning replay`}),`\n`,_jsxs(_components.p,{children:[`For OpenAI reasoning models, Verlon automatically requests\n`,_jsx(_components.code,{children:`include: ['reasoning.encrypted_content']`}),` and passes the encrypted reasoning\nthrough untouched. To continue a tool loop, send the prior turn’s `,_jsx(_components.code,{children:`reasoning`}),`\nand `,_jsx(_components.code,{children:`function_call`}),` output items back at the front of `,_jsx(_components.code,{children:`input`}),`, followed by your\n`,_jsx(_components.code,{children:`function_call_output`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"support-summarizer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"What's the weather in Tokyo?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"reasoning\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"rs_…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"encrypted_content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"function_call\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"call_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"call_…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"get_weather\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"arguments\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`city`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Tokyo`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"function_call_output\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"call_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"call_…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"output\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`temp_c`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:22}\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tools\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [ `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`/* … */`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`on-other-providers`,children:`On other providers`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`reasoning`}),` items and their `,_jsx(_components.code,{children:`encrypted_content`}),` are OpenAI’s: another\nprovider has no equivalent, so they are left out of the translated request and\nnamed in `,_jsx(_components.code,{children:`x-verlon-dropped`}),`. The rest of the turn — messages,\n`,_jsx(_components.code,{children:`function_call`}),` and `,_jsx(_components.code,{children:`function_call_output`}),` items — crosses over.`]}),`\n`,_jsxs(_components.li,{children:[`A field the provider has no equivalent for is dropped and named in\n`,_jsx(_components.code,{children:`x-verlon-dropped`}),`, never silently ignored.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`restrictions`,children:`Restrictions`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`store: true`}),`, `,_jsx(_components.code,{children:`previous_response_id`}),` and `,_jsx(_components.code,{children:`item_reference`}),` input items\nreturn `,_jsx(_components.code,{children:`400`}),` on every provider (see the warning above).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`background: true`}),` is passed to OpenAI as sent; other providers run in the\nforeground, so it is dropped there and named in `,_jsx(_components.code,{children:`x-verlon-dropped`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Errors use OpenAI’s nested shape (`,_jsx(_components.code,{children:`{ error: { message, type, code, param? } }`}),`).`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/provider-compatibility/openai#responses-api`,children:`OpenAI compatibility → Responses API`}),`\nfor SDK examples.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Responses API","description":"OpenAI-compatible Responses API (client.responses.create)","href":"/api-reference/responses"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Reasoning replay","slug":"reasoning-replay","depth":2,"children":[]},{"title":"On other providers","slug":"on-other-providers","depth":2,"children":[]},{"title":"Restrictions","slug":"restrictions","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"layerai","siteName":"Verlon AI","title":"Responses API - Verlon AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-23T05:58:10.891Z","originalFileLocation":"api-reference/responses.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=\"OpenAI-compatible Responses API (client.responses.create)\">\u003cmeta data-mint-head name=\"application-name\" content=\"Verlon AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/layerai/0PC4ph4-zuiE25-Y/_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/layerai/0PC4ph4-zuiE25-Y/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/layerai/0PC4ph4-zuiE25-Y/_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/layerai/0PC4ph4-zuiE25-Y/_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/layerai/0PC4ph4-zuiE25-Y/_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/layerai/0PC4ph4-zuiE25-Y/_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/layerai/0PC4ph4-zuiE25-Y/_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/layerai/0PC4ph4-zuiE25-Y/_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/layerai/0PC4ph4-zuiE25-Y/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Responses API - Verlon AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"OpenAI-compatible Responses API (client.responses.create)\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Verlon AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.verlon.ai/api-reference/responses\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://layerai.mintlify.site/_mintlify/api/og/v2?division=Overview\u0026amp;title=Responses+API\u0026amp;description=OpenAI-compatible+Responses+API+%28client.responses.create%29\u0026amp;theme=65d4f53e0a24900787960ba7\u0026amp;signature=b4d703fdfa458025d8ef6970a9f1bd675625d4bd1d954b3fb757d1008b7dcd81\">\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=\"Responses API - Verlon AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"OpenAI-compatible Responses API (client.responses.create)\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://layerai.mintlify.site/_mintlify/api/og/v2?division=Overview\u0026amp;title=Responses+API\u0026amp;description=OpenAI-compatible+Responses+API+%28client.responses.create%29\u0026amp;theme=65d4f53e0a24900787960ba7\u0026amp;signature=b4d703fdfa458025d8ef6970a9f1bd675625d4bd1d954b3fb757d1008b7dcd81\">\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/layerai/0PC4ph4-zuiE25-Y/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Verlon AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3b82f6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.verlon.ai/api-reference/responses\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/responses.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.verlon.ai/#organization\",\"name\":\"Verlon AI\",\"url\":\"https://docs.verlon.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/layerai/JIGrehODe-mxLwco/assets/branding/wordmark/wordmark-light-transparent.png?fit=max\u0026auto=format\u0026n=JIGrehODe-mxLwco\u0026q=85\u0026s=8b74186109f9c8f000588d8023f16c4a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.verlon.ai#website\",\"name\":\"Verlon AI\",\"url\":\"https://docs.verlon.ai\",\"publisher\":{\"@id\":\"https://docs.verlon.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.verlon.ai/api-reference/responses#webpage\",\"url\":\"https://docs.verlon.ai/api-reference/responses\",\"name\":\"Responses API\",\"description\":\"OpenAI-compatible Responses API (client.responses.create)\",\"dateModified\":\"2026-11-23T05:58:10.891Z\",\"isPartOf\":{\"@id\":\"https://docs.verlon.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.verlon.ai/api-reference/responses#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.verlon.ai/api-reference/responses#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Overview\",\"item\":\"https://docs.verlon.ai/api-reference/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Responses API\",\"item\":\"https://docs.verlon.ai/api-reference/responses\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.verlon.ai/api-reference/responses#article\",\"headline\":\"Responses API\",\"name\":\"Responses API\",\"description\":\"OpenAI-compatible Responses API (client.responses.create)\",\"url\":\"https://docs.verlon.ai/api-reference/responses\",\"mainEntityOfPage\":{\"@id\":\"https://docs.verlon.ai/api-reference/responses#webpage\"},\"dateModified\":\"2026-11-23T05:58:10.891Z\",\"publisher\":{\"@id\":\"https://docs.verlon.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.verlon.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Verlon AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Verlon AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/responses.md","siteName":"Verlon AI","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/getting-started/overview"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Reference Overview","href":"/api-reference/overview"},{"title":"Chat Completions API","description":"OpenAI-compatible chat completions endpoint","href":"/api-reference/chat-completions"},{"title":"Responses API","href":"/api-reference/responses"},{"title":"Anthropic Messages API","description":"Anthropic-compatible messages endpoint","href":"/api-reference/anthropic-messages"}]},{"group":"Mistral Format","pages":[{"title":"Mistral-format speech-to-text","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /mistral/v1/audio/transcriptions","href":"/api-reference/mistral-format/mistral-format-speech-to-text"},{"title":"Mistral-format chat completions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /mistral/v1/chat/completions","href":"/api-reference/mistral-format/mistral-format-chat-completions"},{"title":"Mistral-format conversation moderation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /mistral/v1/chat/moderations","href":"/api-reference/mistral-format/mistral-format-conversation-moderation"},{"title":"Mistral-format embeddings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /mistral/v1/embeddings","href":"/api-reference/mistral-format/mistral-format-embeddings"},{"title":"Mistral-format FIM completions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /mistral/v1/fim/completions","href":"/api-reference/mistral-format/mistral-format-fim-completions"},{"title":"Mistral-format moderation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /mistral/v1/moderations","href":"/api-reference/mistral-format/mistral-format-moderation"},{"title":"Mistral-format OCR","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /mistral/v1/ocr","href":"/api-reference/mistral-format/mistral-format-ocr"}]},{"group":"Analytics","pages":[{"title":"Track client-side analytics events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/analytics/events","href":"/api-reference/analytics/track-client-side-analytics-events"}]},{"group":"OpenAI Format","pages":[{"title":"OpenAI-format text-to-speech","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/audio/speech","href":"/api-reference/openai-format/openai-format-text-to-speech"},{"title":"OpenAI-format speech-to-text","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/audio/transcriptions","href":"/api-reference/openai-format/openai-format-speech-to-text"},{"title":"OpenAI-format speech translation to English","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/audio/translations","href":"/api-reference/openai-format/openai-format-speech-translation-to-english"},{"title":"OpenAI-format chat completions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/chat/completions","href":"/api-reference/openai-format/openai-format-chat-completions"},{"title":"OpenAI-format embeddings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/embeddings","href":"/api-reference/openai-format/openai-format-embeddings"},{"title":"OpenAI-format image edits","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/images/edits","href":"/api-reference/openai-format/openai-format-image-edits"},{"title":"OpenAI-format image generations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/images/generations","href":"/api-reference/openai-format/openai-format-image-generations"},{"title":"OpenAI-format moderation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/moderations","href":"/api-reference/openai-format/openai-format-moderation"},{"title":"Rerank documents against a query","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/rerank","href":"/api-reference/openai-format/rerank-documents-against-a-query"},{"title":"OpenAI-format Responses API","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/responses","href":"/api-reference/openai-format/openai-format-responses-api"},{"title":"OpenAI-format video job list","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/videos","href":"/api-reference/openai-format/openai-format-video-job-list"},{"title":"OpenAI-format video generation job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/videos","href":"/api-reference/openai-format/openai-format-video-generation-job"},{"title":"OpenAI-format video job poll","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/videos/:videoId","href":"/api-reference/openai-format/openai-format-video-job-poll"},{"title":"OpenAI-format video job deletion","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/videos/:videoId","href":"/api-reference/openai-format/openai-format-video-job-deletion"},{"title":"OpenAI-format video content download","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/videos/:videoId/content","href":"/api-reference/openai-format/openai-format-video-content-download"}]},{"group":"Gates","pages":[{"title":"List endpoints owned by the authenticated user","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/gates","href":"/api-reference/gates/list-endpoints-owned-by-the-authenticated-user"},{"title":"Create a new endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/gates","href":"/api-reference/gates/create-a-new-endpoint"},{"title":"Get an endpoint by id","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/gates/:id","href":"/api-reference/gates/get-an-endpoint-by-id"},{"title":"Soft-delete an endpoint (moves to trash for 30 days)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/gates/:id","href":"/api-reference/gates/soft-delete-an-endpoint-moves-to-trash-for-30-days"},{"title":"Update an endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/gates/:id","href":"/api-reference/gates/update-an-endpoint"},{"title":"List activity-log entries for a specific endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/gates/:id/activity","href":"/api-reference/gates/list-activity-log-entries-for-a-specific-endpoint"},{"title":"Make this endpoint its connector's default for new connections","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/gates/:id/default","href":"/api-reference/gates/make-this-endpoint-its-connectors-default-for-new-connections"},{"title":"Stop this endpoint being its connector's default","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/gates/:id/default","href":"/api-reference/gates/stop-this-endpoint-being-its-connectors-default"},{"title":"Check what depends on an endpoint (before deletion)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/gates/:id/dependencies","href":"/api-reference/gates/check-what-depends-on-an-endpoint-before-deletion"},{"title":"Duplicate an existing endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/gates/:id/duplicate","href":"/api-reference/gates/duplicate-an-existing-endpoint"},{"title":"Export a single endpoint config as a portable JSON document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/gates/:id/export","href":"/api-reference/gates/export-a-single-endpoint-config-as-a-portable-json-document"},{"title":"List configuration history for a specific endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/gates/:id/history","href":"/api-reference/gates/list-configuration-history-for-a-specific-endpoint"},{"title":"Pin or unpin an endpoint's BYOK key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v1/gates/:id/provider-key","href":"/api-reference/gates/pin-or-unpin-an-endpoints-byok-key"},{"title":"Restore a soft-deleted endpoint from the trash","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/gates/:id/restore","href":"/api-reference/gates/restore-a-soft-deleted-endpoint-from-the-trash"},{"title":"Roll an endpoint back to a previous configuration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/gates/:id/rollback","href":"/api-reference/gates/roll-an-endpoint-back-to-a-previous-configuration"},{"title":"List an agent endpoint's tasks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/gates/:id/tasks","href":"/api-reference/gates/list-an-agent-endpoints-tasks"},{"title":"Declare a task on an agent endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/gates/:id/tasks","href":"/api-reference/gates/declare-a-task-on-an-agent-endpoint"},{"title":"Delete a task","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/gates/:id/tasks/:taskId","href":"/api-reference/gates/delete-a-task"},{"title":"Update a task's config","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/gates/:id/tasks/:taskId","href":"/api-reference/gates/update-a-tasks-config"},{"title":"List activity-log entries across every endpoint owned by the caller","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/gates/activity","href":"/api-reference/gates/list-activity-log-entries-across-every-endpoint-owned-by-the-caller"},{"title":"Export every endpoint config as a portable JSON document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/gates/export","href":"/api-reference/gates/export-every-endpoint-config-as-a-portable-json-document"},{"title":"List configuration history across every endpoint owned by the caller","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/gates/history","href":"/api-reference/gates/list-configuration-history-across-every-endpoint-owned-by-the-caller"},{"title":"Per-gate trace stats for every endpoint owned by the caller (batch)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/gates/metrics/traces","href":"/api-reference/gates/per-gate-trace-stats-for-every-endpoint-owned-by-the-caller-batch"},{"title":"Get an endpoint by its name","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/gates/name/:name","href":"/api-reference/gates/get-an-endpoint-by-its-name"},{"title":"Suggest models for a new endpoint's type","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/gates/suggest-models","href":"/api-reference/gates/suggest-models-for-a-new-endpoints-type"},{"title":"Suggest an endpoint name from what it does","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/gates/suggest-name","href":"/api-reference/gates/suggest-an-endpoint-name-from-what-it-does"},{"title":"Test an endpoint configuration with a sample request","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/gates/test","href":"/api-reference/gates/test-an-endpoint-configuration-with-a-sample-request"},{"title":"List soft-deleted (trashed) endpoints","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/gates/trash/list","href":"/api-reference/gates/list-soft-deleted-trashed-endpoints"}]},{"group":"Anthropic Format","pages":[{"title":"Anthropic-format messages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/messages","href":"/api-reference/anthropic-format/anthropic-format-messages"},{"title":"Anthropic-format token counting","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/messages/count_tokens","href":"/api-reference/anthropic-format/anthropic-format-token-counting"}]},{"group":"OpenAI Compat","pages":[{"title":"List available models (drop-in)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/models","href":"/api-reference/openai-compat/list-available-models-drop-in"},{"title":"Retrieve a model (drop-in)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/models/:model","href":"/api-reference/openai-compat/retrieve-a-model-drop-in"}]},{"group":"OAuth","pages":[{"title":"Start an OAuth device authorization flow (RFC 8628 §3.1)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/oauth/device/authorize","href":"/api-reference/oauth/start-an-oauth-device-authorization-flow-rfc-8628-§31"},{"title":"Poll a device-flow for completion (RFC 8628 §3.4)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/oauth/device/token","href":"/api-reference/oauth/poll-a-device-flow-for-completion-rfc-8628-§34"},{"title":"Sign a CLI out: revoke its refresh token and the access it issued","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/oauth/revoke","href":"/api-reference/oauth/sign-a-cli-out:-revoke-its-refresh-token-and-the-access-it-issued"},{"title":"Exchange a refresh token for a fresh access + refresh pair","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/oauth/token/refresh","href":"/api-reference/oauth/exchange-a-refresh-token-for-a-fresh-access-+-refresh-pair"}]},{"group":"Owned Models","pages":[{"title":"List the caller's owned-model registrations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/owned-models","href":"/api-reference/owned-models/list-the-callers-owned-model-registrations"},{"title":"Register a model the caller owns","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/owned-models","href":"/api-reference/owned-models/register-a-model-the-caller-owns"},{"title":"Delete an owned-model registration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/owned-models/:slug","href":"/api-reference/owned-models/delete-an-owned-model-registration"},{"title":"Update an owned-model registration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/owned-models/:slug","href":"/api-reference/owned-models/update-an-owned-model-registration"}]},{"group":"Registry","pages":[{"title":"Get the public model + provider registry","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/registry","href":"/api-reference/registry/get-the-public-model-+-provider-registry"},{"title":"Model changes: prices, deprecations, retirements, renames, new models","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/registry/changes","href":"/api-reference/registry/model-changes:-prices-deprecations-retirements-renames-new-models"},{"title":"Model changes as an Atom feed","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/registry/changes.atom","href":"/api-reference/registry/model-changes-as-an-atom-feed"},{"title":"How many model changes match, per kind and per provider","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/registry/changes/counts","href":"/api-reference/registry/how-many-model-changes-match-per-kind-and-per-provider"},{"title":"Endpoint kinds Verlon does not serve yet, per provider","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/registry/endpoints","href":"/api-reference/registry/endpoint-kinds-verlon-does-not-serve-yet-per-provider"},{"title":"One model: its registry entry and where each fact comes from","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/registry/models/*id","href":"/api-reference/registry/one-model:-its-registry-entry-and-where-each-fact-comes-from"}]},{"group":"Traces","pages":[{"title":"List agent traces","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/traces","href":"/api-reference/traces/list-agent-traces"},{"title":"Get one trace with its spans and derived agent view","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/traces/:traceId","href":"/api-reference/traces/get-one-trace-with-its-spans-and-derived-agent-view"},{"title":"List coding sessions for a connector endpoint (beta)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/traces/coding-sessions","href":"/api-reference/traces/list-coding-sessions-for-a-connector-endpoint-beta"},{"title":"Rename a coding session (beta)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/traces/coding-sessions/name","href":"/api-reference/traces/rename-a-coding-session-beta"},{"title":"Get coding-gate overview stats (beta)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/traces/coding-sessions/stats","href":"/api-reference/traces/get-coding-gate-overview-stats-beta"},{"title":"Get a coding session as a turn timeline (beta)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/traces/coding-sessions/turns","href":"/api-reference/traces/get-a-coding-session-as-a-turn-timeline-beta"},{"title":"List sessions (conversation-label rollups)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/traces/sessions","href":"/api-reference/traces/list-sessions-conversation-label-rollups"}]},{"group":"Usage","pages":[{"title":"Current unit usage against the plan ceiling","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/usage/units","href":"/api-reference/usage/current-unit-usage-against-the-plan-ceiling"}]},{"group":"User Models","pages":[{"title":"List the caller's model working set","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/user-models","href":"/api-reference/user-models/list-the-callers-model-working-set"},{"title":"Pin a catalog model to the working set","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/user-models/added","href":"/api-reference/user-models/pin-a-catalog-model-to-the-working-set"},{"title":"Unpin a model from the working set","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/user-models/added","href":"/api-reference/user-models/unpin-a-model-from-the-working-set"},{"title":"Per-model usage stats from the caller's own traffic","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/user-models/usage","href":"/api-reference/user-models/per-model-usage-stats-from-the-callers-own-traffic"}]},{"group":"User","pages":[{"title":"Identify the authenticated principal","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/whoami","href":"/api-reference/user/identify-the-authenticated-principal"}]},{"group":"Google Format","pages":[{"title":"Gemini-format batch embeddings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1beta/models/{model}:batchEmbedContents","href":"/api-reference/google-format/gemini-format-batch-embeddings"},{"title":"Gemini-format token counting","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1beta/models/{model}:countTokens","href":"/api-reference/google-format/gemini-format-token-counting"},{"title":"Gemini-format embeddings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1beta/models/{model}:embedContent","href":"/api-reference/google-format/gemini-format-embeddings"},{"title":"Gemini-format content generation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1beta/models/{model}:generateContent","href":"/api-reference/google-format/gemini-format-content-generation"},{"title":"Imagen-format image generation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1beta/models/{model}:predict","href":"/api-reference/google-format/imagen-format-image-generation"},{"title":"Gemini-format streaming content generation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1beta/models/{model}:streamGenerateContent","href":"/api-reference/google-format/gemini-format-streaming-content-generation"}]}]},{"tab":"Contributing","pages":[{"title":"Contributing","href":"/contributing/getting-started"}]}]},"basePath":"","title":"Responses API - Verlon AI","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":[],"chunks":[]}