Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
TypeSafe's POST /v1/systemone request body, plus minimal Eden extensions.
Unknown top-level fields are forwarded to the provider (extra="allow" via the base
mixin, which also rejects connection keys).
routing (from ProviderRoutingBody) and fallbacks are declared so prepare_input
reads them validated. Routing policies, router_candidates and session_id are not
supported on decisions; chat, Responses and Anthropic Messages accept them.
How to pick between the providers that serve the requested model. Applies when model is a model name with no provider prefix (e.g. 'gpt-5.5'); ignored for a concrete 'provider/model' id, which already names its provider, except zero_data_retention, which holds every model in the request to it. With model='@edenai' the platform chooses the model too: quality_cost steers that choice, and the provider fields apply whenever the chosen model is a provider-less name.
Decision models to try, in order, if the primary model fails. Each is a 'provider/model' id or a model name with no provider prefix. Example: ['typesafe/jev-latest'].
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Eden AI Documentation","colors":{"primary":"#3d7cc9","light":"#6aa3e0","dark":"#2a5fa8"},"logo":{"light":"https://mintcdn.com/edenai/UmEpehfvjqdFrnPI/logo/dark.svg?fit=max\u0026auto=format\u0026n=UmEpehfvjqdFrnPI\u0026q=85\u0026s=d255714c3107aff5726601b49d305d9d","dark":"https://mintcdn.com/edenai/5FFg8A2lL0jCIrLn/logo/light.svg?fit=max\u0026auto=format\u0026n=5FFg8A2lL0jCIrLn\u0026q=85\u0026s=b6712983028369a6295728edc7d01664","href":"https://edenai.co"},"favicon":{"light":"https://mintcdn.com/edenai/UmEpehfvjqdFrnPI/images/favicon-dark.png?fit=max\u0026auto=format\u0026n=UmEpehfvjqdFrnPI\u0026q=85\u0026s=db4a5c60d344c859d15d8a894517422c","dark":"https://mintcdn.com/edenai/5FFg8A2lL0jCIrLn/images/favicon.png?fit=max\u0026auto=format\u0026n=5FFg8A2lL0jCIrLn\u0026q=85\u0026s=f807aac28a69e31f718485f7100419de"},"navbar":{"links":[{"href":"#chat","label":"Chat with us"},{"href":"https://edenai.co/","label":"Website"},{"href":"https://app-edenai.instatus.com/","label":"Status"}],"primary":{"type":"button","label":"To the App","href":"https://app.edenai.run/"}},"footer":{"socials":{"github":"https://github.com/edenai","linkedin":"https://www.linkedin.com/company/edenai","discord":"https://discord.gg/VYwTbMQc8u","youtube":"https://www.youtube.com/@edenai2254"},"links":[{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://www.edenai.co/privacy"},{"label":"Manage cookies","href":"#manage-cookies"}]}]},"seo":{"metatags":{"canonical":"https://www.edenai.co/docs"}},"integrations":{"hotjar":{"hjid":"6654925","hjsv":"6"},"intercom":{"appId":"we8gfv17"},"cookies":{"key":"edenai-cookie-consent","value":"accepted"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"edenai","hasAudioNarration":false,"actualSubdomain":"edenai","customDomains":["www.edenai.co"],"gitSource":{"type":"github","owner":"edenai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"edits":true,"thumbs":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af32a5dfc241a857f24f819","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"V3 Documentation","count":121},{"language":"default","tag":"V3 API Reference","count":77},{"language":"default","tag":"AI Features","count":57},{"language":"default","tag":"Expert Models","count":41},{"language":"default","tag":"Integrations","count":32},{"language":"default","tag":"LLMs","count":20},{"language":"default","tag":"Organization Management","count":20},{"language":"default","tag":"Image Features","count":11},{"language":"default","tag":"Coding Agents","count":11},{"language":"default","tag":"General","count":10}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":false,"showHelpButton":true}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"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}],"googleFontsInlined":false},"customCss":[{"filePath":"cookie-consent.css","content":"#cc-main{--cc-btn-primary-bg: #3d7cc9;--cc-btn-primary-hover-bg: #2a5fa8;--cc-btn-primary-border-color: #3d7cc9;--cc-btn-primary-hover-border-color: #2a5fa8;--cc-toggle-on-bg: #3d7cc9;--cc-link-color: #3d7cc9}"}],"page":{"pagePath":"api-reference/decisions/create-decisions","slug":"/api-reference/decisions/create-decisions","pageMetadata":{"title":"Create Decisions","description":"TypeSafe-compatible System One decisions endpoint.","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/alpha/decisions","href":"/api-reference/decisions/create-decisions","autogeneratedByOpenApi":true},"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: \"TypeSafe-compatible System One decisions endpoint.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Decisions","description":"TypeSafe-compatible System One decisions endpoint.","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/alpha/decisions","href":"/api-reference/decisions/create-decisions","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/edenai/d7b6320a7822e7bc/cookie-consent.js","/docs/_mintlify/custom/edenai/1e452f31ce3e9914/intercom-chat.js"],"openApiReferenceData":{"operation":{"tags":["Decisions"],"summary":"Create Decisions","description":"TypeSafe-compatible System One decisions endpoint.","operationId":"create_decisions_v3_alpha_decisions_post","requestBody":"f1b79274-e6e0-4b06-b911-760902c5b810","responses":{"200":"513d8d7a-30fd-4c4b-b28e-8a5fe6063934","422":"20ae2f24-088a-43ab-ba31-663bc54da09b"},"security":["c71c1e66-018e-4230-97c4-e605ff445543"],"method":"post","type":"path","servers":["5e7e05e1-140a-43f2-881e-b6aef1135209"],"path":"/v3/alpha/decisions","baseUrlOptions":["https://api.edenai.run"],"title":"Create Decisions","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"state":{"oneOf":[{"type":"string","title":"State","description":"The content to decide about: a plain string, or a JSON object / array of related context.","isRequired":true,"uniqueKey":"state.oneOf.0","typeLabel":"string"},{"type":"object","title":"State","description":"The content to decide about: a plain string, or a JSON object / array of related context.","additionalProperties":true,"isRequired":true,"uniqueKey":"state.oneOf.1","typeLabel":"State · object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"state.oneOf.2.items.[INDEX]","typeLabel":"any"},"title":"State","description":"The content to decide about: a plain string, or a JSON object / array of related context.","isRequired":true,"uniqueKey":"state.oneOf.2","typeLabel":"any[]"}],"isRequired":true,"uniqueKey":"state","typeLabel":"string | State · object | any[]"},"questions":{"additionalProperties":{"oneOf":[{"type":"object","title":"NoulQuestion","description":"Yes/no question, answered as a probability; ``criteria`` may describe the ``true``\nand ``false`` outcomes.","required":["type"],"properties":{"type":{"type":"string","const":"noul","title":"Type","isRequired":true,"uniqueKey":"questions.additionalProperties.oneOf.0.type","typeLabel":"string"},"instructions":{"oneOf":[{"type":"string","title":"Instructions","uniqueKey":"questions.additionalProperties.oneOf.0.instructions.oneOf.0","typeLabel":"string"},{"type":"object","title":"Instructions","additionalProperties":true,"uniqueKey":"questions.additionalProperties.oneOf.0.instructions.oneOf.1","typeLabel":"Instructions · object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"questions.additionalProperties.oneOf.0.instructions.oneOf.2.items.[INDEX]","typeLabel":"any"},"title":"Instructions","uniqueKey":"questions.additionalProperties.oneOf.0.instructions.oneOf.2","typeLabel":"any[]"},{"type":"null","title":"Instructions","uniqueKey":"questions.additionalProperties.oneOf.0.instructions.oneOf.3","typeLabel":"null"}],"uniqueKey":"questions.additionalProperties.oneOf.0.instructions","typeLabel":"string | Instructions · object | any[] | null"},"criteria":{"oneOf":[{"type":"object","title":"Criteria","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"questions.additionalProperties.oneOf.0.criteria.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"object","additionalProperties":true,"uniqueKey":"questions.additionalProperties.oneOf.0.criteria.oneOf.0.additionalProperties.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"questions.additionalProperties.oneOf.0.criteria.oneOf.0.additionalProperties.oneOf.2.items.[INDEX]","typeLabel":"any"},"uniqueKey":"questions.additionalProperties.oneOf.0.criteria.oneOf.0.additionalProperties.oneOf.2","typeLabel":"any[]"},{"type":"null","uniqueKey":"questions.additionalProperties.oneOf.0.criteria.oneOf.0.additionalProperties.oneOf.3","typeLabel":"null"}],"uniqueKey":"questions.additionalProperties.oneOf.0.criteria.oneOf.0.additionalProperties","typeLabel":"string | object | any[] | null"},"uniqueKey":"questions.additionalProperties.oneOf.0.criteria.oneOf.0","typeLabel":"Criteria · object"},{"type":"null","title":"Criteria","uniqueKey":"questions.additionalProperties.oneOf.0.criteria.oneOf.1","typeLabel":"null"}],"uniqueKey":"questions.additionalProperties.oneOf.0.criteria","typeLabel":"Criteria · object | null"}},"additionalProperties":true,"uniqueKey":"questions.additionalProperties.oneOf.0","typeLabel":"NoulQuestion · object"},{"type":"object","title":"ChoiceQuestion","description":"One-of-N selection; ``criteria`` maps each option label to its description.","required":["type","criteria"],"properties":{"type":{"type":"string","const":"choice","title":"Type","isRequired":true,"uniqueKey":"questions.additionalProperties.oneOf.1.type","typeLabel":"string"},"criteria":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"questions.additionalProperties.oneOf.1.criteria.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"object","additionalProperties":true,"uniqueKey":"questions.additionalProperties.oneOf.1.criteria.additionalProperties.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"questions.additionalProperties.oneOf.1.criteria.additionalProperties.oneOf.2.items.[INDEX]","typeLabel":"any"},"uniqueKey":"questions.additionalProperties.oneOf.1.criteria.additionalProperties.oneOf.2","typeLabel":"any[]"},{"type":"null","uniqueKey":"questions.additionalProperties.oneOf.1.criteria.additionalProperties.oneOf.3","typeLabel":"null"}],"uniqueKey":"questions.additionalProperties.oneOf.1.criteria.additionalProperties","typeLabel":"string | object | any[] | null"},"type":"object","title":"Criteria","isRequired":true,"uniqueKey":"questions.additionalProperties.oneOf.1.criteria","typeLabel":"Criteria · object"},"instructions":{"oneOf":[{"type":"string","title":"Instructions","uniqueKey":"questions.additionalProperties.oneOf.1.instructions.oneOf.0","typeLabel":"string"},{"type":"object","title":"Instructions","additionalProperties":true,"uniqueKey":"questions.additionalProperties.oneOf.1.instructions.oneOf.1","typeLabel":"Instructions · object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"questions.additionalProperties.oneOf.1.instructions.oneOf.2.items.[INDEX]","typeLabel":"any"},"title":"Instructions","uniqueKey":"questions.additionalProperties.oneOf.1.instructions.oneOf.2","typeLabel":"any[]"},{"type":"null","title":"Instructions","uniqueKey":"questions.additionalProperties.oneOf.1.instructions.oneOf.3","typeLabel":"null"}],"uniqueKey":"questions.additionalProperties.oneOf.1.instructions","typeLabel":"string | Instructions · object | any[] | null"}},"additionalProperties":true,"uniqueKey":"questions.additionalProperties.oneOf.1","typeLabel":"ChoiceQuestion · object"},{"type":"object","title":"ScoreQuestion","description":"Ordered rubric; ``criteria[i]`` describes score level ``i``.","required":["type","criteria"],"properties":{"type":{"type":"string","const":"score","title":"Type","isRequired":true,"uniqueKey":"questions.additionalProperties.oneOf.2.type","typeLabel":"string"},"criteria":{"items":{"oneOf":[{"type":"string","uniqueKey":"questions.additionalProperties.oneOf.2.criteria.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"object","additionalProperties":true,"uniqueKey":"questions.additionalProperties.oneOf.2.criteria.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"questions.additionalProperties.oneOf.2.criteria.items.[INDEX].oneOf.2.items.[INDEX]","typeLabel":"any"},"uniqueKey":"questions.additionalProperties.oneOf.2.criteria.items.[INDEX].oneOf.2","typeLabel":"any[]"}],"uniqueKey":"questions.additionalProperties.oneOf.2.criteria.items.[INDEX]","typeLabel":"string | object | any[]"},"type":"array","title":"Criteria","isRequired":true,"uniqueKey":"questions.additionalProperties.oneOf.2.criteria","typeLabel":"(string | object | any[])[]"},"instructions":{"oneOf":[{"type":"string","title":"Instructions","uniqueKey":"questions.additionalProperties.oneOf.2.instructions.oneOf.0","typeLabel":"string"},{"type":"object","title":"Instructions","additionalProperties":true,"uniqueKey":"questions.additionalProperties.oneOf.2.instructions.oneOf.1","typeLabel":"Instructions · object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"questions.additionalProperties.oneOf.2.instructions.oneOf.2.items.[INDEX]","typeLabel":"any"},"title":"Instructions","uniqueKey":"questions.additionalProperties.oneOf.2.instructions.oneOf.2","typeLabel":"any[]"},{"type":"null","title":"Instructions","uniqueKey":"questions.additionalProperties.oneOf.2.instructions.oneOf.3","typeLabel":"null"}],"uniqueKey":"questions.additionalProperties.oneOf.2.instructions","typeLabel":"string | Instructions · object | any[] | null"}},"additionalProperties":true,"uniqueKey":"questions.additionalProperties.oneOf.2","typeLabel":"ScoreQuestion · object"}],"uniqueKey":"questions.additionalProperties","typeLabel":"NoulQuestion · object | ChoiceQuestion · object | ScoreQuestion · object"},"type":"object","minProperties":1,"title":"Questions","description":"Typed questions keyed by name: `noul` (yes/no probability), `choice` (one of the `criteria` keys) or `score` (position on the ordered `criteria` rubric).","isRequired":true,"uniqueKey":"questions","typeLabel":"Questions · object"},"model":{"type":"string","title":"Model","description":"Model identifier in 'provider/model' format, e.g. 'typesafe/jev-latest'.","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"tags":{"title":"Tags","description":"Up to 10 key/value labels recorded with this call, for filtering and grouping usage. Merged with the `X-EdenAI-Tags` header.","examples":[{"client":"acme","project":"invoices"}],"uniqueKey":"tags","typeLabel":"any"},"routing":{"oneOf":[{"type":"object","title":"ProviderRoutingPreferences","description":"How to pick between the providers that serve the requested model. Applies when `model` is a model name with no provider prefix (e.g. 'gpt-5.5'); ignored for a concrete 'provider/model' id, which already names its provider, except `zero_data_retention`, which holds every model in the request to it. With model='@edenai' the platform chooses the model too: `quality_cost` steers that choice, and the provider fields apply whenever the chosen model is a provider-less name.","properties":{"sort":{"oneOf":[{"type":"string","title":"Sort","description":"What to optimise for when several providers serve the requested model. 'cost' (default) picks the cheapest for this request's shape; 'speed' the highest tokens/second; 'latency' the fastest to first token; 'exact' the most reliable at producing well-formed tool calls / structured output. Health is always a filter first — no mode will route you to a failing provider. Can also be written as a model suffix, e.g. 'gpt-5.5:speed'.","enum":["cost","speed","latency","exact"],"uniqueKey":"routing.oneOf.0.sort.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Sort","description":"What to optimise for when several providers serve the requested model. 'cost' (default) picks the cheapest for this request's shape; 'speed' the highest tokens/second; 'latency' the fastest to first token; 'exact' the most reliable at producing well-formed tool calls / structured output. Health is always a filter first — no mode will route you to a failing provider. Can also be written as a model suffix, e.g. 'gpt-5.5:speed'.","uniqueKey":"routing.oneOf.0.sort.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.sort","typeLabel":"enum\u003cstring> | null"},"sticky":{"oneOf":[{"type":"boolean","title":"Sticky","description":"Keep a conversation on the provider holding its prompt cache. On by default, and only ever active for models whose providers discount cache reads. Set false to route every request independently on price instead. Naming an explicit `sort` or an `order` also takes priority over cache affinity.","uniqueKey":"routing.oneOf.0.sticky.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Sticky","description":"Keep a conversation on the provider holding its prompt cache. On by default, and only ever active for models whose providers discount cache reads. Set false to route every request independently on price instead. Naming an explicit `sort` or an `order` also takes priority over cache affinity.","uniqueKey":"routing.oneOf.0.sticky.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.sticky","typeLabel":"boolean | null"},"allow_fallbacks":{"oneOf":[{"type":"boolean","title":"Allow Fallbacks","description":"Whether other providers of the same model may be tried when the chosen one fails. On by default. Set false to pin the request to the single best provider: it then fails rather than silently moving to another seller, useful when a cache-warm prompt would cold-miss elsewhere. This governs PROVIDERS of the requested model only; models you list in `fallbacks` are your own choice and are always kept.","uniqueKey":"routing.oneOf.0.allow_fallbacks.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Allow Fallbacks","description":"Whether other providers of the same model may be tried when the chosen one fails. On by default. Set false to pin the request to the single best provider: it then fails rather than silently moving to another seller, useful when a cache-warm prompt would cold-miss elsewhere. This governs PROVIDERS of the requested model only; models you list in `fallbacks` are your own choice and are always kept.","uniqueKey":"routing.oneOf.0.allow_fallbacks.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.allow_fallbacks","typeLabel":"boolean | null"},"quality_cost":{"oneOf":[{"type":"integer","title":"Quality Cost","description":"Only with model='@edenai': how far to trade answer quality for cost when the platform chooses the MODEL. 0 asks for the best model for the request, 10 for the cheapest model that can still handle it, values in between blend the two; omit it to leave the choice to the platform (quality first). This is the one `routing` field that steers the model rather than the provider — `sort` never changes which model is chosen.","maximum":10,"minimum":0,"uniqueKey":"routing.oneOf.0.quality_cost.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Quality Cost","description":"Only with model='@edenai': how far to trade answer quality for cost when the platform chooses the MODEL. 0 asks for the best model for the request, 10 for the cheapest model that can still handle it, values in between blend the two; omit it to leave the choice to the platform (quality first). This is the one `routing` field that steers the model rather than the provider — `sort` never changes which model is chosen.","uniqueKey":"routing.oneOf.0.quality_cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.quality_cost","typeLabel":"integer | null"},"allowed_providers":{"oneOf":[{"type":"array","items":{"type":"string","maxLength":64,"minLength":1,"uniqueKey":"routing.oneOf.0.allowed_providers.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Allowed Providers","description":"Restrict routing to these providers, e.g. ['openai', 'anthropic']. Only providers that serve the requested model are considered, so an entry that does not sell it is simply inert. If none of them do, the request fails rather than falling back to a provider you excluded. Case-insensitive. Applies to routed providers only. a concrete 'provider/model' you named in `fallbacks` is your own choice and is kept.","uniqueKey":"routing.oneOf.0.allowed_providers.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Allowed Providers","description":"Restrict routing to these providers, e.g. ['openai', 'anthropic']. Only providers that serve the requested model are considered, so an entry that does not sell it is simply inert. If none of them do, the request fails rather than falling back to a provider you excluded. Case-insensitive. Applies to routed providers only. a concrete 'provider/model' you named in `fallbacks` is your own choice and is kept.","uniqueKey":"routing.oneOf.0.allowed_providers.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.allowed_providers","typeLabel":"string[] | null"},"zero_data_retention":{"oneOf":[{"type":"boolean","title":"Zero Data Retention","description":"Serve this request only from providers that keep no prompts or outputs, and save neither its content nor its response. Applies to every model in the request, including a concrete 'provider/model' and your `fallbacks`: one that is not zero data retention fails the request. It can only add the restriction. When your organization requires zero data retention, `false` does not lift it.","uniqueKey":"routing.oneOf.0.zero_data_retention.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Zero Data Retention","description":"Serve this request only from providers that keep no prompts or outputs, and save neither its content nor its response. Applies to every model in the request, including a concrete 'provider/model' and your `fallbacks`: one that is not zero data retention fails the request. It can only add the restriction. When your organization requires zero data retention, `false` does not lift it.","uniqueKey":"routing.oneOf.0.zero_data_retention.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.zero_data_retention","typeLabel":"boolean | null"},"ignored_providers":{"oneOf":[{"type":"array","items":{"type":"string","maxLength":64,"minLength":1,"uniqueKey":"routing.oneOf.0.ignored_providers.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Ignored Providers","description":"Never route to these providers, e.g. ['deepinfra']. The mirror of `allowed_providers`: an entry that does not sell the requested model is inert, and if the list removes every seller the request fails rather than falling back to one you excluded. Case-insensitive. A provider named in both lists is a validation error. A concrete 'provider/model' you named in `fallbacks` is your own choice and is kept.","uniqueKey":"routing.oneOf.0.ignored_providers.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Ignored Providers","description":"Never route to these providers, e.g. ['deepinfra']. The mirror of `allowed_providers`: an entry that does not sell the requested model is inert, and if the list removes every seller the request fails rather than falling back to one you excluded. Case-insensitive. A provider named in both lists is a validation error. A concrete 'provider/model' you named in `fallbacks` is your own choice and is kept.","uniqueKey":"routing.oneOf.0.ignored_providers.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.ignored_providers","typeLabel":"string[] | null"},"order":{"oneOf":[{"type":"array","items":{"type":"string","maxLength":64,"minLength":1,"uniqueKey":"routing.oneOf.0.order.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Order","description":"Providers to try first, in this order, e.g. ['azure', 'openai']. They become the head of the fallback chain; the remaining providers of the model follow, ranked by `sort` (or load-balanced on price when no `sort` is given). An entry that does not sell the model is inert. A provider our health data marks as down is moved to the end of the chain whatever its position here. Naming an `order` turns cache affinity off, as naming a `sort` does. Case-insensitive.","maxItems":16,"uniqueKey":"routing.oneOf.0.order.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Order","description":"Providers to try first, in this order, e.g. ['azure', 'openai']. They become the head of the fallback chain; the remaining providers of the model follow, ranked by `sort` (or load-balanced on price when no `sort` is given). An entry that does not sell the model is inert. A provider our health data marks as down is moved to the end of the chain whatever its position here. Naming an `order` turns cache affinity off, as naming a `sort` does. Case-insensitive.","uniqueKey":"routing.oneOf.0.order.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.order","typeLabel":"string[] | null"},"max_price":{"oneOf":[{"type":"object","title":"MaxPrice","description":"Only route to providers whose listed per-token rates are at or under this price, in USD per MILLION tokens, e.g. {'input': 2.5, 'output': 10}. Either side may be omitted. Providers priced by another unit (per image, per second) are unaffected. If no provider of the model is within the ceiling the request fails and names the cheapest one.","properties":{"input":{"oneOf":[{"type":"number","title":"Input","description":"Highest input rate accepted, in USD per million tokens.","minimum":0,"uniqueKey":"routing.oneOf.0.max_price.oneOf.0.input.oneOf.0","typeLabel":"number"},{"type":"null","title":"Input","description":"Highest input rate accepted, in USD per million tokens.","uniqueKey":"routing.oneOf.0.max_price.oneOf.0.input.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.max_price.oneOf.0.input","typeLabel":"number | null"},"output":{"oneOf":[{"type":"number","title":"Output","description":"Highest output rate accepted, in USD per million tokens.","minimum":0,"uniqueKey":"routing.oneOf.0.max_price.oneOf.0.output.oneOf.0","typeLabel":"number"},{"type":"null","title":"Output","description":"Highest output rate accepted, in USD per million tokens.","uniqueKey":"routing.oneOf.0.max_price.oneOf.0.output.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.max_price.oneOf.0.output","typeLabel":"number | null"}},"additionalProperties":false,"uniqueKey":"routing.oneOf.0.max_price.oneOf.0","typeLabel":"MaxPrice · object"},{"type":"null","description":"Only route to providers whose listed per-token rates are at or under this price, in USD per MILLION tokens, e.g. {'input': 2.5, 'output': 10}. Either side may be omitted. Providers priced by another unit (per image, per second) are unaffected. If no provider of the model is within the ceiling the request fails and names the cheapest one.","uniqueKey":"routing.oneOf.0.max_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.max_price","typeLabel":"MaxPrice · object | null"}},"uniqueKey":"routing.oneOf.0","typeLabel":"ProviderRoutingPreferences · object"},{"type":"null","description":"How to pick between the providers that serve the requested model. Applies when `model` is a model name with no provider prefix (e.g. 'gpt-5.5'); ignored for a concrete 'provider/model' id, which already names its provider, except `zero_data_retention`, which holds every model in the request to it. With model='@edenai' the platform chooses the model too: `quality_cost` steers that choice, and the provider fields apply whenever the chosen model is a provider-less name.","uniqueKey":"routing.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing","typeLabel":"ProviderRoutingPreferences · object | null"},"fallbacks":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"fallbacks.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Fallbacks","description":"Decision models to try, in order, if the primary model fails. Each is a 'provider/model' id or a model name with no provider prefix. Example: ['typesafe/jev-latest'].","maxItems":7,"uniqueKey":"fallbacks.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Fallbacks","description":"Decision models to try, in order, if the primary model fails. Each is a 'provider/model' id or a model name with no provider prefix. Example: ['typesafe/jev-latest'].","uniqueKey":"fallbacks.oneOf.1","typeLabel":"null"}],"uniqueKey":"fallbacks","typeLabel":"string[] | null"},"metadata":{"oneOf":[{"type":"object","title":"Metadata","description":"Arbitrary metadata attached to the request.","additionalProperties":true,"uniqueKey":"metadata.oneOf.0","typeLabel":"Metadata · object"},{"type":"null","title":"Metadata","description":"Arbitrary metadata attached to the request.","uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"Metadata · object | null"},"extra_headers":{"oneOf":[{"type":"object","title":"Extra Headers","description":"Additional HTTP headers forwarded to the provider API.","additionalProperties":{"type":"string","uniqueKey":"extra_headers.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"extra_headers.oneOf.0","typeLabel":"Extra Headers · object"},{"type":"null","title":"Extra Headers","description":"Additional HTTP headers forwarded to the provider API.","uniqueKey":"extra_headers.oneOf.1","typeLabel":"null"}],"uniqueKey":"extra_headers","typeLabel":"Extra Headers · object | null"},"extra_body":{"oneOf":[{"type":"object","title":"Extra Body","description":"Additional body fields forwarded to the provider API.","additionalProperties":true,"uniqueKey":"extra_body.oneOf.0","typeLabel":"Extra Body · object"},{"type":"null","title":"Extra Body","description":"Additional body fields forwarded to the provider API.","uniqueKey":"extra_body.oneOf.1","typeLabel":"null"}],"uniqueKey":"extra_body","typeLabel":"Extra Body · object | null"}},"additionalProperties":true,"type":"object","required":["state","questions","model"],"title":"DecisionsBody","description":"TypeSafe's ``POST /v1/systemone`` request body, plus minimal Eden extensions.\n\nUnknown top-level fields are forwarded to the provider (``extra=\"allow\"`` via the base\nmixin, which also rejects connection keys).\n\n``routing`` (from ``ProviderRoutingBody``) and ``fallbacks`` are declared so ``prepare_input``\nreads them validated. Routing policies, ``router_candidates`` and ``session_id`` are not\nsupported on decisions; chat, Responses and Anthropic Messages accept them.","uniqueKey":"","typeLabel":"DecisionsBody · object"},"examples":{"Example":{"title":"Example","value":{"state":"\u003cstring>","questions":{},"model":"\u003cstring>","tags":{"client":"acme","project":"invoices"},"routing":{"sticky":true,"allow_fallbacks":true,"quality_cost":5,"allowed_providers":["\u003cstring>"],"zero_data_retention":true,"ignored_providers":["\u003cstring>"],"order":["\u003cstring>"],"max_price":{"input":1,"output":1}},"fallbacks":["\u003cstring>"],"metadata":{},"extra_headers":{},"extra_body":{}}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"513d8d7a-30fd-4c4b-b28e-8a5fe6063934":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"model":{"type":"string","title":"Model","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"answers":{"additionalProperties":{"oneOf":[{"type":"object","title":"NoulAnswer","required":["type","noul"],"properties":{"type":{"type":"string","const":"noul","title":"Type","isRequired":true,"uniqueKey":"answers.additionalProperties.oneOf.0.type","typeLabel":"string"},"noul":{"type":"number","title":"Noul","isRequired":true,"uniqueKey":"answers.additionalProperties.oneOf.0.noul","typeLabel":"number"}},"additionalProperties":true,"uniqueKey":"answers.additionalProperties.oneOf.0","typeLabel":"NoulAnswer · object"},{"type":"object","title":"ChoiceAnswer","required":["type","choice","confidence","probabilities"],"properties":{"type":{"type":"string","const":"choice","title":"Type","isRequired":true,"uniqueKey":"answers.additionalProperties.oneOf.1.type","typeLabel":"string"},"choice":{"type":"string","title":"Choice","isRequired":true,"uniqueKey":"answers.additionalProperties.oneOf.1.choice","typeLabel":"string"},"confidence":{"type":"number","title":"Confidence","isRequired":true,"uniqueKey":"answers.additionalProperties.oneOf.1.confidence","typeLabel":"number"},"probabilities":{"additionalProperties":{"type":"number","uniqueKey":"answers.additionalProperties.oneOf.1.probabilities.additionalProperties","typeLabel":"number"},"type":"object","title":"Probabilities","isRequired":true,"uniqueKey":"answers.additionalProperties.oneOf.1.probabilities","typeLabel":"Probabilities · object"}},"additionalProperties":true,"uniqueKey":"answers.additionalProperties.oneOf.1","typeLabel":"ChoiceAnswer · object"},{"type":"object","title":"ScoreAnswer","required":["type","score","confidence","legend","probabilities"],"properties":{"type":{"type":"string","const":"score","title":"Type","isRequired":true,"uniqueKey":"answers.additionalProperties.oneOf.2.type","typeLabel":"string"},"score":{"type":"number","title":"Score","isRequired":true,"uniqueKey":"answers.additionalProperties.oneOf.2.score","typeLabel":"number"},"confidence":{"type":"number","title":"Confidence","isRequired":true,"uniqueKey":"answers.additionalProperties.oneOf.2.confidence","typeLabel":"number"},"legend":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"answers.additionalProperties.oneOf.2.legend.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"object","additionalProperties":true,"uniqueKey":"answers.additionalProperties.oneOf.2.legend.additionalProperties.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"answers.additionalProperties.oneOf.2.legend.additionalProperties.oneOf.2.items.[INDEX]","typeLabel":"any"},"uniqueKey":"answers.additionalProperties.oneOf.2.legend.additionalProperties.oneOf.2","typeLabel":"any[]"}],"uniqueKey":"answers.additionalProperties.oneOf.2.legend.additionalProperties","typeLabel":"string | object | any[]"},"type":"object","title":"Legend","isRequired":true,"uniqueKey":"answers.additionalProperties.oneOf.2.legend","typeLabel":"Legend · object"},"probabilities":{"additionalProperties":{"type":"number","uniqueKey":"answers.additionalProperties.oneOf.2.probabilities.additionalProperties","typeLabel":"number"},"type":"object","title":"Probabilities","isRequired":true,"uniqueKey":"answers.additionalProperties.oneOf.2.probabilities","typeLabel":"Probabilities · object"}},"additionalProperties":true,"uniqueKey":"answers.additionalProperties.oneOf.2","typeLabel":"ScoreAnswer · object"},{"type":"object","title":"RefusalAnswer","description":"The provider declined this one question without saying why; the other answers still\nstand. OpenAI's Decisions API returns these, TypeSafe's format has no equivalent.","required":["type"],"properties":{"type":{"type":"string","const":"refusal","title":"Type","isRequired":true,"uniqueKey":"answers.additionalProperties.oneOf.3.type","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"answers.additionalProperties.oneOf.3","typeLabel":"RefusalAnswer · object"}],"uniqueKey":"answers.additionalProperties","typeLabel":"NoulAnswer · object | ChoiceAnswer · object | ScoreAnswer · object | RefusalAnswer · object"},"type":"object","title":"Answers","isRequired":true,"uniqueKey":"answers","typeLabel":"Answers · object"},"usage":{"properties":{"input_tokens":{"type":"integer","title":"Input Tokens","default":0,"uniqueKey":"usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","title":"Output Tokens","default":0,"uniqueKey":"usage.output_tokens","typeLabel":"integer"}},"additionalProperties":true,"type":"object","title":"DecisionUsage","isRequired":true,"uniqueKey":"usage","typeLabel":"DecisionUsage · object"},"cost":{"oneOf":[{"type":"number","title":"Cost","uniqueKey":"cost.oneOf.0","typeLabel":"number"},{"type":"null","title":"Cost","uniqueKey":"cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"cost","typeLabel":"number | null"},"provider":{"oneOf":[{"type":"string","title":"Provider","uniqueKey":"provider.oneOf.0","typeLabel":"string"},{"type":"null","title":"Provider","uniqueKey":"provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider","typeLabel":"string | null"},"id":{"oneOf":[{"type":"string","title":"Id","description":"TypeSafe request id (x-typesafe-request-id).","uniqueKey":"id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Id","description":"TypeSafe request id (x-typesafe-request-id).","uniqueKey":"id.oneOf.1","typeLabel":"null"}],"uniqueKey":"id","typeLabel":"string | null"}},"additionalProperties":true,"type":"object","required":["model","answers","usage"],"title":"DecisionsResponse","description":"TypeSafe's response (typed answers, usage, request id) + Eden `cost` and `provider`.","uniqueKey":"","typeLabel":"DecisionsResponse · object"},"examples":{"Example":{"title":"Example","value":{"model":"\u003cstring>","answers":{},"usage":{"input_tokens":0,"output_tokens":0},"cost":123,"provider":"\u003cstring>","id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"20ae2f24-088a-43ab-ba31-663bc54da09b":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"c71c1e66-018e-4230-97c4-e605ff445543":{"AuthBearer":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"AuthBearer"}}},"servers":{"5e7e05e1-140a-43f2-881e-b6aef1135209":{"url":"https://api.edenai.run","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"AuthBearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"AuthBearer","name":"Authorization"}],"title":"AuthBearer"}]},"originalFileLocation":"https://api.edenai.run/v3/docs/openapi.json"},"subdomain":"edenai","siteName":"Eden AI Documentation","title":"Create Decisions - Eden AI Documentation","navMaps":{"firstHrefInVersion":{"V3":{"href":"/api-reference/decisions/create-decisions","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-10T14:29:56.287Z","originalFileLocation":"api-reference/decisions/create-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=\"TypeSafe-compatible System One decisions endpoint.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Eden AI Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_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=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Decisions - Eden AI Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"TypeSafe-compatible System One decisions endpoint.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Eden AI Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.edenai.co/docs/api-reference/decisions/create-decisions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://edenai.mintlify.site/docs/_mintlify/api/og/v2?division=Decisions\u0026amp;title=Create+Decisions\u0026amp;description=TypeSafe-compatible+System+One+decisions+endpoint.\u0026amp;theme=120b02b6627196279f8df944\u0026amp;signature=f246cd05e3e45b422a3426dbf5fe434903ccacb02db4dc3fcab6f151b02e2574\">\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=\"Create Decisions - Eden AI Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"TypeSafe-compatible System One decisions endpoint.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://edenai.mintlify.site/docs/_mintlify/api/og/v2?division=Decisions\u0026amp;title=Create+Decisions\u0026amp;description=TypeSafe-compatible+System+One+decisions+endpoint.\u0026amp;theme=120b02b6627196279f8df944\u0026amp;signature=f246cd05e3e45b422a3426dbf5fe434903ccacb02db4dc3fcab6f151b02e2574\">\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=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Eden AI Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3d7cc9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.edenai.co/docs/api-reference/decisions/create-decisions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/decisions/create-decisions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.edenai.co/#organization\",\"name\":\"Eden AI Documentation\",\"url\":\"https://www.edenai.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/edenai/UmEpehfvjqdFrnPI/logo/dark.svg?fit=max\u0026auto=format\u0026n=UmEpehfvjqdFrnPI\u0026q=85\u0026s=d255714c3107aff5726601b49d305d9d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.edenai.co/docs#website\",\"name\":\"Eden AI Documentation\",\"url\":\"https://www.edenai.co/docs\",\"publisher\":{\"@id\":\"https://www.edenai.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.edenai.co/docs/api-reference/decisions/create-decisions#webpage\",\"url\":\"https://www.edenai.co/docs/api-reference/decisions/create-decisions\",\"name\":\"Create Decisions\",\"description\":\"TypeSafe-compatible System One decisions endpoint.\",\"dateModified\":\"2026-11-10T14:29:56.287Z\",\"isPartOf\":{\"@id\":\"https://www.edenai.co/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.edenai.co/docs/api-reference/decisions/create-decisions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.edenai.co/docs/api-reference/decisions/create-decisions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AI Features\",\"item\":\"https://www.edenai.co/docs/api-reference/info/list-features\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Decisions\",\"item\":\"https://www.edenai.co/docs/api-reference/decisions/create-decisions\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.edenai.co/docs/api-reference/decisions/create-decisions#apireference\",\"headline\":\"Create Decisions\",\"name\":\"Create Decisions\",\"description\":\"TypeSafe-compatible System One decisions endpoint.\",\"url\":\"https://www.edenai.co/docs/api-reference/decisions/create-decisions\",\"mainEntityOfPage\":{\"@id\":\"https://www.edenai.co/docs/api-reference/decisions/create-decisions#webpage\"},\"dateModified\":\"2026-11-10T14:29:56.287Z\",\"publisher\":{\"@id\":\"https://www.edenai.co/#organization\"},\"isPartOf\":{\"@id\":\"https://www.edenai.co/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Eden AI Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Eden AI Documentation","nav":{"global":null,"versions":[{"version":"V3","tabs":[{"tab":"V3 Documentation","pages":[{"title":"V3 Documentation","href":""}]},{"tab":"V3 API Reference","groups":[{"group":"AI Features","pages":[{"group":"info","pages":[{"title":"List Features","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/info","href":"/api-reference/info/list-features"},{"title":"List Subfeatures","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/info/{feature}","href":"/api-reference/info/list-subfeatures"},{"title":"List Tts Voices","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/info/audio/tts/voices","href":"/api-reference/info/list-tts-voices"},{"title":"Get Feature Info","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/info/{feature}/{subfeature}","href":"/api-reference/info/get-feature-info"}]},{"group":"Chat","pages":[{"title":"Chat Completions","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/chat/completions","href":"/api-reference/chat/chat-completions"}]},{"group":"Responses","pages":[{"title":"Create Response","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/responses","href":"/api-reference/responses/create-response"},{"title":"Retrieve Response","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/responses/{response_id}","href":"/api-reference/responses/retrieve-response"},{"title":"Delete Response","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json delete /v3/responses/{response_id}","href":"/api-reference/responses/delete-response"}]},{"group":"Moderations","pages":[{"title":"Create Moderation","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/moderations","href":"/api-reference/moderations/create-moderation"},{"title":"List Moderation Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/moderations/models","href":"/api-reference/moderations/list-moderation-models"}]},{"group":"Embeddings","pages":[{"title":"Create Embeddings","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/embeddings","href":"/api-reference/embeddings/create-embeddings"},{"title":"List Embeddings Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/embeddings/models","href":"/api-reference/embeddings/list-embeddings-models"}]},{"group":"Anthropic Messages","pages":[{"title":"Create Anthropic Message","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/v1/messages","href":"/api-reference/anthropic-messages/create-anthropic-message"},{"title":"Count Anthropic Tokens","description":"Count input tokens for an Anthropic-format request without running the model.","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/v1/messages/count_tokens","href":"/api-reference/anthropic-messages/count-anthropic-tokens"}]},{"group":"Decisions","pages":[{"title":"Create Decisions","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/alpha/decisions","href":"/api-reference/decisions/create-decisions"},{"title":"List Decisions Models","description":"List available decision models.","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/alpha/decisions/models","href":"/api-reference/decisions/list-decisions-models"}]},{"group":"Rerank","pages":[{"title":"Create Rerank","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/rerank","href":"/api-reference/rerank/create-rerank"},{"title":"List Rerank Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/rerank/models","href":"/api-reference/rerank/list-rerank-models"}]},{"group":"Images","pages":[{"title":"Image Generations","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/images/generations","href":"/api-reference/images/image-generations"},{"title":"Image Edits","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/images/edits","href":"/api-reference/images/image-edits"},{"title":"List Image Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/images/models","href":"/api-reference/images/list-image-models"}]},{"group":"Audio","pages":[{"title":"Audio Transcriptions","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/audio/transcriptions","href":"/api-reference/audio/audio-transcriptions"},{"title":"List Transcription Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/audio/transcriptions/models","href":"/api-reference/audio/list-transcription-models"},{"title":"Audio Speech","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/audio/speech","href":"/api-reference/audio/audio-speech"},{"title":"List Speech Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/audio/speech/models","href":"/api-reference/audio/list-speech-models"},{"title":"List Speech Voices","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/audio/voices","href":"/api-reference/audio/list-speech-voices"}]},{"group":"Videos","pages":[{"title":"List Videos","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/videos","href":"/api-reference/videos/list-videos"},{"title":"Create Video","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/videos","href":"/api-reference/videos/create-video"},{"title":"List Video Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/videos/models","href":"/api-reference/videos/list-video-models"},{"title":"Retrieve Video","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/videos/{video_id}","href":"/api-reference/videos/retrieve-video"},{"title":"Delete Video","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json delete /v3/videos/{video_id}","href":"/api-reference/videos/delete-video"},{"title":"Download Video Content","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/videos/{video_id}/content","href":"/api-reference/videos/download-video-content"}]},{"group":"Search","pages":[{"title":"Search","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/search","href":"/api-reference/search/search"},{"title":"List Search Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/search/models","href":"/api-reference/search/list-search-models"},{"title":"Search With Provider","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/search/{provider}","href":"/api-reference/search/search-with-provider"}]},{"group":"Batches","pages":[{"title":"List Batches","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/batches","href":"/api-reference/batches/list-batches"},{"title":"Create Batch","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/batches","href":"/api-reference/batches/create-batch"},{"title":"Retrieve Batch","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/batches/{batch_id}","href":"/api-reference/batches/retrieve-batch"},{"title":"Cancel Batch","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/batches/{batch_id}/cancel","href":"/api-reference/batches/cancel-batch"},{"title":"Batch Results","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/batches/{batch_id}/results","href":"/api-reference/batches/batch-results"}]},{"group":"Models","pages":[{"title":"List Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/models","href":"/api-reference/models/list-models"}]},{"group":"universal-ai","pages":[{"title":"Universal Ai","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/universal-ai","href":"/api-reference/universal-ai/universal-ai"},{"title":"List Async Jobs","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/universal-ai/async","href":"/api-reference/universal-ai/list-async-jobs"},{"title":"Create Async Job","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/universal-ai/async","href":"/api-reference/universal-ai/create-async-job"},{"title":"Get Async Job","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/universal-ai/async/{job_id}","href":"/api-reference/universal-ai/get-async-job"},{"title":"Delete Async Job","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json delete /v3/universal-ai/async/{job_id}","href":"/api-reference/universal-ai/delete-async-job"}]},{"group":"collections","pages":[{"title":"List Collections","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/universal-ai/collections","href":"/api-reference/collections/list-collections"},{"title":"Create Collection","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/universal-ai/collections","href":"/api-reference/collections/create-collection"},{"title":"Get Collection","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/universal-ai/collections/{collection_id}","href":"/api-reference/collections/get-collection"},{"title":"Delete Collection","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json delete /v3/universal-ai/collections/{collection_id}","href":"/api-reference/collections/delete-collection"},{"title":"List Items","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/universal-ai/collections/{collection_id}/items","href":"/api-reference/collections/list-items"},{"title":"Add Item","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/universal-ai/collections/{collection_id}/items","href":"/api-reference/collections/add-item"},{"title":"Delete Item","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json delete /v3/universal-ai/collections/{collection_id}/items/{item_id}","href":"/api-reference/collections/delete-item"}]},{"group":"files management","pages":[{"title":"List Files","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/upload","href":"/api-reference/files-management/list-files"},{"title":"Upload File","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/upload","href":"/api-reference/files-management/upload-file"},{"title":"Delete All Files","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json delete /v3/upload","href":"/api-reference/files-management/delete-all-files"},{"title":"Delete Files By Ids","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/upload/delete","href":"/api-reference/files-management/delete-files-by-ids"}]}]},{"group":"Organization Management","pages":[{"group":"Management Keys","pages":[{"title":"List management keys","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/auth-keys/","href":"/api-reference/management-keys/list-management-keys"},{"title":"Create a management key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json post /v3/manage/auth-keys/","href":"/api-reference/management-keys/create-a-management-key"},{"title":"Revoke a management key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json delete /v3/manage/auth-keys/{key_id}/","href":"/api-reference/management-keys/revoke-a-management-key"},{"title":"Inspect the calling management key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/whoami/","href":"/api-reference/management-keys/inspect-the-calling-management-key"}]},{"group":"Groups","pages":[{"title":"List groups","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/groups/","href":"/api-reference/groups/list-groups"},{"title":"Retrieve a group","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/groups/{external_group_id}/","href":"/api-reference/groups/retrieve-a-group"}]},{"group":"API Keys","pages":[{"title":"List API keys","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/keys/","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create an API key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json post /v3/manage/keys/","href":"/api-reference/api-keys/create-an-api-key"},{"title":"Retrieve an API key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/keys/{key_id}/","href":"/api-reference/api-keys/retrieve-an-api-key"},{"title":"Revoke an API key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json delete /v3/manage/keys/{key_id}/","href":"/api-reference/api-keys/revoke-an-api-key"},{"title":"Update an API key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json patch /v3/manage/keys/{key_id}/","href":"/api-reference/api-keys/update-an-api-key"},{"title":"Rotate an API key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json post /v3/manage/keys/{key_id}/rotate/","href":"/api-reference/api-keys/rotate-an-api-key"}]},{"group":"Usage","pages":[{"title":"Get an API key's usage","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/keys/{key_id}/usage/","href":"/api-reference/usage/get-an-api-keys-usage"},{"title":"Get organization usage","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/usage/","href":"/api-reference/usage/get-organization-usage"}]},{"group":"Members","pages":[{"title":"List members","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/members/","href":"/api-reference/members/list-members"},{"title":"Set a member's role","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json patch /v3/manage/members/{email}/role/","href":"/api-reference/members/set-a-members-role"}]},{"group":"Routing Policies","pages":[{"title":"List routing policies","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/routing-policies/","href":"/api-reference/routing-policies/list-routing-policies"},{"title":"Get a routing policy","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/routing-policies/{name}/","href":"/api-reference/routing-policies/get-a-routing-policy"},{"title":"Create or replace a routing policy","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json put /v3/manage/routing-policies/{name}/","href":"/api-reference/routing-policies/create-or-replace-a-routing-policy"},{"title":"Delete a routing policy","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json delete /v3/manage/routing-policies/{name}/","href":"/api-reference/routing-policies/delete-a-routing-policy"}]}]}]}]}]},"basePath":"","title":"Create Decisions - Eden AI Documentation","buildId":"dpl_3pZeXn3XukjzFRgAX73A7GNDfRJ1","deploymentId":"dpl_3pZeXn3XukjzFRgAX73A7GNDfRJ1","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CW3yP2DK.js","utils-BN0nty2W.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C8_MydSG.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bsl5xDMQ.js","snippetPresets-DYv9OBej.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-9OnYPrVf.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-xr67xWGO.js","shallow-DO1aDdBF.js","getApiPlaygroundDisplay-o7cLzFL-.js","CodeSnippet-CGr2yOA8.js","CodeSnippets-CzBbqPNh.js","Page-CBlOSKZG.js","getPastedJson-dpi9sn5Y.js","icon-aIWHt8Pn.js","MethodPill-Bv2zLsGY.js","DuplicateIcon-DxFSz0J6.js","createIcon-uDNv6jwj.js","DynamicMarkdown-C91yhnNP.js","SectionHeading-DG_xjOLR.js","axios-vUo_bRtp.js","Markdown-B4M_Eo1P.js","clsx-DShopWo_.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BX6wab7q.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-48h67xm_.js"]}