Ask once, append text as it arrives, and get a new answer whenever one changes. See Streaming decisions.
Endpoints
Base URL: https://sage.levanto.ai
Method
Path
Key
Purpose
GET
/ready
No
200 when ready, 503 while loading
POST
/decide
Yes
One decision
POST
/decide/batch
Yes
Many decisions
POST
/v1/extract
Yes
Typed values from a document
POST
/v1/extract/batch
Yes
The same fields from many documents
GET
/v1/stream
Yes
Decisions over growing text (WebSocket)
POST
/usage/estimate
Yes
Token count before you send a decision
Was this page helpful?
⌘I
{"docsConfig":{"theme":"linden","$schema":"https://mintlify.com/docs.json","name":"Levanto Sage","description":"Documentation for Sage by Levanto: decisions, extraction and streaming. Typed answers your software can act on, and a clear null when Sage isn't sure.","colors":{"primary":"#1438d4","light":"#8ea4ff","dark":"#1438d4"},"logo":{"light":"https://levanto.ai/brand/levanto-wordmark-blue.svg","dark":"https://levanto.ai/brand/levanto-wordmark-paper.svg","href":"https://levanto.ai"},"favicon":"https://levanto.ai/favicon/android-chrome-192x192.png","appearance":{"default":"light","strict":true},"background":{"color":{"light":"#fdfcf8"}},"navbar":{"links":[{"icon":"download","href":"https://platform.levanto.ai/api/intelligence/skill","label":"Skill"},{"href":"https://levanto.ai","label":"levanto.ai"}],"primary":{"type":"button","label":"Start building","href":"https://platform.levanto.ai/login?mode=google\u0026utm_source=docs.levanto.ai\u0026utm_medium=docs\u0026utm_campaign=docs_nav"}},"footer":{"socials":{"x":"https://x.com/levantolabs","github":"https://github.com/levantolabs","linkedin":"https://www.linkedin.com/company/levantolabs"}},"seo":{"metatags":{"og:image":"https://levanto.ai/opengraph-image.jpg","og:site_name":"Levanto Labs","og:title":"Sage docs | Levanto","og:description":"Sage decides, extracts and streams: your software asks while it runs and gets typed answers it can act on.","og:url":"https://docs.levanto.ai","twitter:card":"summary_large_image","twitter:title":"Sage docs | Levanto","twitter:description":"Sage decides, extracts and streams: your software asks while it runs and gets typed answers it can act on."}},"fonts":{"heading":{"family":"Geist","weight":500},"body":{"family":"Geist"}},"styling":{"codeblocks":{"theme":"github-light"},"latex":false},"integrations":{"ga4":{"measurementId":"G-M9MZLVVFK1"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"levanto","hasAudioNarration":false,"actualSubdomain":"levanto","customDomains":["docs.levanto.ai"],"gitSource":{"type":"github","owner":"mintlify-community","repo":"docs-levanto-29dfcadc","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae86b825d89f58bdbcea96c","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"Decision kinds","count":5},{"language":"default","tag":"Options","count":4},{"language":"default","tag":"Reference","count":4},{"language":"default","tag":"Overview","count":3},{"language":"default","tag":"Extract and stream","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":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"decision-model/quickstart","slug":"/decision-model/quickstart","pageMetadata":{"title":"Quickstart","description":"Your first decision, extraction and stream.","icon":"rocket","href":"/decision-model/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: \"Your first decision, extraction and stream.\"\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,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`get-a-key`,children:`Get a key`}),`\n`,_jsxs(_components.p,{children:[`Create a key (`,_jsx(_components.code,{children:`lv_live_...`}),`) in the dashboard under `,_jsx(_components.strong,{children:`Decision model → API keys`}),`. Send it on every call:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-light`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#fff`,color:`#24292e`,\"--shiki-dark\":`#24292e`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Authorization: Bearer lv_live_...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Never hardcode, log or commit your key. Read it from an environment variable such as `,_jsx(_components.code,{children:`SAGE_API_KEY`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`make-a-decision`,children:`Make a decision`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-light`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#fff`,color:`#24292e`,\"--shiki-dark\":`#24292e`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`endpoint`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D73A49`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`\"https://sage.levanto.ai\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#6F42C1`},children:`curl`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` -s`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` -H`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`$SAGE_API_KEY`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` -H`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` \"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`$endpoint`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`/decide\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` -d`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` '{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` \"content\": \"Marketing email draft promotes '`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:`\\\\'`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`'guaranteed 40% returns'`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:`\\\\'`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`' and describes the product as '`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:`\\\\'`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`'risk-free'`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:`\\\\'`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`' for accredited investors.\",`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` \"question\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` \"id\": \"needs_compliance_review\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` \"kind\": \"yesno\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` \"instructions\": \"Does this copy require compliance review before send?\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`}'`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Response, abridged:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-light`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#fff`,color:`#24292e`,\"--shiki-dark\":`#24292e`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`\"needs_compliance_review\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` \"kind\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`\"yesno\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` \"answer\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`\"yes\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` \"probability\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:`0.9996838679429355`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` \"meta\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`\"levanto-sage-2\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` \"latency_ms\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:`110.5`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` \"usage\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`: { `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:`\"input_tokens\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:`82`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`, `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:`\"output_tokens\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:`0`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` \"reasoning\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`: { `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:`\"ran\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:`false`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`, `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:`\"finished\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`, `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:`\"tokens\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:`null`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`content`}),` is what Sage evaluates (text, a list, or an `,_jsx(_components.a,{href:`/decision-model/images`,children:`image`}),`). `,_jsx(_components.code,{children:`question.kind`}),` picks the decision kind: `,_jsx(_components.code,{children:`yesno`}),`, `,_jsx(_components.code,{children:`choice`}),`, `,_jsx(_components.code,{children:`scale`}),`, `,_jsx(_components.code,{children:`sort`}),` or `,_jsx(_components.code,{children:`tags`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`handle-“not-sure”`,children:`Handle “not sure”`}),`\n`,_jsxs(_components.p,{children:[`Act on yes or no; route `,_jsx(_components.code,{children:`null`}),` to a human. `,_jsx(_components.code,{children:`probability`}),` is there if a workflow needs a stricter bar.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-light`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#fff`,color:`#24292e`,\"--shiki-dark\":`#24292e`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A737D`,\"--shiki-dark\":`#6A737D`},children:`# request.json holds the request body from the step above`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#6F42C1`},children:`curl`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` -s`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` -H`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`$SAGE_API_KEY`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` -H`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` \"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`$endpoint`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`/decide\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` -d`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` @request.json`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D73A49`},children:` |`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#6F42C1`},children:` jq`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` -r`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` '.result`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` | if .answer == null then \"escalate\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` elif .answer == \"yes\" then \"send_to_compliance\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` else \"send\" end'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`extract-data`,children:`Extract data`}),`\n`,_jsx(_components.p,{children:`Say what to find; get typed values back.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-light`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#fff`,color:`#24292e`,\"--shiki-dark\":`#24292e`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#6F42C1`},children:`curl`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` -s`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` -H`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`$SAGE_API_KEY`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` -H`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` \"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`$endpoint`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`/v1/extract\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` -d`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` \"content\": \"Two oat lattes and a croissant, pickup at 8:15 for Dana.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` \"extract\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` \"customer\": \"the name of the customer\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` \"pickup_time\": {\"type\": \"time\"},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` \"items\": [\"an item ordered\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`}'`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D73A49`},children:` |`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#6F42C1`},children:` jq`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:` .values`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-light`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#fff`,color:`#24292e`,\"--shiki-dark\":`#24292e`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` \"customer\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`\"Dana\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` \"pickup_time\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`\"08:15\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#005CC5`},children:` \"items\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`: [`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`\"Two oat lattes\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#032F62`},children:`\"a croissant\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#24292E`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`More in `,_jsx(_components.a,{href:`/extract`,children:`Extraction`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`stream-decisions`,children:`Stream decisions`}),`\n`,_jsxs(_components.p,{children:[`Ask once, append text as it arrives, and get a new answer whenever one changes. See `,_jsx(_components.a,{href:`/stream`,children:`Streaming decisions`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`endpoints`,children:`Endpoints`}),`\n`,_jsxs(_components.p,{children:[`Base URL: `,_jsx(_components.code,{children:`https://sage.levanto.ai`})]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Method`}),_jsx(_components.th,{children:`Path`}),_jsx(_components.th,{children:`Key`}),_jsx(_components.th,{children:`Purpose`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`GET`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/ready`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`200 when ready, 503 while loading`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`POST`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/decide`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`One decision`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`POST`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/decide/batch`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Many decisions`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`POST`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/v1/extract`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Typed values from a document`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`POST`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/v1/extract/batch`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`The same fields from many documents`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`GET`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/v1/stream`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Decisions over growing text (WebSocket)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`POST`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/usage/estimate`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Token count before you send a decision`})]})]})]})]})}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":{"codeStyling":{"theme":"github-light"},"config":{},"pageMetadata":{"title":"Quickstart","description":"Your first decision, extraction and stream.","icon":"rocket","href":"/decision-model/quickstart"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Get a key","slug":"get-a-key","depth":2,"children":[]},{"title":"Make a decision","slug":"make-a-decision","depth":2,"children":[]},{"title":"Handle “not sure”","slug":"handle-“not-sure”","depth":2,"children":[]},{"title":"Extract data","slug":"extract-data","depth":2,"children":[]},{"title":"Stream decisions","slug":"stream-decisions","depth":2,"children":[]},{"title":"Endpoints","slug":"endpoints","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"levanto","siteName":"Levanto Sage","title":"Sage docs | Levanto","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-02T10:33:17.486Z","originalFileLocation":"decision-model/quickstart.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"Your first decision, extraction and stream.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Levanto Sage\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://levanto.ai/favicon/android-chrome-192x192.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://levanto.ai/favicon/android-chrome-192x192.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://levanto.ai/favicon/android-chrome-192x192.png\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/png\" href=\"https://levanto.ai/favicon/android-chrome-192x192.png\">\u003cmeta data-mint-head property=\"og:title\" content=\"Sage docs | Levanto\">\u003cmeta data-mint-head property=\"og:description\" content=\"Sage decides, extracts and streams: your software asks while it runs and gets typed answers it can act on.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Levanto Labs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.levanto.ai/decision-model/quickstart\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://levanto.ai/opengraph-image.jpg\">\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=\"Sage docs | Levanto\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Sage decides, extracts and streams: your software asks while it runs and gets typed answers it can act on.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://levanto.ai/opengraph-image.jpg\">\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/levanto/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Levanto Sage\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1438d4\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.levanto.ai/decision-model/quickstart\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/decision-model/quickstart.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.levanto.ai/#organization\",\"name\":\"Levanto Sage\",\"url\":\"https://docs.levanto.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://levanto.ai/brand/levanto-wordmark-blue.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.levanto.ai#website\",\"name\":\"Levanto Sage\",\"url\":\"https://docs.levanto.ai\",\"publisher\":{\"@id\":\"https://docs.levanto.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.levanto.ai/decision-model/quickstart#webpage\",\"url\":\"https://docs.levanto.ai/decision-model/quickstart\",\"name\":\"Quickstart\",\"description\":\"Your first decision, extraction and stream.\",\"dateModified\":\"2026-11-02T10:33:17.486Z\",\"isPartOf\":{\"@id\":\"https://docs.levanto.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.levanto.ai/decision-model/quickstart#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.levanto.ai/decision-model/quickstart#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Overview\",\"item\":\"https://docs.levanto.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Quickstart\",\"item\":\"https://docs.levanto.ai/decision-model/quickstart\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.levanto.ai/decision-model/quickstart#article\",\"headline\":\"Quickstart\",\"name\":\"Quickstart\",\"description\":\"Your first decision, extraction and stream.\",\"url\":\"https://docs.levanto.ai/decision-model/quickstart\",\"mainEntityOfPage\":{\"@id\":\"https://docs.levanto.ai/decision-model/quickstart#webpage\"},\"image\":\"https://levanto.ai/opengraph-image.jpg\",\"dateModified\":\"2026-11-02T10:33:17.486Z\",\"publisher\":{\"@id\":\"https://docs.levanto.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.levanto.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Levanto Sage\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Levanto Sage\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/decision-model/quickstart.md","siteName":"Levanto Sage","nav":{"global":null,"groups":[{"group":"Overview","icon":"house","pages":[{"title":"Introduction","description":"Decisions, extraction and streaming: answers your code can act on.","icon":"house","href":"/index"},{"title":"Quickstart","icon":"rocket","href":"/decision-model/quickstart"},{"title":"Pricing","description":"Monthly plans, charged per token and per search.","icon":"tag","href":"/pricing"}]},{"group":"Extract and stream","icon":"sparkles","pages":[{"title":"Extraction","sidebarTitle":"Extract","icon":"table-list","href":"/extract"},{"title":"Streaming decisions","sidebarTitle":"Stream","icon":"wave-square","href":"/stream"}]},{"group":"Decision kinds","icon":"brain","expanded":true,"pages":[{"title":"Yes/No decisions","sidebarTitle":"Yes/No","icon":"circle-check","href":"/decision-model/yesno"},{"title":"Choice decisions","sidebarTitle":"Choice","icon":"list","href":"/decision-model/choice"},{"title":"Scale decisions","sidebarTitle":"Scale","icon":"gauge","href":"/decision-model/scale"},{"title":"Sort decisions","sidebarTitle":"Sort","icon":"arrow-down-wide-short","href":"/decision-model/sort"},{"title":"Tags decisions","sidebarTitle":"Tags","icon":"tags","href":"/decision-model/tags"}]},{"group":"Options","icon":"sliders","pages":[{"title":"Reasoning","icon":"lightbulb","href":"/decision-model/reasoning"},{"title":"Grounding","icon":"globe","href":"/decision-model/grounding"},{"title":"Images (beta)","icon":"image","href":"/decision-model/images"},{"title":"Batch requests","sidebarTitle":"Batch","icon":"layer-group","href":"/decision-model/batch"}]},{"group":"Reference","icon":"book","pages":[{"title":"Limits and errors","icon":"ruler","href":"/decision-model/limits"},{"title":"SystemOne API","sidebarTitle":"SystemOne API","icon":"plug","href":"/systemone"},{"title":"OpenAPI","sidebarTitle":"OpenAPI","icon":"code","url":"https://sage.levanto.ai/openapi.json","href":"/openapi-schema"},{"title":"Agent skill","sidebarTitle":"Agent skill","icon":"robot","href":"/levanto-sage-decide"}]}]},"basePath":"","title":"Sage docs | Levanto","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":[],"chunks":[]}