Some calls are not writing tasks. Should this command run? Which model should serve this request? Is this ticket a bug or a feature? Those are choices, and a model that answers them in prose makes you parse the prose back into a choice.POST /v1/decisions answers them as choices. You send the state and the questions, each with its options; every question comes back with one option and a confidence.
jev is a preview model (release_stage: "preview" on /v1/models). A decision that takes longer than 10 seconds returns 504.
curl https://api.kymaapi.com/v1/decisions \ -H "Authorization: Bearer $KYMA_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "jev", "state": "Proposed shell command: `rm -rf ./build` in a CI job that has already published its artifacts.", "questions": { "gate": { "type": "choice", "instructions": "Should this command be allowed to run?", "criteria": { "allow": "safe, run it", "deny": "refuse it", "escalate": "ask a human" } } } }'
One or more questions, keyed by an id you choose. Each must be {"type": "choice", "instructions": "...", "criteria": { "<option>": "<what it means>", ... }} with at least one option. Anything else returns 400 naming the question.
answers is keyed by your question ids. Each carries choice (always one of the options you supplied), confidence between 0 and 1, and probabilities across the options when the model reports them.Use the confidence: a common pattern is to act on the choice above a threshold you pick and hand the rest to a full language model, which costs more and answers slower.
It writes no prose, reads no images and calls no tools. It is a classifier you put in front of a model, a tool call or a risky command — not a replacement for one. Sending it to /v1/chat/completions returns 400.
Per input token, at the model’s published rate — $0.0567 per million for jev, with output free — rounded up to the nearest $0.0001, which is the smallest amount the ledger holds. A decision is small enough that the honest price of one call lands below that, so the rounding is what makes it chargeable at all: up to about 1,700 input tokens a call costs $0.0001, and 10,000 short decisions are $1. The response quotes usage.cost in dollars, and that is the amount taken from your balance — not a number rounded somewhere else afterwards.Failures are not charged: an upstream error or an unreadable answer returns 502 and writes a $0 row you can see in usage.
state or questions missing or malformed, a question that is not a choice question, or a model other than jev
401
auth_error
Missing or invalid API key
402
insufficient_credits
Balance does not cover the call. The body names need_usd and have_usd.
4xx
invalid_request
The model rejected the request itself; the status is the one it returned. Check state and questions. Not charged.
502
provider_unreachable
The model could not be reached. Not charged; retry.
502
server_error
The model returned an error or an answer Kyma could not read. Not charged; retry.
503
server_error
Decisions are unavailable on our side (for example, Kyma could not read your account to price the call). Not charged; retry.
504
timeout
The decision did not come back within 10 seconds. Not charged.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Kyma API","colors":{"primary":"#D4A843","light":"#F2D675","dark":"#C8952E"},"favicon":"https://mintcdn.com/kyma/Ir71WrmY8XrY4SLl/favicon.png?fit=max\u0026auto=format\u0026n=Ir71WrmY8XrY4SLl\u0026q=85\u0026s=9027f99aa13fcc832643ead1f6fb1d86","logo":{"light":"https://mintcdn.com/kyma/Ir71WrmY8XrY4SLl/logo/light.svg?fit=max\u0026auto=format\u0026n=Ir71WrmY8XrY4SLl\u0026q=85\u0026s=dcfc23077ffc3b8109d9c3d5d8c4cfc3","dark":"https://mintcdn.com/kyma/Ir71WrmY8XrY4SLl/logo/dark.svg?fit=max\u0026auto=format\u0026n=Ir71WrmY8XrY4SLl\u0026q=85\u0026s=c21c20f5709c51359720a141096fbfc9"},"api":{"mdx":{"server":"https://kymaapi.com","auth":{"method":"bearer","name":null}}},"background":{"decoration":null,"color":{"light":null,"dark":"#08081a"}},"navbar":{"links":[{"label":"Dashboard","href":"https://kymaapi.com/dashboard"}],"primary":{"type":"button","label":"Get API Key","href":"https://kymaapi.com"}},"footer":{"socials":{"x":"https://x.com/Kyma_API"}},"integrations":{"posthog":{"apiKey":"phc_yCxqxwS8Quvpuxtgrwddye9ucgRPoQBGyAUBYz4UjStV","apiHost":"https://us.i.posthog.com","sessionRecording":false}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"kyma","hasAudioNarration":false,"actualSubdomain":"kyma","customDomains":["docs.kymaapi.com"],"gitSource":{"type":"github","owner":"kyma-api","repo":"kyma-api","deployBranch":"main","contentDirectory":"docs-site","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae26c6c4528ea355b0b8f2f","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"Models","count":76},{"language":"default","tag":"Guides","count":64},{"language":"default","tag":"API Reference","count":25},{"language":"default","tag":"Endpoints","count":25},{"language":"default","tag":"Integrations","count":19},{"language":"default","tag":"Text \u0026 code","count":16},{"language":"default","tag":"Use Cases","count":9},{"language":"default","tag":"Image","count":7},{"language":"default","tag":"Documentation","count":5},{"language":"default","tag":"Audio","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":false},"customCss":[],"page":{"pagePath":"api-reference/decisions","slug":"/api-reference/decisions","pageMetadata":{"title":"Make a decision","description":"Ask a model to pick one option per question, with a confidence. No prose, no parsing.","api":"POST /v1/decisions","href":"/api-reference/decisions"},"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: \"Ask a model to pick one option per question, with a confidence. No prose, no parsing.\"\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`,em:`em`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,ParamField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Some calls are not writing tasks. `,_jsx(_components.em,{children:`Should this command run? Which model should serve this request? Is this ticket a bug or a feature?`}),` Those are choices, and a model that answers them in prose makes you parse the prose back into a choice.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /v1/decisions`}),` answers them as choices. You send the state and the questions, each with its options; every question comes back with one option and a confidence.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`jev`}),` is a preview model (`,_jsx(_components.code,{children:`release_stage: \"preview\"`}),` on `,_jsx(_components.code,{children:`/v1/models`}),`). A decision that takes longer than 10 seconds returns `,_jsx(_components.code,{children:`504`}),`.`]})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`18`,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:`18`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.kymaapi.com/v1/decisions`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$KYMA_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"jev\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:' \"state\": \"Proposed shell command: `rm -rf ./build` in a CI job that has already published its artifacts.\",'})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"questions\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"gate\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"choice\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"instructions\": \"Should this command be allowed to run?\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"criteria\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"allow\": \"safe, run it\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"deny\": \"refuse it\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"escalate\": \"ask a human\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5b1f7c9e-2d4a-4c1e-9f0b-7a3d2e6c8b41\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"jev\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"answers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"gate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"choice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"allow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"confidence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.82`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"probabilities\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"allow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.82`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"deny\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.11`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"escalate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.07`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"input_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`383`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"output_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`41`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"cost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.0001`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(ParamField,{body:`model`,type:`string`,default:`jev`,id:`param-model`,children:_jsxs(_components.p,{children:[`The decisions model. `,_jsx(_components.code,{children:`jev`}),` is the only value today; any other returns `,_jsx(_components.code,{children:`400`}),`.`]})}),`\n`,_jsx(ParamField,{body:`state`,type:`string`,required:true,id:`param-state`,children:_jsx(_components.p,{children:`What the model is deciding about, in your own words. Plain text.`})}),`\n`,_jsx(ParamField,{body:`questions`,type:`object`,required:true,id:`param-questions`,children:_jsxs(_components.p,{children:[`One or more questions, keyed by an id you choose. Each must be `,_jsx(_components.code,{children:`{\"type\": \"choice\", \"instructions\": \"...\", \"criteria\": { \"\u003coption>\": \"\u003cwhat it means>\", ... }}`}),` with at least one option. Anything else returns `,_jsx(_components.code,{children:`400`}),` naming the question.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`answers`}),` is keyed by your question ids. Each carries `,_jsx(_components.code,{children:`choice`}),` (always one of the options you supplied), `,_jsx(_components.code,{children:`confidence`}),` between 0 and 1, and `,_jsx(_components.code,{children:`probabilities`}),` across the options when the model reports them.`]}),`\n`,_jsx(_components.p,{children:`Use the confidence: a common pattern is to act on the choice above a threshold you pick and hand the rest to a full language model, which costs more and answers slower.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-it-will-not-do`,children:`What it will not do`}),`\n`,_jsxs(_components.p,{children:[`It writes no prose, reads no images and calls no tools. It is a classifier you put `,_jsx(_components.strong,{children:`in front of`}),` a model, a tool call or a risky command — not a replacement for one. Sending it to `,_jsx(_components.code,{children:`/v1/chat/completions`}),` returns `,_jsx(_components.code,{children:`400`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`billing`,children:`Billing`}),`\n`,_jsxs(_components.p,{children:[`Per input token, at the model’s published rate — `,_jsx(_components.code,{children:`$0.0567`}),` per million for `,_jsx(_components.code,{children:`jev`}),`, with output free — `,_jsxs(_components.strong,{children:[`rounded up to the nearest `,_jsx(_components.code,{children:`$0.0001`})]}),`, which is the smallest amount the ledger holds. A decision is small enough that the honest price of one call lands below that, so the rounding is what makes it chargeable at all: up to about 1,700 input tokens a call costs `,_jsx(_components.code,{children:`$0.0001`}),`, and 10,000 short decisions are $1. The response quotes `,_jsx(_components.code,{children:`usage.cost`}),` in dollars, and that is the amount taken from your balance — not a number rounded somewhere else afterwards.`]}),`\n`,_jsxs(_components.p,{children:[`Failures are not charged: an upstream error or an unreadable answer returns `,_jsx(_components.code,{children:`502`}),` and writes a $0 row you can see in `,_jsx(_components.a,{href:`/api-reference/auth-usage-models`,children:`usage`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`error.type`})}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_request`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`state`}),` or `,_jsx(_components.code,{children:`questions`}),` missing or malformed, a question that is not a choice question, or a `,_jsx(_components.code,{children:`model`}),` other than `,_jsx(_components.code,{children:`jev`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`auth_error`})}),_jsx(_components.td,{children:`Missing or invalid API key`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`402`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`insufficient_credits`})}),_jsxs(_components.td,{children:[`Balance does not cover the call. The body names `,_jsx(_components.code,{children:`need_usd`}),` and `,_jsx(_components.code,{children:`have_usd`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`4xx`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_request`})}),_jsxs(_components.td,{children:[`The model rejected the request itself; the status is the one it returned. Check `,_jsx(_components.code,{children:`state`}),` and `,_jsx(_components.code,{children:`questions`}),`. Not charged.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`502`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`provider_unreachable`})}),_jsx(_components.td,{children:`The model could not be reached. Not charged; retry.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`502`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`server_error`})}),_jsx(_components.td,{children:`The model returned an error or an answer Kyma could not read. Not charged; retry.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`server_error`})}),_jsx(_components.td,{children:`Decisions are unavailable on our side (for example, Kyma could not read your account to price the call). Not charged; retry.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`504`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`timeout`})}),_jsx(_components.td,{children:`The decision did not come back within 10 seconds. Not charged.`})]})]})]})]})}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":"Make a decision","description":"Ask a model to pick one option per question, with a confidence. No prose, no parsing.","api":"POST /v1/decisions","href":"/api-reference/decisions"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"What it will not do","slug":"what-it-will-not-do","depth":2,"children":[]},{"title":"Billing","slug":"billing","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Make a decision","path":"/v1/decisions","servers":[{"url":"https://kymaapi.com"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"model":[{"type":"string","description":"The decisions model. `jev` is the only value today; any other returns `400` ."}],"state":[{"type":"string","description":"What the model is deciding about, in your own words. Plain text.","required":true}],"questions":[{"type":"object","properties":{},"description":"One or more questions, keyed by an id you choose. Each must be `{\"type\": \"choice\", \"instructions\": \"...\", \"criteria\": { \"\u003coption>\": \"\u003cwhat it means>\", ... }}` with at least one option. Anything else returns `400` naming the question.","required":true}]}}],"examples":{"example":{"value":{"model":"\u003cstring>","state":"\u003cstring>","questions":{}}}}}}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"kyma","siteName":"Kyma API","title":"Make a decision - Kyma API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-22T17:55:19.446Z","originalFileLocation":"api-reference/decisions.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=\"Ask a model to pick one option per question, with a confidence. No prose, no parsing.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Kyma API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kyma/VCp6_M63dEPrRkxq/_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/kyma/VCp6_M63dEPrRkxq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kyma/VCp6_M63dEPrRkxq/_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/kyma/VCp6_M63dEPrRkxq/_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/kyma/VCp6_M63dEPrRkxq/_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/kyma/VCp6_M63dEPrRkxq/_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/kyma/VCp6_M63dEPrRkxq/_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/kyma/VCp6_M63dEPrRkxq/_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/kyma/VCp6_M63dEPrRkxq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Make a decision - Kyma API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Ask a model to pick one option per question, with a confidence. No prose, no parsing.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Kyma API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.kymaapi.com/api-reference/decisions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://kyma.mintlify.site/_mintlify/api/og/v2?division=Endpoints\u0026amp;title=Make+a+decision\u0026amp;description=Ask+a+model+to+pick+one+option+per+question%2C+with+a+confidence.+No+prose%2C+no+parsing.\u0026amp;theme=67ac87dd6b269f7aca2c2b28\u0026amp;signature=8936ca395ef1bf3b704957b0e158822936fcba29febd4135ae8811dcb44d6932\">\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=\"Make a decision - Kyma API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Ask a model to pick one option per question, with a confidence. No prose, no parsing.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://kyma.mintlify.site/_mintlify/api/og/v2?division=Endpoints\u0026amp;title=Make+a+decision\u0026amp;description=Ask+a+model+to+pick+one+option+per+question%2C+with+a+confidence.+No+prose%2C+no+parsing.\u0026amp;theme=67ac87dd6b269f7aca2c2b28\u0026amp;signature=8936ca395ef1bf3b704957b0e158822936fcba29febd4135ae8811dcb44d6932\">\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/kyma/VCp6_M63dEPrRkxq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Kyma API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#D4A843\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.kymaapi.com/api-reference/decisions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/decisions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.kymaapi.com/#organization\",\"name\":\"Kyma API\",\"url\":\"https://docs.kymaapi.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/kyma/Ir71WrmY8XrY4SLl/logo/light.svg?fit=max\u0026auto=format\u0026n=Ir71WrmY8XrY4SLl\u0026q=85\u0026s=dcfc23077ffc3b8109d9c3d5d8c4cfc3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.kymaapi.com#website\",\"name\":\"Kyma API\",\"url\":\"https://docs.kymaapi.com\",\"publisher\":{\"@id\":\"https://docs.kymaapi.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.kymaapi.com/api-reference/decisions#webpage\",\"url\":\"https://docs.kymaapi.com/api-reference/decisions\",\"name\":\"Make a decision\",\"description\":\"Ask a model to pick one option per question, with a confidence. No prose, no parsing.\",\"dateModified\":\"2026-09-22T17:55:19.446Z\",\"isPartOf\":{\"@id\":\"https://docs.kymaapi.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.kymaapi.com/api-reference/decisions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.kymaapi.com/api-reference/decisions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.kymaapi.com/api-reference/errors\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Make a decision\",\"item\":\"https://docs.kymaapi.com/api-reference/decisions\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.kymaapi.com/api-reference/decisions#apireference\",\"headline\":\"Make a decision\",\"name\":\"Make a decision\",\"description\":\"Ask a model to pick one option per question, with a confidence. No prose, no parsing.\",\"url\":\"https://docs.kymaapi.com/api-reference/decisions\",\"mainEntityOfPage\":{\"@id\":\"https://docs.kymaapi.com/api-reference/decisions#webpage\"},\"dateModified\":\"2026-09-22T17:55:19.446Z\",\"publisher\":{\"@id\":\"https://docs.kymaapi.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.kymaapi.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Kyma API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Kyma API","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/any-openai-client"}]},{"tab":"API Reference","groups":[{"group":"Endpoints","pages":[{"title":"Errors","href":"/api-reference/errors"},{"title":"Chat Completions","api":"POST /v1/chat/completions","href":"/api-reference/chat-completions"},{"title":"Messages (Anthropic format)","api":"POST /v1/messages","href":"/api-reference/messages"},{"title":"Create embeddings","api":"POST /v1/embeddings","href":"/api-reference/embeddings"},{"title":"Rerank documents","api":"POST /v1/rerank","description":"Score a list of documents against a query, so only the best few reach your model.","href":"/api-reference/rerank"},{"title":"Make a decision","api":"POST /v1/decisions","href":"/api-reference/decisions"},{"title":"Create a completion (legacy)","description":"OpenAI's deprecated text-completion shape, served for compatibility.","api":"POST /v1/completions","href":"/api-reference/completions"},{"title":"Image Generations","api":"POST /v1/images/generations","href":"/api-reference/images-generations"},{"title":"Video Generations","api":"POST /v1/videos/generations","href":"/api-reference/videos-generations"},{"title":"Audio Transcriptions","api":"POST /v1/audio/transcriptions","href":"/api-reference/audio-transcriptions"},{"title":"Audio Speech (TTS)","api":"POST /v1/audio/speech","href":"/api-reference/audio-speech"},{"title":"Audio Music","api":"POST /v1/audio/music","href":"/api-reference/audio-music"},{"title":"Audio Voices","api":"GET /v1/audio/voices","href":"/api-reference/audio-voices"},{"title":"List Models","api":"GET /v1/models","href":"/api-reference/models-list"},{"title":"Recommend a model","api":"GET /v1/models/recommend","href":"/api-reference/models-recommend"},{"title":"Pricing Catalog","api":"GET /v1/pricing","href":"/api-reference/pricing-catalog"},{"title":"Tier Matrix","api":"GET /v1/limits/tiers","href":"/api-reference/limits-tiers"},{"title":"Credit balance","api":"GET /v1/credits/balance","href":"/api-reference/credits-balance"},{"title":"Register","api":"POST /v1/auth/register","href":"/api-reference/auth-register"},{"title":"Login","api":"POST /v1/auth/login","href":"/api-reference/auth-login"},{"title":"Get User Info","api":"GET /v1/auth/me","href":"/api-reference/auth-me"},{"title":"Manage API Keys","href":"/api-reference/auth-keys"},{"title":"Usage by model","api":"GET /v1/auth/usage/models","href":"/api-reference/auth-usage-models"},{"title":"Usage by day","api":"GET /v1/auth/usage/daily","href":"/api-reference/auth-usage-daily"},{"title":"GET /v1/auth/limits","href":"/api-reference/auth-limits"}]}]},{"tab":"Models","pages":[{"title":"Models","href":"/models/overview"}]}]},"basePath":"","title":"Make a decision - Kyma API","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js"]}