Reads one run from stored state. Requires runs_read. Never calls the model, so reading a run is free.
A completed run carries its verdict or decision, plus usage and cost_micros. Stored reads omit cost_basis and schema_enforcement, and a stored decision omits model, stages and the thought fields. A run that is not completed returns the run without an answer.
run_ followed by 32 hex characters, as the API returns it. The hyphenated form the usage routes return is also accepted.
Response
The run as stored.
A run. A completed run carries verdict or decision, never both. Absent optional fields are omitted, not null. Stored reads (replays, retrieve, stream, list rows) omit cost_basis and schema_enforcement; list rows also omit the answer, usage and cost.
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"OpenType Docs","description":"OpenType answers typed questions about your data in one model call per run. Send a state and a set of questions; get calibrated answers back.","colors":{"primary":"#0A7A3B","light":"#2DEC80","dark":"#0A7A3B"},"logo":{"light":"https://mintcdn.com/opentype/nqaaLldDOctxoCbH/logo/light.svg?fit=max\u0026auto=format\u0026n=nqaaLldDOctxoCbH\u0026q=85\u0026s=73a92db185691378733575d262c4447f","dark":"https://mintcdn.com/opentype/nqaaLldDOctxoCbH/logo/dark.svg?fit=max\u0026auto=format\u0026n=nqaaLldDOctxoCbH\u0026q=85\u0026s=3cc19793d85db57b7dd672606262a9f8","href":"https://docs.opentype.dev"},"favicon":"https://mintcdn.com/opentype/nqaaLldDOctxoCbH/favicon.svg?fit=max\u0026auto=format\u0026n=nqaaLldDOctxoCbH\u0026q=85\u0026s=220ca1f48e54505dd8638808f8bfe8d8","api":{"params":{"expanded":"closed"},"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["bash","typescript","python"],"autogenerate":true}},"appearance":{"default":"system"},"background":{"color":{"light":"#F7F7F4","dark":"#090A09"}},"navbar":{"links":[{"href":"https://console.opentype.dev","label":"Console"}],"primary":{"type":"button","label":"Get API key","href":"https://console.opentype.dev/keys"}},"footer":{"socials":{"github":"https://github.com/OpentypeAI"},"links":[{"header":"Docs","items":[{"label":"Quickstart","href":"/getting-started/quickstart"},{"label":"Guides","href":"/guides"},{"label":"API reference","href":"/api-reference/introduction"},{"label":"Problem codes","href":"/problems"}]},{"header":"Console","items":[{"label":"Playground","href":"https://console.opentype.dev/playground"},{"label":"API keys","href":"https://console.opentype.dev/keys"},{"label":"Usage","href":"https://console.opentype.dev/usage"},{"label":"Billing","href":"https://console.opentype.dev/billing"}]},{"header":"OpenType","items":[{"label":"Changelog","href":"/reference/changelog"},{"label":"Security","href":"/security"},{"label":"GitHub","href":"https://github.com/OpentypeAI"}]}]},"search":{"prompt":"Search runs, questions, keys and error codes..."},"seo":{"metatags":{"og:site_name":"OpenType","og:image":"https://opentype.dev/og/docs.png","og:image:width":"1200","og:image:height":"630","twitter:card":"summary_large_image","twitter:image":"https://opentype.dev/og/docs.png"},"indexing":"navigable"},"fonts":{"heading":{"family":"Geist"},"body":{"family":"Geist"}},"styling":{"codeblocks":"system","latex":true},"errors":{"404":{"redirect":false,"title":"Page not found","description":"That path is not in the OpenType docs. Try the [quickstart](/getting-started/quickstart) or the [API reference](/api-reference/introduction). If an error code sent you here, the [problem catalog](/problems) explains it."}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Changelog","icon":"clock-rotate-left","href":"/reference/changelog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"opentype","hasAudioNarration":false,"actualSubdomain":"opentype","customDomains":["docs.opentype.dev"],"gitSource":{"type":"github","owner":"opentypeai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6ab5e652539070057e19e4e0","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"Reference","count":53},{"language":"default","tag":"Errors","count":47},{"language":"default","tag":"Problem codes","count":46},{"language":"default","tag":"API reference","count":24},{"language":"default","tag":"Guides","count":22},{"language":"default","tag":"Get started","count":10},{"language":"default","tag":"Overview","count":9},{"language":"default","tag":"Console","count":6},{"language":"default","tag":"Decision runs","count":6},{"language":"default","tag":"Spend and billing","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/runs/retrieve","slug":"/api-reference/runs/retrieve","pageMetadata":{"title":"Retrieve a run","description":"Reads one run from stored state. Requires `runs_read`. Never calls the model, so reading a run is free.\n\nA completed run carries its `verdict` or `decision`, plus `usage` and `cost_micros`. Stored reads omit `cost_basis` and `schema_enforcement`, and a stored decision omits `model`, `stages` and the thought fields. A run that is not completed returns the run without an answer.","deprecated":null,"version":null,"sidebarTitle":"Retrieve","openapi":"/api-reference/openapi.json get /v1/runs/{run_id}","href":"/api-reference/runs/retrieve","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Reads one run from stored state. Requires \", _jsx(_components.code, {\n children: \"runs_read\"\n }), \". Never calls the model, so reading a run is free.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"A completed run carries its \", _jsx(_components.code, {\n children: \"verdict\"\n }), \" or \", _jsx(_components.code, {\n children: \"decision\"\n }), \", plus \", _jsx(_components.code, {\n children: \"usage\"\n }), \" and \", _jsx(_components.code, {\n children: \"cost_micros\"\n }), \". Stored reads omit \", _jsx(_components.code, {\n children: \"cost_basis\"\n }), \" and \", _jsx(_components.code, {\n children: \"schema_enforcement\"\n }), \", and a stored decision omits \", _jsx(_components.code, {\n children: \"model\"\n }), \", \", _jsx(_components.code, {\n children: \"stages\"\n }), \" and the thought fields. A run that is not completed returns the run without an answer.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Retrieve a run","description":"Reads one run from stored state. Requires `runs_read`. Never calls the model, so reading a run is free.\n\nA completed run carries its `verdict` or `decision`, plus `usage` and `cost_micros`. Stored reads omit `cost_basis` and `schema_enforcement`, and a stored decision omits `model`, `stages` and the thought fields. A run that is not completed returns the run without an answer.","deprecated":null,"version":null,"sidebarTitle":"Retrieve","openapi":"/api-reference/openapi.json get /v1/runs/{run_id}","href":"/api-reference/runs/retrieve","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["runs"],"summary":"Retrieve a run","description":"Reads one run from stored state. Requires `runs_read`. Never calls the model, so reading a run is free.\n\nA completed run carries its `verdict` or `decision`, plus `usage` and `cost_micros`. Stored reads omit `cost_basis` and `schema_enforcement`, and a stored decision omits `model`, `stages` and the thought fields. A run that is not completed returns the run without an answer.","operationId":"get_run","parameters":["44666dae-d365-4abc-b59b-95bf83d3a88f"],"responses":{"200":"a36919bb-ae56-4ee0-a073-d35a46613edd","400":"6a47ec7f-98b0-4778-9cd7-5f63fc45ec0c","401":"9455a866-fdaa-493e-b062-5f18739c61af","403":"ec0507cc-257e-4d8b-a9a5-e47e8b81f7b2","404":"7e21cfc6-3db8-48af-9e7c-638b92943bda","429":"8f113fdd-3089-4542-87f5-b5d6723e720c","500":"351236d1-f2d6-470a-ac66-b8398bc0d40b","503":"30f4146c-25c9-4c9c-9ea5-824810709716"},"security":["95c13d19-0044-42ed-b0f1-0f8e628482dc","6cd06db8-e611-4e6e-a940-43fa038e7235"],"x-mint":{"href":"/api-reference/runs/retrieve"},"method":"get","type":"path","servers":["b9e51016-dc72-438c-8be7-eedb6c738623","7768c5d7-e6e0-4d85-aba6-bff93ad8e2a8"],"path":"/v1/runs/{run_id}","baseUrlOptions":["https://api.opentype.dev","https://api.opentype.dev"],"title":"Retrieve a run","codeSamples":[],"requestExampleLanguages":["bash","typescript","python"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"44666dae-d365-4abc-b59b-95bf83d3a88f":{"name":"run_id","in":"path","description":"`run_` followed by 32 hex characters, as the API returns it. The hyphenated form the usage routes return is also accepted.","required":true,"schema":{"type":"string","isRequired":true,"description":"`run_` followed by 32 hex characters, as the API returns it. The hyphenated form the usage routes return is also accepted.","uniqueKey":"","typeLabel":"string"}}},"responses":{"a36919bb-ae56-4ee0-a073-d35a46613edd":{"description":"The run as stored.","content":{"application/json":{"schema":{"type":"object","description":"A run. A completed run carries `verdict` or `decision`, never both. Absent optional fields are omitted, not `null`. Stored reads (replays, retrieve, stream, list rows) omit `cost_basis` and `schema_enforcement`; list rows also omit the answer, `usage` and cost.","required":["run_id","kind","state","input_digest","replayed"],"properties":{"run_id":{"type":"string","description":"`run_` followed by 32 hex characters.","isRequired":true,"uniqueKey":"run_id","typeLabel":"string"},"kind":{"type":"string","description":"Which kind of answer this run produces: look at `verdict` or at `decision`.","enum":["verdict","decision"],"isRequired":true,"uniqueKey":"kind","typeLabel":"enum\u003cstring>"},"state":{"type":"string","enum":["pending","running","completed","failed"],"isRequired":true,"uniqueKey":"state","typeLabel":"enum\u003cstring>"},"input_digest":{"type":"string","description":"64-character hex SHA-256 of the normalized input, kind and contract.","isRequired":true,"uniqueKey":"input_digest","typeLabel":"string"},"replayed":{"type":"boolean","description":"`true` whenever the body came from storage: every replay, retrieve, stream and list row. A replay is never charged again.","isRequired":true,"uniqueKey":"replayed","typeLabel":"boolean"},"output_digest":{"oneOf":[{"type":"string","uniqueKey":"output_digest.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"output_digest.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_digest","typeLabel":"string | null"},"verdict":{"description":"Completed verdict runs: your JSON document, validated against your schema.","uniqueKey":"verdict","typeLabel":"any"},"decision":{"oneOf":[{"type":"null","uniqueKey":"decision.oneOf.0","typeLabel":"null"},{"type":"object","description":"The decision's answer set. Present on a completed decision run.","required":["answers","draws","read"],"properties":{"answers":{"description":"One answer per question, keyed by your question ids. Shapes by `type`: `noul` has `probability`, which is P(yes); `choice` has `choice`, `probabilities` keyed by option name, and `confidence`; `score` has `score` (the expected 0-based level index), `legend`, `probabilities` keyed by index, and `confidence`; `skipped` has `because` (`question`, `answered` when known, `required`) when an `ask_if` failed. Any answer may carry `label_mass` and `answered_within_labels`. Every probability and confidence is between 0 and 1.","isRequired":true,"uniqueKey":"decision.oneOf.1.answers","typeLabel":"any"},"draws":{"type":"integer","format":"int32","description":"Reads averaged.","minimum":0,"isRequired":true,"uniqueKey":"decision.oneOf.1.draws","typeLabel":"integer\u003cint32>"},"read":{"type":"string","description":"What constrained the answers. Only `slot_constrained` is produced today.","enum":["slot_constrained","reconstructed"],"isRequired":true,"uniqueKey":"decision.oneOf.1.read","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","description":"Live responses only. The model that served the run: `neon-1.1`.","example":"neon-1.1","uniqueKey":"decision.oneOf.1.model.oneOf.0","typeLabel":"string"},{"type":"null","description":"Live responses only. The model that served the run: `neon-1.1`.","example":"neon-1.1","uniqueKey":"decision.oneOf.1.model.oneOf.1","typeLabel":"null"}],"uniqueKey":"decision.oneOf.1.model","typeLabel":"string | null"},"stages":{"type":"array","items":{"type":"array","items":{"type":"string","uniqueKey":"decision.oneOf.1.stages.items.[INDEX].items.[INDEX]","typeLabel":"string"},"uniqueKey":"decision.oneOf.1.stages.items.[INDEX]","typeLabel":"string[]"},"description":"Live responses only. Question ids per stage, in the order the stages ran.","uniqueKey":"decision.oneOf.1.stages","typeLabel":"string[][]"},"thought_tokens":{"oneOf":[{"type":"integer","format":"int32","description":"Live responses only, when thought tokens were generated. The thought text is never returned.","minimum":0,"uniqueKey":"decision.oneOf.1.thought_tokens.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","description":"Live responses only, when thought tokens were generated. The thought text is never returned.","minimum":0,"uniqueKey":"decision.oneOf.1.thought_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"decision.oneOf.1.thought_tokens","typeLabel":"integer\u003cint32> | null"},"thought_closed":{"oneOf":[{"type":"boolean","uniqueKey":"decision.oneOf.1.thought_closed.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"decision.oneOf.1.thought_closed.oneOf.1","typeLabel":"null"}],"uniqueKey":"decision.oneOf.1.thought_closed","typeLabel":"boolean | null"}},"uniqueKey":"decision.oneOf.1","typeLabel":"object"}],"uniqueKey":"decision","typeLabel":"null | object"},"usage":{"oneOf":[{"type":"null","uniqueKey":"usage.oneOf.0","typeLabel":"null"},{"type":"object","description":"Tokens the run used.","required":["input_tokens","output_tokens"],"properties":{"input_tokens":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"usage.oneOf.1.input_tokens","typeLabel":"integer\u003cint64>"},"output_tokens":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"usage.oneOf.1.output_tokens","typeLabel":"integer\u003cint64>"}},"uniqueKey":"usage.oneOf.1","typeLabel":"object"}],"uniqueKey":"usage","typeLabel":"null | object"},"cost_micros":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"cost_micros.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"cost_micros.oneOf.1","typeLabel":"null"}],"uniqueKey":"cost_micros","typeLabel":"integer\u003cint64> | null"},"cost_basis":{"oneOf":[{"type":"null","uniqueKey":"cost_basis.oneOf.0","typeLabel":"null"},{"type":"string","description":"Whether `cost_micros` was reported by the model service or estimated from the price list. Present exactly when `cost_micros` is.","enum":["provider_reported","estimated"],"uniqueKey":"cost_basis.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"cost_basis","typeLabel":"null | enum\u003cstring>"},"schema_enforcement":{"oneOf":[{"type":"null","uniqueKey":"schema_enforcement.oneOf.0","typeLabel":"null"},{"type":"string","description":"What constrained the verdict. Present on a fresh verdict run; absent on a replay and on a list row.","enum":["unconstrained","requested","forced","enforced"],"uniqueKey":"schema_enforcement.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"schema_enforcement","typeLabel":"null | enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"run_id":"\u003cstring>","kind":"verdict","state":"pending","input_digest":"\u003cstring>","replayed":true,"output_digest":"\u003cstring>","verdict":"\u003cunknown>","decision":{"answers":"\u003cunknown>","draws":1,"read":"slot_constrained","model":"neon-1.1","stages":[["\u003cstring>"]],"thought_tokens":1,"thought_closed":true},"usage":{"input_tokens":1,"output_tokens":1},"cost_micros":1,"cost_basis":"provider_reported","schema_enforcement":"unconstrained"}}},"exampleType":"generated"}},"exampleType":"generated"},"6a47ec7f-98b0-4778-9cd7-5f63fc45ec0c":{"description":"`invalid_run_id`: not `run_` followed by a UUID.","content":{"application/json":{"schema":{"type":"object","description":"The error envelope, shared by every route. Branch on `error.code`.","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","description":"Stable snake_case code. The only field to branch on.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"violations":{"type":"array","items":{"type":"string","uniqueKey":"error.violations.items.[INDEX]","typeLabel":"string"},"description":"Only on `verdict_schema_violation`: up to 10 JSON Pointers into the rejected document.","uniqueKey":"error.violations","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","request_id":"\u003cstring>","violations":["\u003cstring>"]}}}},"exampleType":"generated"}},"exampleType":"generated"},"9455a866-fdaa-493e-b062-5f18739c61af":{"description":"`missing_credentials` (no bearer credential) or `invalid_credential` (malformed, unknown or revoked).","content":{"application/json":{"schema":{"type":"object","description":"The error envelope, shared by every route. Branch on `error.code`.","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","description":"Stable snake_case code. The only field to branch on.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"violations":{"type":"array","items":{"type":"string","uniqueKey":"error.violations.items.[INDEX]","typeLabel":"string"},"description":"Only on `verdict_schema_violation`: up to 10 JSON Pointers into the rejected document.","uniqueKey":"error.violations","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","request_id":"\u003cstring>","violations":["\u003cstring>"]}}}},"exampleType":"generated"}},"exampleType":"generated"},"ec0507cc-257e-4d8b-a9a5-e47e8b81f7b2":{"description":"`scope_denied`: the credential lacks `runs_read`. A session without an organization gets `no_active_organization`.","content":{"application/json":{"schema":{"type":"object","description":"The error envelope, shared by every route. Branch on `error.code`.","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","description":"Stable snake_case code. The only field to branch on.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"violations":{"type":"array","items":{"type":"string","uniqueKey":"error.violations.items.[INDEX]","typeLabel":"string"},"description":"Only on `verdict_schema_violation`: up to 10 JSON Pointers into the rejected document.","uniqueKey":"error.violations","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","request_id":"\u003cstring>","violations":["\u003cstring>"]}}}},"exampleType":"generated"}},"exampleType":"generated"},"7e21cfc6-3db8-48af-9e7c-638b92943bda":{"description":"`run_not_found`: no run with this id in your organization.","content":{"application/json":{"schema":{"type":"object","description":"The error envelope, shared by every route. Branch on `error.code`.","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","description":"Stable snake_case code. The only field to branch on.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"violations":{"type":"array","items":{"type":"string","uniqueKey":"error.violations.items.[INDEX]","typeLabel":"string"},"description":"Only on `verdict_schema_violation`: up to 10 JSON Pointers into the rejected document.","uniqueKey":"error.violations","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","request_id":"\u003cstring>","violations":["\u003cstring>"]}}}},"exampleType":"generated"}},"exampleType":"generated"},"8f113fdd-3089-4542-87f5-b5d6723e720c":{"description":"Your organization is sending too many requests at once. Retry with backoff.","content":{"application/json":{"schema":{"type":"object","description":"The error envelope, shared by every route. Branch on `error.code`.","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","description":"Stable snake_case code. The only field to branch on.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"violations":{"type":"array","items":{"type":"string","uniqueKey":"error.violations.items.[INDEX]","typeLabel":"string"},"description":"Only on `verdict_schema_violation`: up to 10 JSON Pointers into the rejected document.","uniqueKey":"error.violations","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","request_id":"\u003cstring>","violations":["\u003cstring>"]}}}},"exampleType":"generated"}},"exampleType":"generated"},"351236d1-f2d6-470a-ac66-b8398bc0d40b":{"description":"`internal_error`: an unexpected failure. Report the `request_id`.","content":{"application/json":{"schema":{"type":"object","description":"The error envelope, shared by every route. Branch on `error.code`.","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","description":"Stable snake_case code. The only field to branch on.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"violations":{"type":"array","items":{"type":"string","uniqueKey":"error.violations.items.[INDEX]","typeLabel":"string"},"description":"Only on `verdict_schema_violation`: up to 10 JSON Pointers into the rejected document.","uniqueKey":"error.violations","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","request_id":"\u003cstring>","violations":["\u003cstring>"]}}}},"exampleType":"generated"}},"exampleType":"generated"},"30f4146c-25c9-4c9c-9ea5-824810709716":{"description":"`database_unavailable` or `not_configured`. Also `auth_not_configured` or `trust_keys_unavailable` when credentials cannot be verified.","content":{"application/json":{"schema":{"type":"object","description":"The error envelope, shared by every route. Branch on `error.code`.","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","description":"Stable snake_case code. The only field to branch on.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"violations":{"type":"array","items":{"type":"string","uniqueKey":"error.violations.items.[INDEX]","typeLabel":"string"},"description":"Only on `verdict_schema_violation`: up to 10 JSON Pointers into the rejected document.","uniqueKey":"error.violations","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","request_id":"\u003cstring>","violations":["\u003cstring>"]}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"95c13d19-0044-42ed-b0f1-0f8e628482dc":{"bearer":{"type":"http","scheme":"bearer","description":"An API key (otsk_ + 64 hex) or a console session token.","scopes":[]}},"6cd06db8-e611-4e6e-a940-43fa038e7235":{"bearer":{"type":"http","scheme":"bearer","description":"An API key (otsk_ + 64 hex) or a console session token.","scopes":[]}}},"servers":{"b9e51016-dc72-438c-8be7-eedb6c738623":{"url":"https://api.opentype.dev","description":"Production"},"7768c5d7-e6e0-4d85-aba6-bff93ad8e2a8":{"url":"https://api.opentype.dev","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An API key (otsk_ + 64 hex) or a console session token.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An API key (otsk_ + 64 hex) or a console session token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An API key (otsk_ + 64 hex) or a console session token.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An API key (otsk_ + 64 hex) or a console session token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"opentype","siteName":"OpenType Docs","title":"Retrieve a run - OpenType Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-25T03:10:31.335Z","originalFileLocation":"api-reference/runs/retrieve.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=\"Reads one run from stored state. Requires runs_read. Never calls the model, so reading a run is free. A completed run carries its verdict or decision, plus usage and cost_micros. Stored reads omit cost_basis and schema_enforcement, and a stored decision omits model, stages and the thought fields. A run that is not completed returns the run without an answer.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OpenType Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/opentype/MGJu4GHwxVSFKXIS/_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/opentype/MGJu4GHwxVSFKXIS/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/opentype/MGJu4GHwxVSFKXIS/_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/opentype/MGJu4GHwxVSFKXIS/_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/opentype/MGJu4GHwxVSFKXIS/_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/opentype/MGJu4GHwxVSFKXIS/_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/opentype/MGJu4GHwxVSFKXIS/_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/opentype/MGJu4GHwxVSFKXIS/_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/opentype/MGJu4GHwxVSFKXIS/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Retrieve a run - OpenType Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Reads one run from stored state. Requires runs_read. Never calls the model, so reading a run is free. A completed run carries its verdict or decision, plus usage and cost_micros. Stored reads omit cost_basis and schema_enforcement, and a stored decision omits model, stages and the thought fields. A run that is not completed returns the run without an answer.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OpenType\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.opentype.dev/api-reference/runs/retrieve\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://opentype.dev/og/docs.png\">\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=\"Retrieve a run - OpenType Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Reads one run from stored state. Requires runs_read. Never calls the model, so reading a run is free. A completed run carries its verdict or decision, plus usage and cost_micros. Stored reads omit cost_basis and schema_enforcement, and a stored decision omits model, stages and the thought fields. A run that is not completed returns the run without an answer.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://opentype.dev/og/docs.png\">\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/opentype/MGJu4GHwxVSFKXIS/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OpenType Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0A7A3B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.opentype.dev/api-reference/runs/retrieve\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/runs/retrieve.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.opentype.dev/#organization\",\"name\":\"OpenType Docs\",\"url\":\"https://docs.opentype.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/opentype/nqaaLldDOctxoCbH/logo/light.svg?fit=max\u0026auto=format\u0026n=nqaaLldDOctxoCbH\u0026q=85\u0026s=73a92db185691378733575d262c4447f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.opentype.dev#website\",\"name\":\"OpenType Docs\",\"url\":\"https://docs.opentype.dev\",\"publisher\":{\"@id\":\"https://docs.opentype.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.opentype.dev/api-reference/runs/retrieve#webpage\",\"url\":\"https://docs.opentype.dev/api-reference/runs/retrieve\",\"name\":\"Retrieve a run\",\"description\":\"Reads one run from stored state. Requires runs_read. Never calls the model, so reading a run is free. A completed run carries its verdict or decision, plus usage and cost_micros. Stored reads omit cost_basis and schema_enforcement, and a stored decision omits model, stages and the thought fields. A run that is not completed returns the run without an answer.\",\"dateModified\":\"2026-09-25T03:10:31.335Z\",\"isPartOf\":{\"@id\":\"https://docs.opentype.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.opentype.dev/api-reference/runs/retrieve#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.opentype.dev/api-reference/runs/retrieve#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Runs\",\"item\":\"https://docs.opentype.dev/api-reference/runs/create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Retrieve a run\",\"item\":\"https://docs.opentype.dev/api-reference/runs/retrieve\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.opentype.dev/api-reference/runs/retrieve#apireference\",\"headline\":\"Retrieve a run\",\"name\":\"Retrieve a run\",\"description\":\"Reads one run from stored state. Requires runs_read. Never calls the model, so reading a run is free. A completed run carries its verdict or decision, plus usage and cost_micros. Stored reads omit cost_basis and schema_enforcement, and a stored decision omits model, stages and the thought fields. A run that is not completed returns the run without an answer.\",\"url\":\"https://docs.opentype.dev/api-reference/runs/retrieve\",\"mainEntityOfPage\":{\"@id\":\"https://docs.opentype.dev/api-reference/runs/retrieve#webpage\"},\"image\":\"https://opentype.dev/og/docs.png\",\"dateModified\":\"2026-09-25T03:10:31.335Z\",\"publisher\":{\"@id\":\"https://docs.opentype.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.opentype.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OpenType Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"OpenType Docs","nav":{"global":{"anchors":[{"anchor":"Changelog","icon":"clock-rotate-left","href":"/reference/changelog"}]},"tabs":[{"tab":"Get started","icon":"rocket","pages":[{"title":"Get started","href":""}]},{"tab":"Console","icon":"desktop","pages":[{"title":"Console","href":"/console"}]},{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":"/guides"}]},{"tab":"Security","icon":"shield-halved","pages":[{"title":"Security","href":"/security"}]},{"tab":"Reference","icon":"book","pages":[{"title":"Reference","href":"/reference"}]},{"tab":"API reference","icon":"code","groups":[{"group":"Overview","icon":"compass","pages":[{"title":"API reference","sidebarTitle":"Introduction","icon":"code","href":"/api-reference/introduction"}]},{"group":"Runs","icon":"play","pages":[{"title":"Create a run","deprecated":null,"version":null,"sidebarTitle":"Create","openapi":"/api-reference/openapi.json post /v1/runs","href":"/api-reference/runs/create"},{"title":"List runs","description":"Lists your organization's runs, newest first. Requires `runs_read`.\n\nRows are stored runs: each carries `replayed: true` and no `verdict`, `decision`, `usage` or cost. Retrieve a run for its answer. Paging is by `limit` and `offset`; there is no cursor. See [Pagination](/guides/pagination).","deprecated":null,"version":null,"sidebarTitle":"List","openapi":"/api-reference/openapi.json get /v1/runs","href":"/api-reference/runs/list"},{"title":"Retrieve a run","deprecated":null,"version":null,"sidebarTitle":"Retrieve","openapi":"/api-reference/openapi.json get /v1/runs/{run_id}","href":"/api-reference/runs/retrieve"},{"title":"Stream a run","description":"Returns the run's stored state as server-sent events, then closes. Requires `runs_read`. Never calls the model, so it cannot charge.\n\nThe body is one snapshot: a `state` event (`{run_id, state}`), then, only when the run is `completed` or `failed`, a `terminal` event with `run_id`, `state`, `input_digest` and `output_digest` (possibly `null`). A completed run's `terminal` event adds `kind` and the whole `verdict` or `decision`. There are no partial-answer events, no `id:` or `retry:` fields, and `Last-Event-ID` is not read. The stream does not wait for a `pending` run: request it again, or poll `GET /v1/runs/{run_id}`. Errors before the stream starts are JSON. See [Streaming](/guides/streaming).","deprecated":null,"version":null,"sidebarTitle":"Stream","openapi":"/api-reference/openapi.json get /v1/runs/{run_id}/stream","href":"/api-reference/runs/stream"}]},{"group":"Model Router","icon":"route","pages":[{"title":"Select a model","deprecated":null,"version":null,"sidebarTitle":"Select","openapi":"/api-reference/openapi.json post /v1/router/select","href":"/api-reference/router/select"},{"title":"List task types","deprecated":null,"version":null,"sidebarTitle":"Task types","openapi":"/api-reference/openapi.json get /v1/router/task-types","href":"/api-reference/router/task-types"},{"title":"List router models","deprecated":null,"version":null,"sidebarTitle":"Models","openapi":"/api-reference/openapi.json get /v1/router/models","href":"/api-reference/router/models"}]},{"group":"API keys","icon":"key","pages":[{"title":"Create an API key","deprecated":null,"version":null,"sidebarTitle":"Create","openapi":"/api-reference/openapi.json post /v1/keys","href":"/api-reference/keys/create"},{"title":"List API keys","deprecated":null,"version":null,"sidebarTitle":"List","openapi":"/api-reference/openapi.json get /v1/keys","href":"/api-reference/keys/list"},{"title":"Retrieve an API key","deprecated":null,"version":null,"sidebarTitle":"Retrieve","openapi":"/api-reference/openapi.json get /v1/keys/{key_id}","href":"/api-reference/keys/retrieve"},{"title":"Rotate an API key","deprecated":null,"version":null,"sidebarTitle":"Rotate","openapi":"/api-reference/openapi.json post /v1/keys/{key_id}/rotate","href":"/api-reference/keys/rotate"},{"title":"Revoke an API key","deprecated":null,"version":null,"sidebarTitle":"Revoke","openapi":"/api-reference/openapi.json delete /v1/keys/{key_id}","href":"/api-reference/keys/revoke"}]},{"group":"Usage and quota","icon":"chart-line","pages":[{"title":"Usage rollup","deprecated":null,"version":null,"sidebarTitle":"Rollup","openapi":"/api-reference/openapi.json get /v1/usage","href":"/api-reference/usage/rollup"},{"title":"Daily usage","deprecated":null,"version":null,"sidebarTitle":"Daily","openapi":"/api-reference/openapi.json get /v1/usage/daily","href":"/api-reference/usage/daily"},{"title":"Usage ledger","deprecated":null,"version":null,"sidebarTitle":"Ledger","openapi":"/api-reference/openapi.json get /v1/usage/ledger","href":"/api-reference/usage/ledger"},{"title":"Run usage","deprecated":null,"version":null,"sidebarTitle":"Run","openapi":"/api-reference/openapi.json get /v1/usage/runs/{run_id}","href":"/api-reference/usage/run"},{"title":"Quota","deprecated":null,"version":null,"sidebarTitle":"Quota","openapi":"/api-reference/openapi.json get /v1/quota","href":"/api-reference/usage/quota"}]},{"group":"Billing","icon":"credit-card","pages":[{"title":"Get billing","deprecated":null,"version":null,"sidebarTitle":"Get","openapi":"/api-reference/openapi.json get /v1/billing","href":"/api-reference/billing/get"},{"title":"Create a checkout","deprecated":null,"version":null,"sidebarTitle":"Checkout","openapi":"/api-reference/openapi.json post /v1/billing/checkout","href":"/api-reference/billing/checkout"},{"title":"Open the billing portal","deprecated":null,"version":null,"sidebarTitle":"Portal","openapi":"/api-reference/openapi.json post /v1/billing/portal","href":"/api-reference/billing/portal"},{"title":"Set auto-recharge","deprecated":null,"version":null,"sidebarTitle":"Auto recharge","openapi":"/api-reference/openapi.json put /v1/billing/auto-recharge","href":"/api-reference/billing/auto-recharge"}]},{"group":"Health","icon":"heart-pulse","pages":[{"title":"Liveness","deprecated":null,"version":null,"sidebarTitle":"Liveness","openapi":"/api-reference/openapi.json get /healthz","href":"/api-reference/health/liveness"},{"title":"Readiness","deprecated":null,"version":null,"sidebarTitle":"Readiness","openapi":"/api-reference/openapi.json get /readyz","href":"/api-reference/health/readiness"}]}]}]},"basePath":"","title":"Retrieve a run - OpenType Docs","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-C945cI-W.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}