{
"error": true,
"code": "gateway_error",
"message": "Prompt not found or has no published version"
}
POST /v1/prompts/{slug}/runExecute a saved prompt from the dashboard by its slug. The gateway fetches the prompt’s template, interpolates your variables, and routes through the normal chat completions pipeline.By default the published version is used. Use the version query parameter to target a specific version.
Use the latest saved version, even if unpublished — useful for testing drafts
3 (or any integer)
Use a specific version number (e.g. ?version=2)
# Run the latest draft (unpublished) versioncurl .../v1/prompts/my-translator/run?version=current ...# Run a specific historical versioncurl .../v1/prompts/my-translator/run?version=2 ...
File variables (type: "file" in the prompt editor) hold either an http(s) URL or a base64 data URL. They are used inside JSON content blocks in the message templates — the same shapes /v1/chat/completions accepts:
[ { "type": "text", "text": "Extract the data from this document." }, { "type": "file", "file": { "mime_type": "application/pdf", "file_data": "{{pdf}}" } }]
Always fetched server-side by the gateway into base64 — no provider accepts URL file parts
{"type":"file","file":{"file_id":…}}
provider file ID
Anthropic Files API only
file.url is always fetched server-side into base64 (no provider accepts URL file parts). image_url URLs are fetched by the gateway for Anthropic and Google, which only accept base64, and left for OpenAI-family providers to fetch themselves. Text files (text/*, CSV, JSON) are inlined as plain text and work on every model (oversized text files are truncated). Requests whose content blocks the chosen model cannot process are rejected with a 400 — check the model catalog for image/document support.
OIDC JWT issued by your auth provider (Alpha).
Full self-serve configuration is coming soon — contact us for early access.
Use this for browser/frontend clients where a user is signed in.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Gatelit","colors":{"primary":"#6366f1","light":"#818cf8","dark":"#4f46e5"},"logo":{"light":"https://mintcdn.com/gatelit/nfB0Pw2EV0_b488r/logo/gatelit-light.svg?fit=max\u0026auto=format\u0026n=nfB0Pw2EV0_b488r\u0026q=85\u0026s=ca585002ed63491bf132b671e8032c55","dark":"https://mintcdn.com/gatelit/nfB0Pw2EV0_b488r/logo/gatelit-dark.svg?fit=max\u0026auto=format\u0026n=nfB0Pw2EV0_b488r\u0026q=85\u0026s=4387a8dc17f3aea2ae3468fa06db837d"},"favicon":"https://mintcdn.com/gatelit/FhMvfa6HGf_S7MCU/favicon.svg?fit=max\u0026auto=format\u0026n=FhMvfa6HGf_S7MCU\u0026q=85\u0026s=30529ffcee19371c3a9d57188b04b44e","api":{"openapi":"gateway/openapi.yaml"},"navbar":{"links":[{"href":"mailto:hello@gatelit.dev","label":"Contact","type":"link"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.gatelit.dev"}},"footer":{"socials":{}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gatelit","hasAudioNarration":false,"actualSubdomain":"gatelit","customDomains":["docs.gatelit.dev"],"gitSource":{"type":"github","owner":"dbssman","repo":"gatelit","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad92ef500ae219b501cee91","collectionId":"a94f9ab6-8c04-41f1-8492-4fd706459a6b","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad92ef500ae219b501cee91"},"entitlements":{},"buildId":"6ad92ef500ae219b501cee91","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"default","tag":"SDK","count":12},{"language":"default","tag":"Gateway","count":10},{"language":"default","tag":"How it works","count":6},{"language":"default","tag":"TypeScript","count":6},{"language":"default","tag":"Dashboard","count":5},{"language":"default","tag":"Managing Gatelit","count":5},{"language":"default","tag":"API Reference","count":4},{"language":"default","tag":"TypeScript Reference","count":3},{"language":"default","tag":"Vue","count":3},{"language":"default","tag":"Get Started","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"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":[],"page":{"pagePath":"gateway/api-reference/prompt-run","slug":"/gateway/api-reference/prompt-run","pageMetadata":{"title":"Run Prompt","description":"Execute a saved prompt by slug with variable interpolation.","openapi":"post /v1/prompts/{slug}/run","href":"/gateway/api-reference/prompt-run"},"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: \"Execute a saved prompt by slug with variable interpolation.\"\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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:_jsx(_components.code,{children:`POST /v1/prompts/{slug}/run`})}),`\n`,_jsx(_components.p,{children:`Execute a saved prompt from the dashboard by its slug. The gateway fetches the prompt’s template, interpolates your variables, and routes through the normal chat completions pipeline.`}),`\n`,_jsxs(_components.p,{children:[`By default the `,_jsx(_components.strong,{children:`published`}),` version is used. Use the `,_jsx(_components.code,{children:`version`}),` query parameter to target a specific version.`]}),`\n`,_jsx(Heading,{level:`2`,id:`auth`,children:`Auth`}),`\n`,_jsx(_components.p,{children:`All three schemes are accepted:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`http`,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:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Authorization`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GatelitKey glk_...`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Authorization`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GatelitSigned \u003csigned-token>`})]}),`\n`]})})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Bearer`}),` (OIDC) is supported but in `,_jsx(_components.strong,{children:`Alpha`}),`. `,_jsx(_components.a,{href:`mailto:hello@gatelit.dev`,children:`Contact us`}),` if you need OIDC auth.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`slug`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`The prompt slug from the dashboard`})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`version`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\"published\"`})}),_jsx(_components.td,{children:`Which version of the prompt to execute`})]})})]}),`\n`,_jsx(_components.p,{children:`Version values:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Behavior`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`published`})}),_jsx(_components.td,{children:`Use the currently published version (default)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`current`})}),_jsx(_components.td,{children:`Use the latest saved version, even if unpublished — useful for testing drafts`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`3`}),` (or any integer)`]}),_jsxs(_components.td,{children:[`Use a specific version number (e.g. `,_jsx(_components.code,{children:`?version=2`}),`)`]})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Run the latest draft (unpublished) version`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .../v1/prompts/my-translator/run?version=current`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ...`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Run a specific historical version`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .../v1/prompts/my-translator/run?version=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ...`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request body`}),`\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:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`variables`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`object`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Key-value map of variable name → value`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`stream`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Enable SSE streaming (default: `,_jsx(_components.code,{children:`false`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`max_tokens`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`integer`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Override the prompt’s default max tokens`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`temperature`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Override the prompt’s default temperature`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`object`})}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Arbitrary string/number/boolean tags — stored on the log entry, stripped before forwarding (same rules as `,_jsx(_components.a,{href:`/gateway/api-reference/chat-completions`,children:`chat completions`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`user`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`End-user ID — forwarded to the provider and used as the logged end-user ID`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://gateway.gatelit.dev/v1/prompts/customer-support/run`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: GatelitKey glk_...\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"variables\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"tone\": \"friendly and professional\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"language\": \"Spanish\",`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"user_message\": \"My order hasn't`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` arrived.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://gateway.gatelit.dev/v1/prompts/my-assistant/run`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: GatelitKey glk_...\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"variables\": { \"user_name\": \"Alice\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"stream\": true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`file-inputs`,children:`File inputs`}),`\n`,_jsxs(_components.p,{children:[`File variables (`,_jsx(_components.code,{children:`type: \"file\"`}),` in the prompt editor) hold either an `,_jsx(_components.code,{children:`http(s)`}),` URL or a base64 data URL. They are used inside JSON content blocks in the message templates — the same shapes `,_jsx(_components.code,{children:`/v1/chat/completions`}),` accepts:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:`#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:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Extract the data from this document.\"`}),_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:`\"file\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"file\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"mime_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/pdf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"file_data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{{pdf}}\"`}),_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(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://gateway.gatelit.dev/v1/prompts/doc-extractor/run`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: GatelitKey glk_...\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"variables\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"pdf\": \"data:application/pdf;base64,JVBERi0xLjQK...\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Supported block shapes:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Block`}),_jsx(_components.th,{children:`Payload`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"type\":\"image_url\",\"image_url\":{\"url\":…}}`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`https://…`}),` or `,_jsx(_components.code,{children:`data:image/…;base64,…`})]}),_jsx(_components.td,{children:`Images on any vision model; URLs are fetched by OpenAI-family providers, and server-side by the gateway for Anthropic and Google`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"type\":\"file\",\"file\":{\"mime_type\":\"application/pdf\",\"file_data\":…}}`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`data:…;base64,…`})}),_jsx(_components.td,{children:`PDFs and documents`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"type\":\"file\",\"file\":{\"mime_type\":…,\"url\":…}}`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://…`})}),_jsx(_components.td,{children:`Always fetched server-side by the gateway into base64 — no provider accepts URL file parts`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"type\":\"file\",\"file\":{\"file_id\":…}}`})}),_jsx(_components.td,{children:`provider file ID`}),_jsx(_components.td,{children:`Anthropic Files API only`})]})]})]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`file.url`}),` is always fetched server-side into base64 (no provider accepts URL file parts). `,_jsx(_components.code,{children:`image_url`}),` URLs are fetched by the gateway for Anthropic and Google, which only accept base64, and left for OpenAI-family providers to fetch themselves. Text files (`,_jsx(_components.code,{children:`text/*`}),`, CSV, JSON) are inlined as plain text and work on `,_jsx(_components.strong,{children:`every`}),` model (oversized text files are truncated). Requests whose content blocks the chosen model cannot process are rejected with a 400 — check the `,_jsx(_components.a,{href:`/gateway/models`,children:`model catalog`}),` for image/document support.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`Same shape as `,_jsx(_components.code,{children:`/v1/chat/completions`}),`. Response headers include `,_jsx(_components.code,{children:`x-gatelit-request-id`}),` and `,_jsx(_components.code,{children:`x-gatelit-model`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`gateway_error`})}),_jsx(_components.td,{children:`Missing required variables`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`unauthorized`})}),_jsx(_components.td,{children:`Missing or invalid token`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`gateway_error`})}),_jsx(_components.td,{children:`Prompt not found, no published version, or specified version does not exist`})]})]})]})]})}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":"Run Prompt","description":"Execute a saved prompt by slug with variable interpolation.","openapi":"post /v1/prompts/{slug}/run","href":"/gateway/api-reference/prompt-run"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Auth","slug":"auth","depth":2,"children":[]},{"title":"Path parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Query parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Request body","slug":"request-body","depth":2,"children":[]},{"title":"Examples","slug":"examples","depth":2,"children":[]},{"title":"File inputs","slug":"file-inputs","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"runPrompt","summary":"Run a saved prompt","description":"Execute a saved prompt by slug with variable interpolation.","security":["0b1ec3d5-d818-4ba9-82c4-d6450eabba8a","2877e1bf-aad8-4470-b454-0baeea45ccd5","a249af87-374c-475f-a753-30ca6fe90057"],"x-codeSamples":[{"lang":"curl","label":"curl — run a prompt","source":"curl https://gateway.gatelit.dev/v1/prompts/my-translator/run \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: GatelitKey glk_...\" \\\n -d '{\n \"variables\": {\n \"source_language\": \"English\",\n \"target_language\": \"French\",\n \"text\": \"Hello, how are you?\"\n }\n }'\n"},{"lang":"curl","label":"curl — streaming prompt","source":"curl https://gateway.gatelit.dev/v1/prompts/my-assistant/run \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: GatelitKey glk_...\" \\\n -d '{\n \"variables\": { \"user_name\": \"Alice\" },\n \"stream\": true\n }'\n"},{"lang":"curl","label":"curl — specific version","source":"curl \"https://gateway.gatelit.dev/v1/prompts/my-translator/run?version=current\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: GatelitKey glk_...\" \\\n -d '{\n \"variables\": { \"text\": \"Hello\" }\n }'\n"},{"lang":"ts","label":"SDK — tag request with prompt ID","source":"import { GatelitClient } from \"@gatelit/sdk\"\n\nconst client = new GatelitClient({\n gatewayUrl: \"https://gateway.gatelit.dev\",\n getToken: async () => ({\n token: \"glk_...\",\n scheme: \"GatelitKey\",\n }),\n})\n\nconst response = await client.chat({\n model: \"openai/gpt-4o\",\n messages: [{ role: \"user\", content: \"placeholder\" }],\n promptId: \"my-translator\",\n})\n"}],"parameters":["9ed6b0c7-5cfc-4d3f-b0e5-abcc67826f70","473d5dcf-9335-4122-a3b8-6287970fa437"],"requestBody":"3b32594d-4f4b-4314-a78c-c013f111b669","responses":{"200":"ddbd7596-5cb1-456e-8821-c6b501b7e374","400":"2af9fbf1-5d34-4998-b12a-582952062cac","401":"16f7a19a-8979-4c07-b628-3ca0371c1a7f","404":"67c94114-446c-436e-a112-81c324c3e41c"},"method":"post","type":"path","servers":["27652b57-ae9a-4757-97cd-462fe4275096"],"path":"/v1/prompts/{slug}/run","baseUrlOptions":["https://gateway.gatelit.dev"],"title":"Run a saved prompt","codeSamples":[{"label":"curl — run a prompt","lang":"curl","source":"curl https://gateway.gatelit.dev/v1/prompts/my-translator/run \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: GatelitKey glk_...\" \\\n -d '{\n \"variables\": {\n \"source_language\": \"English\",\n \"target_language\": \"French\",\n \"text\": \"Hello, how are you?\"\n }\n }'\n"},{"label":"curl — streaming prompt","lang":"curl","source":"curl https://gateway.gatelit.dev/v1/prompts/my-assistant/run \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: GatelitKey glk_...\" \\\n -d '{\n \"variables\": { \"user_name\": \"Alice\" },\n \"stream\": true\n }'\n"},{"label":"curl — specific version","lang":"curl","source":"curl \"https://gateway.gatelit.dev/v1/prompts/my-translator/run?version=current\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: GatelitKey glk_...\" \\\n -d '{\n \"variables\": { \"text\": \"Hello\" }\n }'\n"},{"label":"SDK — tag request with prompt ID","lang":"ts","source":"import { GatelitClient } from \"@gatelit/sdk\"\n\nconst client = new GatelitClient({\n gatewayUrl: \"https://gateway.gatelit.dev\",\n getToken: async () => ({\n token: \"glk_...\",\n scheme: \"GatelitKey\",\n }),\n})\n\nconst response = await client.chat({\n model: \"openai/gpt-4o\",\n messages: [{ role: \"user\", content: \"placeholder\" }],\n promptId: \"my-translator\",\n})\n"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"9ed6b0c7-5cfc-4d3f-b0e5-abcc67826f70":{"name":"slug","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$","isRequired":true,"description":"The prompt slug from the dashboard.","uniqueKey":"","typeLabel":"string"},"description":"The prompt slug from the dashboard.","example":"my-translator"},"473d5dcf-9335-4122-a3b8-6287970fa437":{"name":"version","in":"query","required":false,"schema":{"type":"string","default":"published","examples":["published","current","3"],"isRequired":false,"description":"Which version of the prompt to execute.\n- `published` — published version (default)\n- `current` — latest saved version, even if unpublished\n- `\u003cnumber>` — a specific version number (e.g. `3`)\n","uniqueKey":"","typeLabel":"string"},"description":"Which version of the prompt to execute.\n- `published` — published version (default)\n- `current` — latest saved version, even if unpublished\n- `\u003cnumber>` — a specific version number (e.g. `3`)\n"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Variables to inject into the saved prompt's template.\nWhich variables are required depends on the prompt's definition in the dashboard.\n","properties":{"variables":{"type":"object","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"variables.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"variables.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"variables.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"variables.additionalProperties","typeLabel":"string | number | boolean"},"description":"Key-value map of variable name → value.","uniqueKey":"variables","typeLabel":"object"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"metadata.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"metadata.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"metadata.additionalProperties","typeLabel":"string | number | boolean"},"maxProperties":100,"description":"Arbitrary tags attached to the request — see the chat completions\n`metadata` field. Stored on the log entry, stripped before forwarding.\n","uniqueKey":"metadata","typeLabel":"object"},"user":{"type":"string","description":"End-user identifier — see the chat completions `user` field.\n","uniqueKey":"user","typeLabel":"string"},"stream":{"type":"boolean","default":false,"uniqueKey":"stream","typeLabel":"boolean"},"max_tokens":{"type":"integer","uniqueKey":"max_tokens","typeLabel":"integer"},"temperature":{"type":"number","minimum":0,"maximum":2,"uniqueKey":"temperature","typeLabel":"number"}},"uniqueKey":"","typeLabel":"object"},"examples":{"variables":{"title":"variables","value":{"variables":{"user_name":"Alice","product":"Gatelit"}}},"streaming":{"title":"streaming","value":{"variables":{"topic":"Quantum computing"},"stream":true}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"ddbd7596-5cb1-456e-8821-c6b501b7e374":{"description":"Same response shape as `/v1/chat/completions`. Headers include `x-gatelit-request-id` and `x-gatelit-model`.","headers":{"x-gatelit-request-id":{"schema":{"type":"string"}},"x-gatelit-model":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","description":"OpenAI-compatible chat completion response.\nReturned when `stream` is false (default).\n","properties":{"id":{"type":"string","uniqueKey":"id","typeLabel":"string"},"object":{"type":"string","example":"chat.completion","uniqueKey":"object","typeLabel":"string"},"created":{"type":"integer","uniqueKey":"created","typeLabel":"integer"},"model":{"type":"string","description":"The upstream model that handled the request.","uniqueKey":"model","typeLabel":"string"},"choices":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","uniqueKey":"choices.items.[INDEX].index","typeLabel":"integer"},"message":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string","enum":["system","user","assistant"],"isRequired":true,"uniqueKey":"choices.items.[INDEX].message.role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","description":"Plain text — may be a JSON string of content blocks","isRequired":true,"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","file"],"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"},"image_url":{"type":"object","properties":{"url":{"type":"string","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].image_url.url","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].image_url","typeLabel":"object"},"file":{"type":"object","properties":{"mime_type":{"type":"string","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].file.mime_type","typeLabel":"string"},"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"},"url":{"type":"string","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].file.url","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX].file","typeLabel":"object"}},"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"Multimodal content blocks. Supported types: `text`,\n`image_url` (URL or base64 data URL), `file` (base64 data\nURL, remote URL, or provider file_id). Converted to each\nprovider's native format by the gateway.\n","isRequired":true,"uniqueKey":"choices.items.[INDEX].message.content.oneOf.1","typeLabel":"object[]"}],"isRequired":true,"uniqueKey":"choices.items.[INDEX].message.content","typeLabel":"string | object[]"}},"example":{"role":"user","content":"Explain quantum entanglement in one sentence."},"x-codeSample":"// SDK\nconst msg: ChatMessage = {\n role: \"user\",\n content: \"Explain quantum entanglement in one sentence.\"\n}\n","uniqueKey":"choices.items.[INDEX].message","typeLabel":"object"},"finish_reason":{"type":"string","enum":["stop","length","tool_calls","content_filter"],"uniqueKey":"choices.items.[INDEX].finish_reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices","typeLabel":"object[]"},"usage":{"type":"object","properties":{"prompt_tokens":{"type":"integer","description":"Tokens consumed by the input (system prompt + messages).","uniqueKey":"usage.prompt_tokens","typeLabel":"integer"},"completion_tokens":{"type":"integer","description":"Tokens generated in the response.","uniqueKey":"usage.completion_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","uniqueKey":"usage.total_tokens","typeLabel":"integer"}},"uniqueKey":"usage","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","object":"chat.completion","created":123,"model":"\u003cstring>","choices":[{"index":123,"message":{"role":"user","content":"Explain quantum entanglement in one sentence."},"finish_reason":"stop"}],"usage":{"prompt_tokens":123,"completion_tokens":123,"total_tokens":123}}}},"exampleType":"generated"},"text/event-stream":{"schema":{"type":"string","uniqueKey":"","typeLabel":"string"},"examples":{"Example":{"title":"Example","value":"\u003cstring>"}},"exampleType":"generated"}},"exampleType":"generated"},"2af9fbf1-5d34-4998-b12a-582952062cac":{"description":"Missing required variables or invalid configuration.","content":{"application/json":{"schema":{"type":"object","required":["error","code","message"],"properties":{"error":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"error","typeLabel":"enum\u003cboolean>"},"code":{"type":"string","enum":["unauthorized","gateway_error","provider_error","forbidden","policy_violation","rate_limit_exceeded","model_not_allowed","token_limit_exceeded"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":true,"code":"gateway_error","message":"Missing required variable: user_name"},"examples":{"Example":{"title":"Example","value":{"error":true,"code":"gateway_error","message":"Missing required variable: user_name"}}},"exampleType":"examples"}},"exampleType":"examples"},"16f7a19a-8979-4c07-b628-3ca0371c1a7f":{"description":"Authentication failed.","content":{"application/json":{"schema":{"type":"object","required":["error","code","message"],"properties":{"error":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"error","typeLabel":"enum\u003cboolean>"},"code":{"type":"string","enum":["unauthorized","gateway_error","provider_error","forbidden","policy_violation","rate_limit_exceeded","model_not_allowed","token_limit_exceeded"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":true,"code":"unauthorized","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"67c94114-446c-436e-a112-81c324c3e41c":{"description":"Prompt not found, has no published version, or the specified version does not exist.","content":{"application/json":{"schema":{"type":"object","required":["error","code","message"],"properties":{"error":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"error","typeLabel":"enum\u003cboolean>"},"code":{"type":"string","enum":["unauthorized","gateway_error","provider_error","forbidden","policy_violation","rate_limit_exceeded","model_not_allowed","token_limit_exceeded"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":true,"code":"gateway_error","message":"Prompt not found or has no published version"},"examples":{"Example":{"title":"Example","value":{"error":true,"code":"gateway_error","message":"Prompt not found or has no published version"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"0b1ec3d5-d818-4ba9-82c4-d6450eabba8a":{"BearerToken":{"type":"http","scheme":"bearer","description":"OIDC JWT issued by your auth provider (Alpha).\nFull self-serve configuration is coming soon — [contact us](mailto:hello@gatelit.dev) for early access.\nUse this for browser/frontend clients where a user is signed in.\n","scopes":[],"schemeName":"BearerToken"}},"2877e1bf-aad8-4470-b454-0baeea45ccd5":{"GatelitSigned":{"type":"apiKey","in":"header","name":"Authorization","description":"Short-lived HMAC-signed token obtained via token exchange.\nFormat: `GatelitSigned \u003ctoken>`\n\nExchange a service key for a signed token via `POST /v1/auth/token`:\n```ts\nimport { exchangeToken } from \"@gatelit/sdk\"\nconst { token } = await exchangeToken({\n gatewayUrl: \"https://gateway.gatelit.dev\",\n serviceKey: process.env.GATELIT_SERVICE_KEY!,\n sub: \"user-123\",\n ttl: 60,\n})\n```\n","scopes":[],"schemeName":"GatelitSigned"}},"a249af87-374c-475f-a753-30ca6fe90057":{"GatelitKey":{"type":"apiKey","in":"header","name":"Authorization","description":"Long-lived service key for backend-to-backend use.\nFormat: `GatelitKey glk_...`\n\nCreate service keys in the dashboard under Settings → Service Keys.\n","scopes":[],"schemeName":"GatelitKey"}}},"servers":{"27652b57-ae9a-4757-97cd-462fe4275096":{"url":"https://gateway.gatelit.dev","description":"Your gateway URL"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"OIDC JWT issued by your auth provider (Alpha).\nFull self-serve configuration is coming soon — [contact us](mailto:hello@gatelit.dev) for early access.\nUse this for browser/frontend clients where a user is signed in.\n","scopes":[],"schemeName":"BearerToken"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"OIDC JWT issued by your auth provider (Alpha).\nFull self-serve configuration is coming soon — [contact us](mailto:hello@gatelit.dev) for early access.\nUse this for browser/frontend clients where a user is signed in.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerToken","name":"Authorization"}],"title":"BearerToken"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","description":"Short-lived HMAC-signed token obtained via token exchange.\nFormat: `GatelitSigned \u003ctoken>`\n\nExchange a service key for a signed token via `POST /v1/auth/token`:\n```ts\nimport { exchangeToken } from \"@gatelit/sdk\"\nconst { token } = await exchangeToken({\n gatewayUrl: \"https://gateway.gatelit.dev\",\n serviceKey: process.env.GATELIT_SERVICE_KEY!,\n sub: \"user-123\",\n ttl: 60,\n})\n```\n","scopes":[],"schemeName":"GatelitSigned"},"schema":{"title":"Authorization","type":"string","description":"Short-lived HMAC-signed token obtained via token exchange.\nFormat: `GatelitSigned \u003ctoken>`\n\nExchange a service key for a signed token via `POST /v1/auth/token`:\n```ts\nimport { exchangeToken } from \"@gatelit/sdk\"\nconst { token } = await exchangeToken({\n gatewayUrl: \"https://gateway.gatelit.dev\",\n serviceKey: process.env.GATELIT_SERVICE_KEY!,\n sub: \"user-123\",\n ttl: 60,\n})\n```\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"GatelitSigned","name":"Authorization"}],"title":"GatelitSigned"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","description":"Long-lived service key for backend-to-backend use.\nFormat: `GatelitKey glk_...`\n\nCreate service keys in the dashboard under Settings → Service Keys.\n","scopes":[],"schemeName":"GatelitKey"},"schema":{"title":"Authorization","type":"string","description":"Long-lived service key for backend-to-backend use.\nFormat: `GatelitKey glk_...`\n\nCreate service keys in the dashboard under Settings → Service Keys.\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"GatelitKey","name":"Authorization"}],"title":"GatelitKey"}]},"originalFileLocation":"gateway/openapi.yaml"},"subdomain":"gatelit","siteName":"Gatelit","title":"Run Prompt - Gatelit","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-21T21:30:34.192Z","originalFileLocation":"gateway/api-reference/prompt-run.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=\"Execute a saved prompt by slug with variable interpolation.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Gatelit\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gatelit/O8gMkp8jxt9Ymk-U/_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/gatelit/O8gMkp8jxt9Ymk-U/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gatelit/O8gMkp8jxt9Ymk-U/_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/gatelit/O8gMkp8jxt9Ymk-U/_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/gatelit/O8gMkp8jxt9Ymk-U/_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/gatelit/O8gMkp8jxt9Ymk-U/_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/gatelit/O8gMkp8jxt9Ymk-U/_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/gatelit/O8gMkp8jxt9Ymk-U/_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/gatelit/O8gMkp8jxt9Ymk-U/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Run Prompt - Gatelit\">\u003cmeta data-mint-head property=\"og:description\" content=\"Execute a saved prompt by slug with variable interpolation.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Gatelit\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gatelit.dev/gateway/api-reference/prompt-run\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gatelit.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Run+Prompt\u0026amp;description=Execute+a+saved+prompt+by+slug+with+variable+interpolation.\u0026amp;theme=bb48ac3e5427060fc772bf6f\u0026amp;signature=21e53adb7a8b8003444ad178ec673810f9ab5917cd62549dd348c3b2c5012293\">\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=\"Run Prompt - Gatelit\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Execute a saved prompt by slug with variable interpolation.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gatelit.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Run+Prompt\u0026amp;description=Execute+a+saved+prompt+by+slug+with+variable+interpolation.\u0026amp;theme=bb48ac3e5427060fc772bf6f\u0026amp;signature=21e53adb7a8b8003444ad178ec673810f9ab5917cd62549dd348c3b2c5012293\">\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/gatelit/O8gMkp8jxt9Ymk-U/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Gatelit\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366f1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gatelit.dev/gateway/api-reference/prompt-run\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/gateway/api-reference/prompt-run.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gatelit.dev/#organization\",\"name\":\"Gatelit\",\"url\":\"https://docs.gatelit.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gatelit/nfB0Pw2EV0_b488r/logo/gatelit-light.svg?fit=max\u0026auto=format\u0026n=nfB0Pw2EV0_b488r\u0026q=85\u0026s=ca585002ed63491bf132b671e8032c55\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gatelit.dev#website\",\"name\":\"Gatelit\",\"url\":\"https://docs.gatelit.dev\",\"publisher\":{\"@id\":\"https://docs.gatelit.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gatelit.dev/gateway/api-reference/prompt-run#webpage\",\"url\":\"https://docs.gatelit.dev/gateway/api-reference/prompt-run\",\"name\":\"Run Prompt\",\"description\":\"Execute a saved prompt by slug with variable interpolation.\",\"dateModified\":\"2026-10-21T21:30:34.192Z\",\"isPartOf\":{\"@id\":\"https://docs.gatelit.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gatelit.dev/gateway/api-reference/prompt-run#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gatelit.dev/gateway/api-reference/prompt-run#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.gatelit.dev/gateway/api-reference/chat-completions\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Run Prompt\",\"item\":\"https://docs.gatelit.dev/gateway/api-reference/prompt-run\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.gatelit.dev/gateway/api-reference/prompt-run#apireference\",\"headline\":\"Run Prompt\",\"name\":\"Run Prompt\",\"description\":\"Execute a saved prompt by slug with variable interpolation.\",\"url\":\"https://docs.gatelit.dev/gateway/api-reference/prompt-run\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gatelit.dev/gateway/api-reference/prompt-run#webpage\"},\"dateModified\":\"2026-10-21T21:30:34.192Z\",\"publisher\":{\"@id\":\"https://docs.gatelit.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gatelit.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Gatelit\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Gatelit","nav":{"global":null,"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":"/quickstart"}]},{"tab":"Gateway","groups":[{"group":"How it works","pages":[{"title":"Gateway overview","href":"/gateway/overview"},{"title":"Authentication","href":"/gateway/authentication"},{"title":"Models","href":"/gateway/models"},{"title":"Metadata","href":"/gateway/metadata"},{"title":"Conventions","href":"/gateway/conventions"},{"title":"Errors","href":"/gateway/errors"}]},{"group":"API Reference","pages":[{"title":"Chat Completions","openapi":"post /v1/chat/completions","href":"/gateway/api-reference/chat-completions"},{"title":"Token Exchange","description":"Exchange a long-lived service key for a short-lived signed token.","openapi":"post /v1/auth/token","href":"/gateway/api-reference/token-exchange"},{"title":"Run Prompt","openapi":"post /v1/prompts/{slug}/run","href":"/gateway/api-reference/prompt-run"},{"title":"Health Check","description":"Gateway liveness check. No authentication required.","openapi":"get /health","href":"/gateway/api-reference/health"}]}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/sdk/typescript/overview"}]},{"tab":"Dashboard","pages":[{"title":"Dashboard","href":"/dashboard/providers"}]}]},"basePath":"","title":"Run Prompt - Gatelit","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Myd8dsju.js","utils-C2HkQgW0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-8rSppmTv.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B6MjiCFm.js","snippetPresets-DwrSAONL.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-1-a5UQKQ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C541m7wZ.js","shallow-CWELCZ77.js","getApiPlaygroundDisplay-CTo5Zn03.js","CodeSnippet-D--dzvnl.js","CodeSnippets-DM3cXEDh.js","Page-CxAy5y67.js","getPastedJson-C-VECgcL.js","icon-BPq2-Mg3.js","MethodPill-D9J5cUHd.js","DuplicateIcon-BqHaxUnD.js","createIcon-CIbcZHp9.js","DynamicMarkdown-BKiHAm_d.js","SectionHeading-DstQXt3H.js","axios-vUo_bRtp.js","Markdown-CpxgzsKA.js","clsx-C5EfhVm0.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CJ9Oly2E.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Mk6P3qvh.js"]}