{
"error": {
"code": "provider_not_configured",
"message": "Live model providers are not connected in this build. No credits were reserved or charged."
}
}
Get started
Your first request
From one API key to a clear, traceable generation flow.
{
"error": {
"code": "provider_not_configured",
"message": "Live model providers are not connected in this build. No credits were reserved or charged."
}
}
API preview: generation providers are not connected. An authenticated request can return 503 without creating a task or charging credits.
APIstable is being built in two stages: the website, account system, and execution architecture first; real model providers next. The model catalog and prices currently illustrate the contract. They are not a claim that paid inference is available.Examples on these pages describe the API preview. A provider-not-configured response is expected until a route is enabled. Copying a code example does not execute it or spend credits.Explore the model catalog
Sign in and open Console → API Keys. Save the complete key when it is created; it is only revealed once. Use a separate key for each app or environment.
Replace the example origin with your APIstable deployment. API keys belong in your server environment, never in browser code, query strings, or public repositories.
Choose an exact model ID and validate the input. A quote shows the eligible low-cost and official routes, the price per result, and the maximum reservation for the whole request. Direct API clients may submit without a separate quote call; the server still calculates and validates the price.For images and videos, output_count creates 1–4 result items. fallback is off by default. When enabled, each item can independently try the official route after a confirmed eligible failure.Create a taskUnderstand credits
An accepted media request returns HTTP 202 and a stable task_id. Keep it and query that task instead of submitting again. A network timeout does not tell you whether the supplier accepted the generation.
Poll at a sensible interval and respect Retry-After. Check queued, running, falling_back, and reconciliation_required as non-final states.
Read each item, including successful results in a partially completed task. Download files before expires_at.
A failed notification does not invalidate a completed generation or repeat its charge.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"APIstable","colors":{"primary":"#6256e8","light":"#7468f2","dark":"#a9a0ff"},"api":{"playground":{"display":"interactive","proxy":true},"examples":{"languages":["curl","javascript","python"]}},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":"en/quickstart"},{"language":"cn","href":"cn/quickstart"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"apistable","hasAudioNarration":false,"actualSubdomain":"apistable","customDomains":[],"gitSource":{"type":"artifacts","owner":"prod","repo":"e3efe432bfca6de9b68154bf","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6ae5e3ed778ca28c5ec178e9"},"entitlements":{},"buildId":"6ae5e44b511388ce7ebc68a1","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"cn","tag":"接口参考","count":6},{"language":"cn","tag":"核心概念","count":6},{"language":"en","tag":"API reference","count":6},{"language":"en","tag":"Core concepts","count":6},{"language":"cn","tag":"快速开始","count":2},{"language":"en","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":"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":"byok-sep-25","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":"billing-updated-9-15","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"en/quickstart","slug":"/en/quickstart","pageMetadata":{"title":"Your first request","description":"From one API key to a clear, traceable generation flow.","openapi":"openapi.json POST /v1/tasks","href":"/en/quickstart"},"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: \"From one API key to a clear, traceable generation flow.\"\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`,blockquote:`blockquote`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`API preview: generation providers are not connected. An authenticated request can return 503 without creating a task or charging credits.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`start-with-the-preview`,children:`Start with the preview`}),`\n`,_jsx(_components.p,{children:`APIstable is being built in two stages: the website, account system, and execution architecture first; real model providers next. The model catalog and prices currently illustrate the contract. They are not a claim that paid inference is available.`}),`\n`,_jsx(_components.p,{children:`Examples on these pages describe the API preview. A provider-not-configured response is expected until a route is enabled. Copying a code example does not execute it or spend credits.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://apistable.com/models`,children:`Explore the model catalog`})}),`\n`,_jsx(Heading,{level:`2`,id:`what-works-in-this-build`,children:`What works in this build`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Endpoint`}),_jsx(_components.th,{children:`Current behavior`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`GET /v1/models`}),_jsx(_components.td,{children:`Public preview catalog; no key required.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`POST /v1/quotes`}),_jsx(_components.td,{children:`Public input validation and sample pricing; no key required and no credit reservation.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`GET /v1/balance`}),_jsx(_components.td,{children:`Requires a valid key with usage:read and a connected database.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`GET /v1/tasks and /v1/tasks/`}),_jsx(_components.td,{children:`Reads stored account tasks with usage:read; an unknown ID returns 404.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`POST /v1/tasks and /v1/chat/completions`}),_jsx(_components.td,{children:`After authentication and applicable validation: HTTP 503 provider_not_configured; no live generation or credit charge.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://apistable.com/openapi.json`,children:`OpenAPI JSON`}),`\n`,_jsx(_components.a,{href:`https://apistable.com/llms.txt`,children:`LLM-readable guide`})]}),`\n`,_jsx(Heading,{level:`2`,id:`1-create-an-api-key`,children:`1. Create an API key`}),`\n`,_jsx(_components.p,{children:`Sign in and open Console → API Keys. Save the complete key when it is created; it is only revealed once. Use a separate key for each app or environment.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,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:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` APISTABLE_BASE_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.example.com\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` APISTABLE_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` APISTABLE_IDEMPOTENCY_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_UNIQUE_OPERATION_KEY\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`Replace the example origin with your APIstable deployment. API keys belong in your server environment, never in browser code, query strings, or public repositories.`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://apistable.com/console/keys`,children:`Manage API keys`})}),`\n`,_jsx(Heading,{level:`2`,id:`2-quote-then-submit`,children:`2. Quote, then submit`}),`\n`,_jsx(_components.p,{children:`Choose an exact model ID and validate the input. A quote shows the eligible low-cost and official routes, the price per result, and the maximum reservation for the whole request. Direct API clients may submit without a separate quote call; the server still calculates and validates the price.`}),`\n`,_jsx(_components.p,{children:`For images and videos, output_count creates 1–4 result items. fallback is off by default. When enabled, each item can independently try the official route after a confirmed eligible failure.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/en/create-task`,children:`Create a task`}),`\n`,_jsx(_components.a,{href:`/en/credits`,children:`Understand credits`})]}),`\n`,_jsx(Heading,{level:`2`,id:`3-keep-the-task-id`,children:`3. Keep the task ID`}),`\n`,_jsx(_components.p,{children:`An accepted media request returns HTTP 202 and a stable task_id. Keep it and query that task instead of submitting again. A network timeout does not tell you whether the supplier accepted the generation.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Poll at a sensible interval and respect Retry-After. Check queued, running, falling_back, and reconciliation_required as non-final states.`}),`\n`,_jsx(_components.li,{children:`Read each item, including successful results in a partially completed task. Download files before expires_at.`}),`\n`,_jsx(_components.li,{children:`A failed notification does not invalidate a completed generation or repeat its charge.`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`/en/query-task`,children:`Query a task`})})]})}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":"Your first request","description":"From one API key to a clear, traceable generation flow.","openapi":"openapi.json POST /v1/tasks","href":"/en/quickstart"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Start with the preview","slug":"start-with-the-preview","depth":2,"children":[]},{"title":"What works in this build","slug":"what-works-in-this-build","depth":2,"children":[]},{"title":"1. Create an API key","slug":"1-create-an-api-key","depth":2,"children":[]},{"title":"2. Quote, then submit","slug":"2-quote-then-submit","depth":2,"children":[]},{"title":"3. Keep the task ID","slug":"3-keep-the-task-id","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createTaskPreview","tags":["Tasks"],"summary":"Generation submission placeholder / 生成提交预览","security":["2cd05718-3f91-4406-9abd-af7f977b63c8"],"description":"From one API key to a clear, traceable generation flow.","parameters":["9c01935e-d4e0-4317-b2b7-1ac688a7af50"],"requestBody":"26f4c347-42dc-471e-add8-613f88794296","responses":{"400":"b3dbcd6c-1b33-49a2-9d95-f80c0aebab9a","401":"f16869f9-b79e-432d-bd13-6c4d69f9b13e","403":"827869f1-d5bc-47bf-90b9-4046edf15afb","404":"aad0b906-eb50-4f10-aaad-b8989de307a7","413":"f9929c6f-72d9-42f5-97b8-c23117e5d3ed","422":"33891754-c0b0-434d-a97e-e20a818d1758","503":"ab027c65-2d62-4609-b799-33df36e496fd"},"method":"post","type":"path","servers":["68fcffb3-177d-4931-8788-1cd087a22ddd"],"path":"/v1/tasks","baseUrlOptions":["https://apistable.com"],"title":"Generation submission placeholder / 生成提交预览","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"9c01935e-d4e0-4317-b2b7-1ac688a7af50":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","isRequired":false,"description":"Reserved for live acceptance. No task is currently created or deduplicated by this header.","uniqueKey":"","typeLabel":"string"},"description":"Reserved for live acceptance. No task is currently created or deduplicated by this header."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["model","input"],"properties":{"model":{"type":"string","minLength":1,"example":"prism-image-2","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"input":{"type":"object","additionalProperties":false,"required":["prompt"],"description":"Current preview input. Supported fields vary by modality and exact catalog model. No live provider mapping is implied.","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000,"isRequired":true,"uniqueKey":"input.prompt","typeLabel":"string"},"duration_seconds":{"type":"integer","description":"Video-only; must match the model duration list.","uniqueKey":"input.duration_seconds","typeLabel":"integer"},"resolution":{"type":"string","description":"Must match the model resolution list.","uniqueKey":"input.resolution","typeLabel":"string"},"aspect_ratio":{"type":"string","enum":["16:9","9:16","1:1","4:3"],"uniqueKey":"input.aspect_ratio","typeLabel":"enum\u003cstring>"},"seed":{"type":"integer","minimum":0,"uniqueKey":"input.seed","typeLabel":"integer"},"generate_audio":{"type":"boolean","description":"Video only, subject to model support.","uniqueKey":"input.generate_audio","typeLabel":"boolean"},"instrumental":{"type":"boolean","description":"Music only.","uniqueKey":"input.instrumental","typeLabel":"boolean"},"lyrics":{"type":"string","maxLength":5000,"description":"Music only.","uniqueKey":"input.lyrics","typeLabel":"string"}},"isRequired":true,"uniqueKey":"input","typeLabel":"object"},"output_count":{"type":"integer","minimum":1,"maximum":4,"default":1,"description":"Target result count. Images/videos accept 1–4; music and LLM must remain 1. Not a concurrency guarantee. / 目标结果数,非同时并发保证。","uniqueKey":"output_count","typeLabel":"integer"},"fallback":{"type":"boolean","default":false,"description":"Authorizes a higher-priced compatible official fallback after an eligible confirmed failure. Live execution is disabled in this build.","uniqueKey":"fallback","typeLabel":"boolean"},"max_credits":{"type":"integer","minimum":0,"description":"Whole-request reservation cap. Reject the entire request when max_reserved_credits exceeds it.","uniqueKey":"max_credits","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"model":"prism-image-2","input":{"prompt":"\u003cstring>","duration_seconds":123,"resolution":"\u003cstring>","seed":1,"generate_audio":true,"instrumental":true,"lyrics":"\u003cstring>"},"output_count":1,"fallback":false,"max_credits":1}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"b3dbcd6c-1b33-49a2-9d95-f80c0aebab9a":{"description":"Invalid or unsupported input","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"f16869f9-b79e-432d-bd13-6c4d69f9b13e":{"description":"invalid_api_key","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"827869f1-d5bc-47bf-90b9-4046edf15afb":{"description":"insufficient_scope","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"aad0b906-eb50-4f10-aaad-b8989de307a7":{"description":"model_not_found","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"f9929c6f-72d9-42f5-97b8-c23117e5d3ed":{"description":"payload_too_large","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"33891754-c0b0-434d-a97e-e20a818d1758":{"description":"credit_limit_exceeded","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"ab027c65-2d62-4609-b799-33df36e496fd":{"description":"provider_not_configured, model_unavailable, or service_unavailable. No live work is accepted.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"provider_not_configured","message":"Live model providers are not connected in this build. No credits were reserved or charged."}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"provider_not_configured","message":"Live model providers are not connected in this build. No credits were reserved or charged."}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"2cd05718-3f91-4406-9abd-af7f977b63c8":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"APIstable API key","description":"API key beginning as_. Keep on the server. Scope permissions are checked separately.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"68fcffb3-177d-4931-8788-1cd087a22ddd":{"url":"https://apistable.com","description":"APIstable API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"APIstable API key","description":"API key beginning as_. Keep on the server. Scope permissions are checked separately.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key beginning as_. Keep on the server. Scope permissions are checked separately.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"apistable","siteName":"APIstable","title":"Your first request - APIstable","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/quickstart","matchLevel":0},"cn":{"href":"/cn/quickstart","matchLevel":1}}},"lastModified":"2026-10-31T12:51:27.187Z","originalFileLocation":"en/quickstart.mdx","locale":"en"},"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=\"From one API key to a clear, traceable generation flow.\">\u003cmeta data-mint-head name=\"application-name\" content=\"APIstable\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/apistable/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/apistable/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/apistable/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/apistable/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Your first request - APIstable\">\u003cmeta data-mint-head property=\"og:description\" content=\"From one API key to a clear, traceable generation flow.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"APIstable\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://apistable.mintlify.app/en/quickstart\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://apistable.mintlify.app/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Your+first+request\u0026amp;description=From+one+API+key+to+a+clear%2C+traceable+generation+flow.\u0026amp;theme=0021cbb4aa87915489c6b7ac\u0026amp;signature=f5a1fd0f22a0a21f8ca4dd0bf6341160a199529ec272cb1d1a8468e036d509b8\">\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=\"Your first request - APIstable\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"From one API key to a clear, traceable generation flow.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://apistable.mintlify.app/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Your+first+request\u0026amp;description=From+one+API+key+to+a+clear%2C+traceable+generation+flow.\u0026amp;theme=0021cbb4aa87915489c6b7ac\u0026amp;signature=f5a1fd0f22a0a21f8ca4dd0bf6341160a199529ec272cb1d1a8468e036d509b8\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/apistable/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"APIstable\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6256e8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://apistable.mintlify.app/en/quickstart\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/quickstart.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://apistable.mintlify.app/en/quickstart\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://apistable.mintlify.app/cn/quickstart\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://apistable.mintlify.app/en/quickstart\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://apistable.mintlify.app/#organization\",\"name\":\"APIstable\",\"url\":\"https://apistable.mintlify.app\"},{\"@type\":\"WebSite\",\"@id\":\"https://apistable.mintlify.app#website\",\"name\":\"APIstable\",\"url\":\"https://apistable.mintlify.app\",\"publisher\":{\"@id\":\"https://apistable.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://apistable.mintlify.app/en/quickstart#webpage\",\"url\":\"https://apistable.mintlify.app/en/quickstart\",\"name\":\"Your first request\",\"description\":\"From one API key to a clear, traceable generation flow.\",\"dateModified\":\"2026-10-31T12:51:27.187Z\",\"isPartOf\":{\"@id\":\"https://apistable.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://apistable.mintlify.app/en/quickstart#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://apistable.mintlify.app/en/quickstart#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"APIstable\",\"item\":\"https://apistable.mintlify.app\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Your first request\",\"item\":\"https://apistable.mintlify.app/en/quickstart\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://apistable.mintlify.app/en/quickstart#apireference\",\"headline\":\"Your first request\",\"name\":\"Your first request\",\"description\":\"From one API key to a clear, traceable generation flow.\",\"url\":\"https://apistable.mintlify.app/en/quickstart\",\"mainEntityOfPage\":{\"@id\":\"https://apistable.mintlify.app/en/quickstart#webpage\"},\"dateModified\":\"2026-10-31T12:51:27.187Z\",\"publisher\":{\"@id\":\"https://apistable.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://apistable.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"APIstable\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"APIstable","nav":{"global":null,"languages":[{"language":"en","groups":[{"group":"Get started","pages":[{"title":"Your first request","openapi":"openapi.json POST /v1/tasks","href":"/en/quickstart"},{"title":"Authentication","description":"Website sessions and application API keys serve different purposes.","href":"/en/authentication"}]},{"group":"API reference","pages":[{"title":"List models","openapi":"openapi.json GET /v1/models","href":"/en/models"},{"title":"List tasks","openapi":"openapi.json GET /v1/tasks","href":"/en/list-tasks"},{"title":"Get a quote","openapi":"openapi.json POST /v1/quotes","href":"/en/quotes"},{"title":"Create a task","openapi":"openapi.json POST /v1/tasks","href":"/en/create-task"},{"title":"Query a task","openapi":"openapi.json GET /v1/tasks/{id}","href":"/en/query-task"},{"title":"LLM \u0026 streaming","openapi":"openapi.json POST /v1/chat/completions","href":"/en/llm"}]},{"group":"Core concepts","pages":[{"title":"Multiple results","href":"/en/outputs"},{"title":"Routing \u0026 fallback","href":"/en/fallback"},{"title":"Credits \u0026 billing","openapi":"openapi.json GET /v1/balance","href":"/en/credits"},{"title":"Music works \u0026 assets","href":"/en/music"},{"title":"Callbacks \u0026 polling","href":"/en/webhooks"},{"title":"Errors \u0026 idempotency","href":"/en/errors"}]}]},{"language":"cn","pages":[{"title":"cn","href":"/cn/quickstart"}]}]},"basePath":"","title":"Your first request - APIstable","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js","Markdown-D7QRHV3m.js","clsx-D1Z-ELXV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-lvhuD9Du.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CKfC4ywL.js"]}