Synchronous decision API, not a chat API, does not support streaming output
Submit context material state and multiple questions questions, returning the probability, option, score, or image location for each question in a single response
Supports image input and Box localization questions (Beta)
Set the model name to jev when calling
POST
/
api
/
v1
/
systemone
curl https://aireiter.com/api/v1/systemone \ -H "Authorization: Bearer $API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "jev", "input": { "state": "The payment API timed out.", "questions": { "is_urgent": { "type": "noul", "instructions": "Does this need a person right now?" } } } }'
import osimport requestsresponse = requests.post( "https://aireiter.com/api/v1/systemone", headers={"Authorization": f"Bearer {os.environ['API_KEY']}"}, json={ "model": "jev", "input": { "state": "The payment API timed out.", "questions": { "is_urgent": { "type": "noul", "instructions": "Does this need a person right now?", } }, }, },)print(response.json()["result"]["result"]["answers"])
const response = await fetch("https://aireiter.com/api/v1/systemone", { method: "POST", headers: { Authorization: `Bearer ${process.env.API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ model: "jev", input: { state: "The payment API timed out.", questions: { is_urgent: { type: "noul", instructions: "Does this need a person right now?", }, }, }, }),});const data = await response.json();console.log(data.result.result.answers);
Model name. Fixed value jev.The result.result.model in the response is the actual version number used upstream, such as jev-1.14.0. This field is returned by the upstream service; do not provide a version number in the request.
The material to be judged. It can be a single sentence, an object, or an array. Only include data necessary to complete the judgment; do not include sensitive information such as API keys or passwords.When including images, specify the image reference name in state, such as { "photo": "img-7f3a91" }, where the reference name corresponds to a key in assets.
Image table (Beta). The key is the reference name, and the value is the image object. Omit if not including images.Reference names are matched as plain text and can be written in any string within state, question instructions, or criteria. The model will see the image at that position. Choose reference names that will not collide with body text; using a UUID for each image is recommended. Each reference name must appear at least once in the request.
Question table, cannot be empty. Key names are self-defined, and each question is an object.Each question must have type and instructions.
noul — True/false question. Returns noul, ranging from 0 to 1, indicating the probability of “true”. criteria is optional, structured as { "true": "what counts as true", "false": "what counts as false" }.
choice — Single-choice question. criteria is required and is an object of “option name → description”. The returned choice is the selected option name.
score — Scoring. criteria is required and is an ordered array of at least two items, from low to high. The returned score is a numeric value indicating which tier it falls into, with the first item being 0, and can be a decimal. For example, with three tiers, 1.99 indicates it almost falls into the third item.
box — Image localization (Beta). Must include images; does not accept criteria. Write what to look for and in which image in instructions, for example "the car in `photo`". Returns a rectangle bounding the target.
A single request can contain multiple noul, choice, score, and box questions simultaneously. Do not pass stream; this endpoint only returns a single complete JSON response.
The response body is the raw JSON from upstream, which this endpoint returns without modification. The evaluation results are in result.result.answers.
Results for each question. Keys match the question names in the request.
noul: { "type": "noul", "noul": 0.49 }. Values of 0.8 and above can be considered “yes”, 0.2 and below can be considered “no”, and values close to 0.5 indicate uncertainty.
choice: choice is the selected option name, probabilities are the probabilities for each option, and confidence is the confidence score.
score: score is the score, and legend maps tier indices back to the text you submitted.
box: box consists of four edges { "top", "bottom", "left", "right" }, ranging from 0 to 1 as proportions relative to the image height and width, with the origin at the top-left corner; confidence is the confidence score. When drawing bounding boxes, multiply each edge by the image’s pixel width and height.
Images are placed in assets, and state points to them using a reference name; `photo` is used in questions to refer to this image. The following example asks both “whether there is a car in the image” and “where the car is”.
{ "model": "jev", "input": { "state": { "photo": "img-7f3a91" }, "assets": { "img-7f3a91": { "type": "image", "format": "jpg", "data_base64": "/9j/4AAQSkZJRg..." } }, "questions": { "has_car": { "type": "noul", "instructions": "Is there a car in `photo`?" }, "car": { "type": "box", "instructions": "the car in `photo`" } } }}
Box questions always return a box, and there is no result such as “not found”; a box will still be provided even when there is no target in the image, only with lower confidence. When unsure whether the target exists, add a noul question in the same request as shown in the example above; ignore the box if noul is very low.
Static PNG or JPEG images; animated images are not supported. WebP, GIF, HEIC, etc., must be converted to PNG or JPEG first
Single Image Size
No more than 16 MiB after decoding
Width, Height
280 to 1568 pixels per side; an error will be returned directly if out of range, no automatic scaling
Request Body
No more than 32 MiB, including JSON and base64
Scale the long edge down to within 1568 pixels before sending. Upstream will strip EXIF data and will not rotate according to EXIF orientation; please orient the pixels of phone photos properly beforehand.
Images will be converted into input tokens, counted towards usage.input_tokens, and also occupy the context window. An image of about 800 pixels is approximately 1500 tokens.
If any image in the request fails to meet the requirements, the entire request fails, and partial results will not be returned.
This endpoint is not a chat endpoint and does not accept messages or stream.
Image input and Box questions are currently in Beta. Request formats, results, and limitations may change across versions, and they are not recommended for direct use in production decisions.
The context window is 32000 tokens.
When a business failure occurs, the HTTP status code may still be 200. Please check both success and errors. Authentication failure returns 401, a missing model or invalid JSON returns 400, and a non-existent model returns 404.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"AIReiter","colors":{"primary":"#2563EB","light":"#2563EB","dark":"#3B82F6"},"favicon":"https://mintcdn.com/none-ddc89343/TN7VcsS1Y5LyZOIO/favicon.svg?fit=max\u0026auto=format\u0026n=TN7VcsS1Y5LyZOIO\u0026q=85\u0026s=dec8ef99945d8ca995297b7888deeef3","navbar":{"primary":{"type":"button","label":"Dashboard","href":"https://aireiter.com"}},"footer":{"socials":{"x":"https://x.com/mintlify","github":"https://github.com/mintlify","linkedin":"https://linkedin.com/company/mintlify"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"zh","href":"zh/overview"},{"language":"en","href":"en/overview"},{"language":"ja","href":"ja/overview"},{"language":"ko","href":"ko/overview"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"none-ddc89343","hasAudioNarration":false,"actualSubdomain":"none-ddc89343","customDomains":["docs.aireiter.com"],"gitSource":{"type":"github","owner":"liushayusha","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6af1707ac38c312a37acc558","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"en","tag":"Image Series","count":33},{"language":"ja","tag":"画像シリーズ","count":33},{"language":"ko","tag":"이미지 시리즈","count":33},{"language":"zh","tag":"图片系列","count":33},{"language":"en","tag":"Video Series","count":25},{"language":"ja","tag":"動画シリーズ","count":25},{"language":"ko","tag":"비디오 시리즈","count":25},{"language":"zh","tag":"视频系列","count":25},{"language":"en","tag":"Audio Series","count":14},{"language":"ja","tag":"オーディオシリーズ","count":14},{"language":"ko","tag":"오디오 시리즈","count":14},{"language":"zh","tag":"音频系列","count":14},{"language":"en","tag":"Flow Music","count":9},{"language":"ja","tag":"Flow Music","count":9},{"language":"ko","tag":"Flow Music","count":9},{"language":"zh","tag":"Flow Music","count":9},{"language":"en","tag":"Suno","count":4},{"language":"en","tag":"Text Series","count":4},{"language":"ja","tag":"Suno","count":4},{"language":"ja","tag":"テキストシリーズ","count":4},{"language":"ko","tag":"Suno","count":4},{"language":"ko","tag":"텍스트 시리즈","count":4},{"language":"zh","tag":"Suno","count":4},{"language":"zh","tag":"文字系列","count":4},{"language":"en","tag":"Midjourney V7","count":3},{"language":"en","tag":"Midjourney V8.1","count":3},{"language":"ja","tag":"Midjourney V7","count":3},{"language":"ja","tag":"Midjourney V8.1","count":3},{"language":"ko","tag":"Midjourney V7","count":3},{"language":"ko","tag":"Midjourney V8.1","count":3},{"language":"zh","tag":"Midjourney V7","count":3},{"language":"zh","tag":"Midjourney V8.1","count":3},{"language":"en","tag":"GPT-Image-2","count":2},{"language":"en","tag":"Grok Imagine Image 2.0","count":2},{"language":"ja","tag":"GPT-Image-2","count":2},{"language":"ja","tag":"Grok Imagine Image 2.0","count":2},{"language":"ko","tag":"GPT-Image-2","count":2},{"language":"ko","tag":"Grok Imagine Image 2.0","count":2},{"language":"zh","tag":"GPT-Image-2","count":2},{"language":"zh","tag":"Grok Imagine Image 2.0","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":[],"page":{"pagePath":"en/api-reference/text/jev/endpoint","slug":"/en/api-reference/text/jev/endpoint","pageMetadata":{"title":"Jev Decision API","description":"- Synchronous decision API, not a chat API, does not support streaming output\n- Submit context material `state` and multiple questions `questions`, returning the probability, option, score, or image location for each question in a single response\n- Supports image input and Box localization questions (Beta)\n- Set the model name to `jev` when calling\n","api":"POST https://aireiter.com/api/v1/systemone","href":"/en/api-reference/text/jev/endpoint"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Synchronous decision API, not a chat API, does not support streaming output\"\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Submit context material \", _jsx(_components.code, {\n children: \"state\"\n }), \" and multiple questions \", _jsx(_components.code, {\n children: \"questions\"\n }), \", returning the probability, option, score, or image location for each question in a single response\"]\n }), \"\\n\", _jsx(_components.li, {\n children: \"Supports image input and Box localization questions (Beta)\"\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Set the model name to \", _jsx(_components.code, {\n children: \"jev\"\n }), \" when calling\"]\n }), \"\\n\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const apiKeyUrl=`https://aireiter.com/keys`;function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`authorizations`,children:`Authorizations`}),`\n`,_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:[_jsx(_components.p,{children:`API key, Bearer Token format`}),_jsx(_components.p,{children:`Get API Key:`}),_jsxs(_components.p,{children:[`Visit the `,_jsx(_components.a,{href:apiKeyUrl,target:`_blank`,children:`API Key management page`}),` to get your API Key`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Authorization: Bearer YOUR_API_KEY`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsxs(ParamField,{body:`model`,type:`string`,required:true,id:`param-model`,children:[_jsxs(_components.p,{children:[`Model name. Fixed value `,_jsx(_components.code,{children:`jev`}),`.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`result.result.model`}),` in the response is the actual version number used upstream, such as `,_jsx(_components.code,{children:`jev-1.14.0`}),`. This field is returned by the upstream service; do not provide a version number in the request.`]})]}),`\n`,_jsxs(ParamField,{body:`input`,type:`object`,required:true,id:`param-input`,children:[_jsxs(_components.p,{children:[`Judgment content. Contains `,_jsx(_components.code,{children:`state`}),` and `,_jsx(_components.code,{children:`questions`}),`, plus `,_jsx(_components.code,{children:`assets`}),` when images are included.`]}),_jsxs(Expandable,{title:`Field Descriptions`,children:[_jsxs(ParamField,{body:`state`,type:`string | object | array`,required:true,id:`param-state`,children:[_jsx(_components.p,{children:`The material to be judged. It can be a single sentence, an object, or an array. Only include data necessary to complete the judgment; do not include sensitive information such as API keys or passwords.`}),_jsxs(_components.p,{children:[`When including images, specify the image reference name in `,_jsx(_components.code,{children:`state`}),`, such as `,_jsx(_components.code,{children:`{ \"photo\": \"img-7f3a91\" }`}),`, where the reference name corresponds to a key in `,_jsx(_components.code,{children:`assets`}),`.`]})]}),_jsxs(ParamField,{body:`assets`,type:`object`,id:`param-assets`,children:[_jsx(_components.p,{children:`Image table (Beta). The key is the reference name, and the value is the image object. Omit if not including images.`}),_jsxs(_components.p,{children:[`Reference names are matched as plain text and can be written in any string within `,_jsx(_components.code,{children:`state`}),`, question `,_jsx(_components.code,{children:`instructions`}),`, or `,_jsx(_components.code,{children:`criteria`}),`. The model will see the image at that position. Choose reference names that will not collide with body text; using a UUID for each image is recommended. Each reference name must appear at least once in the request.`]}),_jsxs(Expandable,{title:`Image Object`,children:[_jsx(ParamField,{body:`type`,type:`string`,id:`param-type`,children:_jsxs(_components.p,{children:[`Fixed as `,_jsx(_components.code,{children:`image`}),`, can be omitted.`]})}),_jsx(ParamField,{body:`format`,type:`string`,required:true,id:`param-format`,children:_jsxs(_components.p,{children:[`Image format: `,_jsx(_components.code,{children:`png`}),`, `,_jsx(_components.code,{children:`jpg`}),`, or `,_jsx(_components.code,{children:`jpeg`}),`, lowercase.`]})}),_jsx(ParamField,{body:`data_base64`,type:`string`,required:true,id:`param-data-base64`,children:_jsxs(_components.p,{children:[`Base64 encoding of the image file. Use the standard base64 alphabet, with `,_jsx(_components.code,{children:`=`}),` padding, no line breaks, and without the `,_jsx(_components.code,{children:`data:`}),` prefix.`]})})]})]}),_jsxs(ParamField,{body:`questions`,type:`object`,required:true,id:`param-questions`,children:[_jsx(_components.p,{children:`Question table, cannot be empty. Key names are self-defined, and each question is an object.`}),_jsxs(_components.p,{children:[`Each question must have `,_jsx(_components.code,{children:`type`}),` and `,_jsx(_components.code,{children:`instructions`}),`.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`noul`}),` — True/false question. Returns `,_jsx(_components.code,{children:`noul`}),`, ranging from 0 to 1, indicating the probability of “true”. `,_jsx(_components.code,{children:`criteria`}),` is optional, structured as `,_jsx(_components.code,{children:`{ \"true\": \"what counts as true\", \"false\": \"what counts as false\" }`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`choice`}),` — Single-choice question. `,_jsx(_components.code,{children:`criteria`}),` is required and is an object of “option name → description”. The returned `,_jsx(_components.code,{children:`choice`}),` is the selected option name.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`score`}),` — Scoring. `,_jsx(_components.code,{children:`criteria`}),` is required and is an ordered array of at least two items, from low to high. The returned `,_jsx(_components.code,{children:`score`}),` is a numeric value indicating which tier it falls into, with the first item being 0, and can be a decimal. For example, with three tiers, `,_jsx(_components.code,{children:`1.99`}),` indicates it almost falls into the third item.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`box`}),` — Image localization (Beta). Must include images; does not accept `,_jsx(_components.code,{children:`criteria`}),`. Write what to look for and in which image in `,_jsx(_components.code,{children:`instructions`}),`, for example `,_jsx(_components.code,{children:'\"the car in `photo`\"'}),`. Returns a rectangle bounding the target.`]}),`\n`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`A single request can contain multiple `,_jsx(_components.code,{children:`noul`}),`, `,_jsx(_components.code,{children:`choice`}),`, `,_jsx(_components.code,{children:`score`}),`, and `,_jsx(_components.code,{children:`box`}),` questions simultaneously. Do not pass `,_jsx(_components.code,{children:`stream`}),`; this endpoint only returns a single complete JSON response.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`The response body is the raw JSON from upstream, which this endpoint returns without modification. The evaluation results are in `,_jsx(_components.code,{children:`result.result.answers`}),`.`]}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Whether the request was successful`})}),`\n`,_jsx(ResponseField,{name:`errors`,type:`array`,id:`param-errors`,children:_jsx(_components.p,{children:`Error list. Empty array on success`})}),`\n`,_jsx(ResponseField,{name:`messages`,type:`array`,id:`param-messages`,children:_jsx(_components.p,{children:`Additional messages. Empty array when there are no messages`})}),`\n`,_jsxs(ResponseField,{name:`result`,type:`object`,id:`param-result`,children:[_jsx(_components.p,{children:`Upstream execution result`}),_jsxs(Expandable,{title:`Field Descriptions`,children:[_jsx(ResponseField,{name:`state`,type:`string`,id:`param-state-1`,children:_jsxs(_components.p,{children:[`Execution status. `,_jsx(_components.code,{children:`Completed`}),` indicates completion`]})}),_jsxs(ResponseField,{name:`result`,type:`object`,id:`param-result-1`,children:[_jsx(_components.p,{children:`Model response`}),_jsxs(Expandable,{title:`Field Descriptions`,children:[_jsx(ResponseField,{name:`model`,type:`string`,id:`param-model-1`,children:_jsxs(_components.p,{children:[`The actual upstream version used, such as `,_jsx(_components.code,{children:`jev-1.14.0`})]})}),_jsxs(ResponseField,{name:`answers`,type:`object`,id:`param-answers`,children:[_jsx(_components.p,{children:`Results for each question. Keys match the question names in the request.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`noul`}),`: `,_jsx(_components.code,{children:`{ \"type\": \"noul\", \"noul\": 0.49 }`}),`. Values of `,_jsx(_components.code,{children:`0.8`}),` and above can be considered “yes”, `,_jsx(_components.code,{children:`0.2`}),` and below can be considered “no”, and values close to `,_jsx(_components.code,{children:`0.5`}),` indicate uncertainty.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`choice`}),`: `,_jsx(_components.code,{children:`choice`}),` is the selected option name, `,_jsx(_components.code,{children:`probabilities`}),` are the probabilities for each option, and `,_jsx(_components.code,{children:`confidence`}),` is the confidence score.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`score`}),`: `,_jsx(_components.code,{children:`score`}),` is the score, and `,_jsx(_components.code,{children:`legend`}),` maps tier indices back to the text you submitted.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`box`}),`: `,_jsx(_components.code,{children:`box`}),` consists of four edges `,_jsx(_components.code,{children:`{ \"top\", \"bottom\", \"left\", \"right\" }`}),`, ranging from 0 to 1 as proportions relative to the image height and width, with the origin at the top-left corner; `,_jsx(_components.code,{children:`confidence`}),` is the confidence score. When drawing bounding boxes, multiply each edge by the image’s pixel width and height.`]}),`\n`]})]}),_jsxs(ResponseField,{name:`usage`,type:`object`,id:`param-usage`,children:[_jsx(_components.p,{children:`Token usage`}),_jsxs(Expandable,{title:`Field Descriptions`,children:[_jsx(ResponseField,{name:`input_tokens`,type:`integer`,id:`param-input-tokens`,children:_jsx(_components.p,{children:`Number of input tokens`})}),_jsx(ResponseField,{name:`output_tokens`,type:`integer`,id:`param-output-tokens`,children:_jsx(_components.p,{children:`Number of output tokens`})})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`usage-examples`,children:`Usage Examples`}),`\n`,`\n`,`\n`,_jsx(Heading,{level:`2`,id:`multi-question-example`,children:`Multi-Question Example`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`choice`}),` and `,_jsx(_components.code,{children:`score`}),` can be included in the same request as `,_jsx(_components.code,{children:`noul`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`27`,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:`27`,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:` \"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:` \"input\"`}),_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:` \"state\"`}),_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:` \"ticket\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Payment API intermittent timeout, database connection pool nearing exhaustion.\"`})]}),`\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:` \"questions\"`}),_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:` \"next_action\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"choice\"`}),_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:` \"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Select the safest next step\"`}),_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:` \"criteria\"`}),_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:` \"rollback\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Roll back recent changes\"`}),_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:` \"observe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Continue observing and sampling logs\"`})]}),`\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:` \"risk\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"score\"`}),_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:` \"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Assess the risk of this incident\"`}),_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:` \"criteria\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Low\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Medium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"High\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Critical\"`}),_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:` \"escalate\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"noul\"`}),_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:` \"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Whether manual escalation is required\"`})]}),`\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`,_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`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`图片与-box-示例(beta)`,children:`图片与 Box 示例(Beta)`}),`\n`,_jsxs(_components.p,{children:[`Images are placed in `,_jsx(_components.code,{children:`assets`}),`, and `,_jsx(_components.code,{children:`state`}),` points to them using a reference name; `,_jsx(_components.code,{children:\"`photo`\"}),` is used in questions to refer to this image. The following example asks both “whether there is a car in the image” and “where the car is”.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`23`,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:`23`,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:` \"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:` \"input\"`}),_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:` \"state\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"photo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"img-7f3a91\"`}),_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:` \"assets\"`}),_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:` \"img-7f3a91\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"image\"`}),_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:` \"format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"jpg\"`}),_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:` \"data_base64\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/9j/4AAQSkZJRg...\"`})]}),`\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:` \"questions\"`}),_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:` \"has_car\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"noul\"`}),_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:` \"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:'\"Is there a car in `photo`?\"'})]}),`\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:` \"car\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"box\"`}),_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:` \"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:'\"the car in `photo`\"'})]}),`\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`,_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`]})})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`answers`}),` in the response:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,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:`8`,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:` \"has_car\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"noul\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"noul\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.97`}),_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:` \"car\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"box\"`}),_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:` \"box\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"top\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.24`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"bottom\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.81`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"left\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.15`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"right\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.74`}),_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.74`})]}),`\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`]})})}),`\n`,_jsxs(_components.p,{children:[`Box questions always return a box, and there is no result such as “not found”; a box will still be provided even when there is no target in the image, only with lower confidence. When unsure whether the target exists, add a `,_jsx(_components.code,{children:`noul`}),` question in the same request as shown in the example above; ignore the box if `,_jsx(_components.code,{children:`noul`}),` is very low.`]}),`\n`,_jsx(Heading,{level:`3`,id:`image-requirements`,children:`Image Requirements`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Item`}),_jsx(_components.th,{children:`Limitations`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Format`}),_jsx(_components.td,{children:`Static PNG or JPEG images; animated images are not supported. WebP, GIF, HEIC, etc., must be converted to PNG or JPEG first`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Single Image Size`}),_jsx(_components.td,{children:`No more than 16 MiB after decoding`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Width, Height`}),_jsx(_components.td,{children:`280 to 1568 pixels per side; an error will be returned directly if out of range, no automatic scaling`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Request Body`}),_jsx(_components.td,{children:`No more than 32 MiB, including JSON and base64`})]})]})]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Scale the long edge down to within 1568 pixels before sending. Upstream will strip EXIF data and will not rotate according to EXIF orientation; please orient the pixels of phone photos properly beforehand.`}),`\n`,_jsxs(_components.li,{children:[`Images will be converted into input tokens, counted towards `,_jsx(_components.code,{children:`usage.input_tokens`}),`, and also occupy the context window. An image of about 800 pixels is approximately 1500 tokens.`]}),`\n`,_jsx(_components.li,{children:`If any image in the request fails to meet the requirements, the entire request fails, and partial results will not be returned.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`注意事项`,children:`注意事项`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`This endpoint is not a chat endpoint and does not accept `,_jsx(_components.code,{children:`messages`}),` or `,_jsx(_components.code,{children:`stream`}),`.`]}),`\n`,_jsx(_components.li,{children:`Image input and Box questions are currently in Beta. Request formats, results, and limitations may change across versions, and they are not recommended for direct use in production decisions.`}),`\n`,_jsx(_components.li,{children:`The context window is 32000 tokens.`}),`\n`,_jsxs(_components.li,{children:[`When a business failure occurs, the HTTP status code may still be 200. Please check both `,_jsx(_components.code,{children:`success`}),` and `,_jsx(_components.code,{children:`errors`}),`. Authentication failure returns `,_jsx(_components.code,{children:`401`}),`, a missing `,_jsx(_components.code,{children:`model`}),` or invalid JSON returns `,_jsx(_components.code,{children:`400`}),`, and a non-existent model returns `,_jsx(_components.code,{children:`404`}),`.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{apiKeyUrl,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":"Jev Decision API","description":"- Synchronous decision API, not a chat API, does not support streaming output\n- Submit context material `state` and multiple questions `questions`, returning the probability, option, score, or image location for each question in a single response\n- Supports image input and Box localization questions (Beta)\n- Set the model name to `jev` when calling\n","api":"POST https://aireiter.com/api/v1/systemone","href":"/en/api-reference/text/jev/endpoint"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const apiKeyUrl=`https://aireiter.com/keys`;function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`authorizations`,children:`Authorizations`}),`\n`,_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:[_jsx(_components.p,{children:`API key, Bearer Token format`}),_jsx(_components.p,{children:`Get API Key:`}),_jsxs(_components.p,{children:[`Visit the `,_jsx(_components.a,{href:apiKeyUrl,target:`_blank`,children:`API Key management page`}),` to get your API Key`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Authorization: Bearer YOUR_API_KEY`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsxs(ParamField,{body:`model`,type:`string`,required:true,id:`param-model`,children:[_jsxs(_components.p,{children:[`Model name. Fixed value `,_jsx(_components.code,{children:`jev`}),`.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`result.result.model`}),` in the response is the actual version number used upstream, such as `,_jsx(_components.code,{children:`jev-1.14.0`}),`. This field is returned by the upstream service; do not provide a version number in the request.`]})]}),`\n`,_jsxs(ParamField,{body:`input`,type:`object`,required:true,id:`param-input`,children:[_jsxs(_components.p,{children:[`Judgment content. Contains `,_jsx(_components.code,{children:`state`}),` and `,_jsx(_components.code,{children:`questions`}),`, plus `,_jsx(_components.code,{children:`assets`}),` when images are included.`]}),_jsxs(Expandable,{title:`Field Descriptions`,children:[_jsxs(ParamField,{body:`state`,type:`string | object | array`,required:true,id:`param-state`,children:[_jsx(_components.p,{children:`The material to be judged. It can be a single sentence, an object, or an array. Only include data necessary to complete the judgment; do not include sensitive information such as API keys or passwords.`}),_jsxs(_components.p,{children:[`When including images, specify the image reference name in `,_jsx(_components.code,{children:`state`}),`, such as `,_jsx(_components.code,{children:`{ \"photo\": \"img-7f3a91\" }`}),`, where the reference name corresponds to a key in `,_jsx(_components.code,{children:`assets`}),`.`]})]}),_jsxs(ParamField,{body:`assets`,type:`object`,id:`param-assets`,children:[_jsx(_components.p,{children:`Image table (Beta). The key is the reference name, and the value is the image object. Omit if not including images.`}),_jsxs(_components.p,{children:[`Reference names are matched as plain text and can be written in any string within `,_jsx(_components.code,{children:`state`}),`, question `,_jsx(_components.code,{children:`instructions`}),`, or `,_jsx(_components.code,{children:`criteria`}),`. The model will see the image at that position. Choose reference names that will not collide with body text; using a UUID for each image is recommended. Each reference name must appear at least once in the request.`]}),_jsxs(Expandable,{title:`Image Object`,children:[_jsx(ParamField,{body:`type`,type:`string`,id:`param-type`,children:_jsxs(_components.p,{children:[`Fixed as `,_jsx(_components.code,{children:`image`}),`, can be omitted.`]})}),_jsx(ParamField,{body:`format`,type:`string`,required:true,id:`param-format`,children:_jsxs(_components.p,{children:[`Image format: `,_jsx(_components.code,{children:`png`}),`, `,_jsx(_components.code,{children:`jpg`}),`, or `,_jsx(_components.code,{children:`jpeg`}),`, lowercase.`]})}),_jsx(ParamField,{body:`data_base64`,type:`string`,required:true,id:`param-data-base64`,children:_jsxs(_components.p,{children:[`Base64 encoding of the image file. Use the standard base64 alphabet, with `,_jsx(_components.code,{children:`=`}),` padding, no line breaks, and without the `,_jsx(_components.code,{children:`data:`}),` prefix.`]})})]})]}),_jsxs(ParamField,{body:`questions`,type:`object`,required:true,id:`param-questions`,children:[_jsx(_components.p,{children:`Question table, cannot be empty. Key names are self-defined, and each question is an object.`}),_jsxs(_components.p,{children:[`Each question must have `,_jsx(_components.code,{children:`type`}),` and `,_jsx(_components.code,{children:`instructions`}),`.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`noul`}),` — True/false question. Returns `,_jsx(_components.code,{children:`noul`}),`, ranging from 0 to 1, indicating the probability of “true”. `,_jsx(_components.code,{children:`criteria`}),` is optional, structured as `,_jsx(_components.code,{children:`{ \"true\": \"what counts as true\", \"false\": \"what counts as false\" }`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`choice`}),` — Single-choice question. `,_jsx(_components.code,{children:`criteria`}),` is required and is an object of “option name → description”. The returned `,_jsx(_components.code,{children:`choice`}),` is the selected option name.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`score`}),` — Scoring. `,_jsx(_components.code,{children:`criteria`}),` is required and is an ordered array of at least two items, from low to high. The returned `,_jsx(_components.code,{children:`score`}),` is a numeric value indicating which tier it falls into, with the first item being 0, and can be a decimal. For example, with three tiers, `,_jsx(_components.code,{children:`1.99`}),` indicates it almost falls into the third item.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`box`}),` — Image localization (Beta). Must include images; does not accept `,_jsx(_components.code,{children:`criteria`}),`. Write what to look for and in which image in `,_jsx(_components.code,{children:`instructions`}),`, for example `,_jsx(_components.code,{children:'\"the car in `photo`\"'}),`. Returns a rectangle bounding the target.`]}),`\n`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`A single request can contain multiple `,_jsx(_components.code,{children:`noul`}),`, `,_jsx(_components.code,{children:`choice`}),`, `,_jsx(_components.code,{children:`score`}),`, and `,_jsx(_components.code,{children:`box`}),` questions simultaneously. Do not pass `,_jsx(_components.code,{children:`stream`}),`; this endpoint only returns a single complete JSON response.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`The response body is the raw JSON from upstream, which this endpoint returns without modification. The evaluation results are in `,_jsx(_components.code,{children:`result.result.answers`}),`.`]}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Whether the request was successful`})}),`\n`,_jsx(ResponseField,{name:`errors`,type:`array`,id:`param-errors`,children:_jsx(_components.p,{children:`Error list. Empty array on success`})}),`\n`,_jsx(ResponseField,{name:`messages`,type:`array`,id:`param-messages`,children:_jsx(_components.p,{children:`Additional messages. Empty array when there are no messages`})}),`\n`,_jsxs(ResponseField,{name:`result`,type:`object`,id:`param-result`,children:[_jsx(_components.p,{children:`Upstream execution result`}),_jsxs(Expandable,{title:`Field Descriptions`,children:[_jsx(ResponseField,{name:`state`,type:`string`,id:`param-state-1`,children:_jsxs(_components.p,{children:[`Execution status. `,_jsx(_components.code,{children:`Completed`}),` indicates completion`]})}),_jsxs(ResponseField,{name:`result`,type:`object`,id:`param-result-1`,children:[_jsx(_components.p,{children:`Model response`}),_jsxs(Expandable,{title:`Field Descriptions`,children:[_jsx(ResponseField,{name:`model`,type:`string`,id:`param-model-1`,children:_jsxs(_components.p,{children:[`The actual upstream version used, such as `,_jsx(_components.code,{children:`jev-1.14.0`})]})}),_jsxs(ResponseField,{name:`answers`,type:`object`,id:`param-answers`,children:[_jsx(_components.p,{children:`Results for each question. Keys match the question names in the request.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`noul`}),`: `,_jsx(_components.code,{children:`{ \"type\": \"noul\", \"noul\": 0.49 }`}),`. Values of `,_jsx(_components.code,{children:`0.8`}),` and above can be considered “yes”, `,_jsx(_components.code,{children:`0.2`}),` and below can be considered “no”, and values close to `,_jsx(_components.code,{children:`0.5`}),` indicate uncertainty.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`choice`}),`: `,_jsx(_components.code,{children:`choice`}),` is the selected option name, `,_jsx(_components.code,{children:`probabilities`}),` are the probabilities for each option, and `,_jsx(_components.code,{children:`confidence`}),` is the confidence score.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`score`}),`: `,_jsx(_components.code,{children:`score`}),` is the score, and `,_jsx(_components.code,{children:`legend`}),` maps tier indices back to the text you submitted.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`box`}),`: `,_jsx(_components.code,{children:`box`}),` consists of four edges `,_jsx(_components.code,{children:`{ \"top\", \"bottom\", \"left\", \"right\" }`}),`, ranging from 0 to 1 as proportions relative to the image height and width, with the origin at the top-left corner; `,_jsx(_components.code,{children:`confidence`}),` is the confidence score. When drawing bounding boxes, multiply each edge by the image’s pixel width and height.`]}),`\n`]})]}),_jsxs(ResponseField,{name:`usage`,type:`object`,id:`param-usage`,children:[_jsx(_components.p,{children:`Token usage`}),_jsxs(Expandable,{title:`Field Descriptions`,children:[_jsx(ResponseField,{name:`input_tokens`,type:`integer`,id:`param-input-tokens`,children:_jsx(_components.p,{children:`Number of input tokens`})}),_jsx(ResponseField,{name:`output_tokens`,type:`integer`,id:`param-output-tokens`,children:_jsx(_components.p,{children:`Number of output tokens`})})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`usage-examples`,children:`Usage Examples`}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`15`,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:`15`,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://aireiter.com/api/v1/systemone`}),_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:`$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:` \"input\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"state\": \"The payment API timed out.\",`})}),`\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:` \"is_urgent\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"noul\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"instructions\": \"Does this need a person right now?\"`})}),`\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`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`20`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://aireiter.com/api/v1/systemone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"state\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The payment API timed out.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"questions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"is_urgent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"noul\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Does this need a person right now?\"`}),_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`,_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`,_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:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response.json()[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"answers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`])`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`22`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`22`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://aireiter.com/api/v1/systemone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`process`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` model:`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` input:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` state:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"The payment API timed out.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` questions:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` is_urgent:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"noul\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` instructions:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Does this need a person right now?\"`}),_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`,_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`answers`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`21`,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:`21`,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:` \"result\"`}),_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:` \"state\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Completed\"`}),_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:` \"result\"`}),_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-1.14.0\"`}),_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:` \"is_urgent\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"noul\"`}),_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:` \"noul\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.49`})]}),`\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:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,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:`280`}),_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:` \"output_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`23`})]}),`\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`,_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:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_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:` \"errors\"`}),_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:` \"messages\"`}),_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:`multi-question-example`,children:`Multi-Question Example`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`choice`}),` and `,_jsx(_components.code,{children:`score`}),` can be included in the same request as `,_jsx(_components.code,{children:`noul`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`27`,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:`27`,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:` \"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:` \"input\"`}),_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:` \"state\"`}),_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:` \"ticket\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Payment API intermittent timeout, database connection pool nearing exhaustion.\"`})]}),`\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:` \"questions\"`}),_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:` \"next_action\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"choice\"`}),_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:` \"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Select the safest next step\"`}),_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:` \"criteria\"`}),_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:` \"rollback\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Roll back recent changes\"`}),_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:` \"observe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Continue observing and sampling logs\"`})]}),`\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:` \"risk\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"score\"`}),_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:` \"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Assess the risk of this incident\"`}),_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:` \"criteria\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Low\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Medium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"High\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Critical\"`}),_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:` \"escalate\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"noul\"`}),_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:` \"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Whether manual escalation is required\"`})]}),`\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`,_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`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`图片与-box-示例(beta)`,children:`图片与 Box 示例(Beta)`}),`\n`,_jsxs(_components.p,{children:[`Images are placed in `,_jsx(_components.code,{children:`assets`}),`, and `,_jsx(_components.code,{children:`state`}),` points to them using a reference name; `,_jsx(_components.code,{children:\"`photo`\"}),` is used in questions to refer to this image. The following example asks both “whether there is a car in the image” and “where the car is”.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`23`,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:`23`,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:` \"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:` \"input\"`}),_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:` \"state\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"photo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"img-7f3a91\"`}),_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:` \"assets\"`}),_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:` \"img-7f3a91\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"image\"`}),_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:` \"format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"jpg\"`}),_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:` \"data_base64\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/9j/4AAQSkZJRg...\"`})]}),`\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:` \"questions\"`}),_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:` \"has_car\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"noul\"`}),_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:` \"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:'\"Is there a car in `photo`?\"'})]}),`\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:` \"car\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"box\"`}),_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:` \"instructions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:'\"the car in `photo`\"'})]}),`\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`,_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`]})})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`answers`}),` in the response:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,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:`8`,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:` \"has_car\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"noul\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"noul\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.97`}),_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:` \"car\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"box\"`}),_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:` \"box\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"top\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.24`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"bottom\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.81`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"left\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.15`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"right\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.74`}),_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.74`})]}),`\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`]})})}),`\n`,_jsxs(_components.p,{children:[`Box questions always return a box, and there is no result such as “not found”; a box will still be provided even when there is no target in the image, only with lower confidence. When unsure whether the target exists, add a `,_jsx(_components.code,{children:`noul`}),` question in the same request as shown in the example above; ignore the box if `,_jsx(_components.code,{children:`noul`}),` is very low.`]}),`\n`,_jsx(Heading,{level:`3`,id:`image-requirements`,children:`Image Requirements`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Item`}),_jsx(_components.th,{children:`Limitations`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Format`}),_jsx(_components.td,{children:`Static PNG or JPEG images; animated images are not supported. WebP, GIF, HEIC, etc., must be converted to PNG or JPEG first`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Single Image Size`}),_jsx(_components.td,{children:`No more than 16 MiB after decoding`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Width, Height`}),_jsx(_components.td,{children:`280 to 1568 pixels per side; an error will be returned directly if out of range, no automatic scaling`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Request Body`}),_jsx(_components.td,{children:`No more than 32 MiB, including JSON and base64`})]})]})]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Scale the long edge down to within 1568 pixels before sending. Upstream will strip EXIF data and will not rotate according to EXIF orientation; please orient the pixels of phone photos properly beforehand.`}),`\n`,_jsxs(_components.li,{children:[`Images will be converted into input tokens, counted towards `,_jsx(_components.code,{children:`usage.input_tokens`}),`, and also occupy the context window. An image of about 800 pixels is approximately 1500 tokens.`]}),`\n`,_jsx(_components.li,{children:`If any image in the request fails to meet the requirements, the entire request fails, and partial results will not be returned.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`注意事项`,children:`注意事项`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`This endpoint is not a chat endpoint and does not accept `,_jsx(_components.code,{children:`messages`}),` or `,_jsx(_components.code,{children:`stream`}),`.`]}),`\n`,_jsx(_components.li,{children:`Image input and Box questions are currently in Beta. Request formats, results, and limitations may change across versions, and they are not recommended for direct use in production decisions.`}),`\n`,_jsx(_components.li,{children:`The context window is 32000 tokens.`}),`\n`,_jsxs(_components.li,{children:[`When a business failure occurs, the HTTP status code may still be 200. Please check both `,_jsx(_components.code,{children:`success`}),` and `,_jsx(_components.code,{children:`errors`}),`. Authentication failure returns `,_jsx(_components.code,{children:`401`}),`, a missing `,_jsx(_components.code,{children:`model`}),` or invalid JSON returns `,_jsx(_components.code,{children:`400`}),`, and a non-existent model returns `,_jsx(_components.code,{children:`404`}),`.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{apiKeyUrl,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":"Jev Decision API","description":"- Synchronous decision API, not a chat API, does not support streaming output\n- Submit context material `state` and multiple questions `questions`, returning the probability, option, score, or image location for each question in a single response\n- Supports image input and Box localization questions (Beta)\n- Set the model name to `jev` when calling\n","api":"POST https://aireiter.com/api/v1/systemone","href":"/en/api-reference/text/jev/endpoint"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Authorizations","slug":"authorizations","depth":2,"children":[]},{"title":"Body","slug":"body","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Usage Examples","slug":"usage-examples","depth":2,"children":[]},{"title":"Multi-Question Example","slug":"multi-question-example","depth":2,"children":[]},{"title":"图片与 Box 示例(Beta)","slug":"图片与-box-示例(beta)","depth":2,"children":[{"title":"Image Requirements","slug":"image-requirements","depth":3,"children":[]}]},{"title":"注意事项","slug":"注意事项","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"15\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://aireiter.com/api/v1/systemone\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$API_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"model\": \"jev\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"input\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"state\": \"The payment API timed out.\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"questions\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"is_urgent\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"type\": \"noul\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"instructions\": \"Does this need a person right now?\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Python","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"20\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> os\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">response \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests.post(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://aireiter.com/api/v1/systemone\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> headers\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Authorization\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">f\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bearer \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">{\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">os.environ[\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'API_KEY'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">]\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> json\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"jev\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"input\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"state\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"The payment API timed out.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"questions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"is_urgent\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"noul\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"instructions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Does this need a person right now?\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">print\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(response.json()[\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"result\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">][\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"result\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">][\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"answers\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">])\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"JavaScript","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"22\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> response\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> fetch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://aireiter.com/api/v1/systemone\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> method:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"POST\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> headers:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> Authorization:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> `Bearer \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">${\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">process\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">env\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\">API_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">`\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"application/json\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> body:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> JSON\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">stringify\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">({\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> model:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"jev\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> input:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> state:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"The payment API timed out.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> questions:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> is_urgent:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> type:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"noul\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> instructions:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Does this need a person right now?\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }),\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> data\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">json\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">log\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">data\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">result\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">result\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">answers\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"21\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"result\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"state\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Completed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"result\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"jev-1.14.0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"answers\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"is_urgent\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"noul\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"noul\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.49\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"usage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"input_tokens\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">280\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"output_tokens\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">23\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"errors\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"messages\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: []\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Jev Decision API","path":"/api/v1/systemone","servers":[{"url":"https://aireiter.com"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{"Authorization":{"schema":[{"type":"string","description":"API key, Bearer Token format Get API Key: Visit the to get your API Key","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"model":[{"type":"string","description":"Model name. Fixed value `jev` . The `result.result.model` in the response is the actual version number used upstream, such as `jev-1.14.0` . This field is returned by the upstream service; do not provide a version number in the request.","required":true}],"input":[{"type":"object","properties":{"state":[{"type":"object","properties":{},"description":"The material to be judged. It can be a single sentence, an object, or an array. Only include data necessary to complete the judgment; do not include sensitive information such as API keys or passwords. When including images, specify the image reference name in `state` , such as `{ \"photo\": \"img-7f3a91\" }` , where the reference name corresponds to a key in `assets` .","required":true}],"assets":[{"type":"object","properties":{"type":[{"type":"string","description":"Fixed as `image` , can be omitted."}],"format":[{"type":"string","description":"Image format: `png` , `jpg` , or `jpeg` , lowercase.","required":true}],"data_base64":[{"type":"string","description":"Base64 encoding of the image file. Use the standard base64 alphabet, with `=` padding, no line breaks, and without the `data:` prefix.","required":true}]},"description":"Image table (Beta). The key is the reference name, and the value is the image object. Omit if not including images. Reference names are matched as plain text and can be written in any string within `state` , question `instructions` , or `criteria` . The model will see the image at that position. Choose reference names that will not collide with body text; using a UUID for each image is recommended. Each reference name must appear at least once in the request."}],"questions":[{"type":"object","properties":{},"description":"Question table, cannot be empty. Key names are self-defined, and each question is an object. Each question must have `type` and `instructions` . `noul` — True/false question. Returns `noul` , ranging from 0 to 1, indicating the probability of “true”. `criteria` is optional, structured as `{ \"true\": \"what counts as true\", \"false\": \"what counts as false\" }` . `choice` — Single-choice question. `criteria` is required and is an object of “option name → description”. The returned `choice` is the selected option name. `score` — Scoring. `criteria` is required and is an ordered array of at least two items, from low to high. The returned `score` is a numeric value indicating which tier it falls into, with the first item being 0, and can be a decimal. For example, with three tiers, `1.99` indicates it almost falls into the third item. `box` — Image localization (Beta). Must include images; does not accept `criteria` . Write what to look for and in which image in `instructions` , for example `\"the car in `photo`\"` . Returns a rectangle bounding the target.","required":true}]},"description":"Judgment content. Contains `state` and `questions` , plus `assets` when images are included.","required":true}]}}],"examples":{"example":{"value":{"model":"\u003cstring>","input":{"state":{},"assets":{"type":"\u003cstring>","format":"\u003cstring>","data_base64":"\u003cstring>"},"questions":{}}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"success":[{"type":"boolean","description":"Whether the request was successful"}],"errors":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Error list. Empty array on success"}],"messages":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Additional messages. Empty array when there are no messages"}],"result":[{"type":"object","properties":{"state":[{"type":"string","description":"Execution status. `Completed` indicates completion"}],"result":[{"type":"object","properties":{"model":[{"type":"string","description":"The actual upstream version used, such as `jev-1.14.0`"}],"answers":[{"type":"object","properties":{},"description":"Results for each question. Keys match the question names in the request. `noul` : `{ \"type\": \"noul\", \"noul\": 0.49 }` . Values of `0.8` and above can be considered “yes”, `0.2` and below can be considered “no”, and values close to `0.5` indicate uncertainty. `choice` : `choice` is the selected option name, `probabilities` are the probabilities for each option, and `confidence` is the confidence score. `score` : `score` is the score, and `legend` maps tier indices back to the text you submitted. `box` : `box` consists of four edges `{ \"top\", \"bottom\", \"left\", \"right\" }` , ranging from 0 to 1 as proportions relative to the image height and width, with the origin at the top-left corner; `confidence` is the confidence score. When drawing bounding boxes, multiply each edge by the image’s pixel width and height."}],"usage":[{"type":"object","properties":{"input_tokens":[{"type":"integer","description":"Number of input tokens"}],"output_tokens":[{"type":"integer","description":"Number of output tokens"}]},"description":"Token usage"}]},"description":"Model response"}]},"description":"Upstream execution result"}]}}],"examples":{"example":{"value":{"success":true,"errors":[{}],"messages":[{}],"result":{"state":"\u003cstring>","result":{"model":"\u003cstring>","answers":{},"usage":{"input_tokens":123,"output_tokens":123}}}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"none-ddc89343","siteName":"AIReiter","title":"Jev Decision API - AIReiter","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"zh":{"href":"/zh/api-reference/text/jev/endpoint","matchLevel":1},"en":{"href":"/en/api-reference/text/jev/endpoint","matchLevel":0},"ja":{"href":"/ja/api-reference/text/jev/endpoint","matchLevel":1},"ko":{"href":"/ko/api-reference/text/jev/endpoint","matchLevel":1}}},"lastModified":"2026-10-23T08:45:38.676Z","originalFileLocation":"en/api-reference/text/jev/endpoint.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"- Synchronous decision API, not a chat API, does not support streaming output - Submit context material state and multiple questions questions, returning the probability, option, score, or image location for each question in a single response - Supports image input and Box localization questions (Beta) - Set the model name to jev when calling\">\u003cmeta data-mint-head name=\"application-name\" content=\"AIReiter\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/none-ddc89343/uT9ex3S7MwmkeLBG/_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/none-ddc89343/uT9ex3S7MwmkeLBG/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/none-ddc89343/uT9ex3S7MwmkeLBG/_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/none-ddc89343/uT9ex3S7MwmkeLBG/_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/none-ddc89343/uT9ex3S7MwmkeLBG/_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/none-ddc89343/uT9ex3S7MwmkeLBG/_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/none-ddc89343/uT9ex3S7MwmkeLBG/_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/none-ddc89343/uT9ex3S7MwmkeLBG/_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/none-ddc89343/uT9ex3S7MwmkeLBG/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Jev Decision API - AIReiter\">\u003cmeta data-mint-head property=\"og:description\" content=\"- Synchronous decision API, not a chat API, does not support streaming output - Submit context material state and multiple questions questions, returning the probability, option, score, or image location for each question in a single response - Supports image input and Box localization questions (Beta) - Set the model name to jev when calling\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AIReiter\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.aireiter.com/en/api-reference/text/jev/endpoint\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://none-ddc89343.mintlify.site/_mintlify/api/og/v2?division=Jev\u0026amp;title=Jev+Decision+API\u0026amp;description=-+Synchronous+decision+API%2C+not+a+chat+API%2C+does+not+support+streaming+output%0A-+Submit+context+material+%60state%60+and+multiple+questions+%60questions%60%2C+returning+th\u0026amp;theme=c528f465d65e3782bf11f8dc\u0026amp;signature=d3079a2980e6a2bcfe27b7f6deceb02be3735b96d1a9978c1d9d656ec2ca987b\">\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=\"Jev Decision API - AIReiter\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"- Synchronous decision API, not a chat API, does not support streaming output - Submit context material state and multiple questions questions, returning the probability, option, score, or image location for each question in a single response - Supports image input and Box localization questions (Beta) - Set the model name to jev when calling\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://none-ddc89343.mintlify.site/_mintlify/api/og/v2?division=Jev\u0026amp;title=Jev+Decision+API\u0026amp;description=-+Synchronous+decision+API%2C+not+a+chat+API%2C+does+not+support+streaming+output%0A-+Submit+context+material+%60state%60+and+multiple+questions+%60questions%60%2C+returning+th\u0026amp;theme=c528f465d65e3782bf11f8dc\u0026amp;signature=d3079a2980e6a2bcfe27b7f6deceb02be3735b96d1a9978c1d9d656ec2ca987b\">\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/none-ddc89343/uT9ex3S7MwmkeLBG/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AIReiter\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563EB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.aireiter.com/en/api-reference/text/jev/endpoint\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api-reference/text/jev/endpoint.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.aireiter.com/en/api-reference/text/jev/endpoint\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.aireiter.com/zh/api-reference/text/jev/endpoint\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.aireiter.com/ja/api-reference/text/jev/endpoint\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.aireiter.com/ko/api-reference/text/jev/endpoint\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.aireiter.com/zh/api-reference/text/jev/endpoint\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.aireiter.com/#organization\",\"name\":\"AIReiter\",\"url\":\"https://docs.aireiter.com\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.aireiter.com#website\",\"name\":\"AIReiter\",\"url\":\"https://docs.aireiter.com\",\"publisher\":{\"@id\":\"https://docs.aireiter.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.aireiter.com/en/api-reference/text/jev/endpoint#webpage\",\"url\":\"https://docs.aireiter.com/en/api-reference/text/jev/endpoint\",\"name\":\"Jev Decision API\",\"description\":\"- Synchronous decision API, not a chat API, does not support streaming output - Submit context material state and multiple questions questions, returning the probability, option, score, or image location for each question in a single response - Supports image input and Box localization questions (Beta) - Set the model name to jev when calling\",\"dateModified\":\"2026-10-23T08:45:38.676Z\",\"isPartOf\":{\"@id\":\"https://docs.aireiter.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.aireiter.com/en/api-reference/text/jev/endpoint#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.aireiter.com/en/api-reference/text/jev/endpoint#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Text Series\",\"item\":\"https://docs.aireiter.com/en/api-reference/text/claude-messages-api/endpoint\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Jev Decision API\",\"item\":\"https://docs.aireiter.com/en/api-reference/text/jev/endpoint\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.aireiter.com/en/api-reference/text/jev/endpoint#apireference\",\"headline\":\"Jev Decision API\",\"name\":\"Jev Decision API\",\"description\":\"- Synchronous decision API, not a chat API, does not support streaming output - Submit context material state and multiple questions questions, returning the probability, option, score, or image location for each question in a single response - Supports image input and Box localization questions (Beta) - Set the model name to jev when calling\",\"url\":\"https://docs.aireiter.com/en/api-reference/text/jev/endpoint\",\"mainEntityOfPage\":{\"@id\":\"https://docs.aireiter.com/en/api-reference/text/jev/endpoint#webpage\"},\"dateModified\":\"2026-10-23T08:45:38.676Z\",\"publisher\":{\"@id\":\"https://docs.aireiter.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.aireiter.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AIReiter\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AIReiter\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/api-reference/text/jev/endpoint.md","siteName":"AIReiter","nav":{"global":null,"languages":[{"language":"zh","pages":[{"title":"zh","href":"/zh/api-reference/text/jev/endpoint"}]},{"language":"en","groups":[{"group":"Overview","pages":[{"title":"AIReiter — AI Text, Image, and Video Generation API Platform","href":"/en/overview"}]},{"group":"Image Series","icon":"image","pages":[{"group":"Gemini-3-Pro-Image-preview (Nano banana pro)","icon":"image","pages":[{"title":"Nano Banana Pro Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/gemini-3-pro/generation"}]},{"group":"Gemini-2.5-Flash-Image-preview (Nano banana)","icon":"image","pages":[{"title":"Nano Banana Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/nano-banana/generation"}]},{"group":"Nano Banana V2","icon":"image","pages":[{"title":"Nano Banana V2 Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/nano-banana-v2/generation"}]},{"group":"Nano Banana 2.1","icon":"image","pages":[{"title":"Nano Banana 2.1 Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/nano-banana-2-1/generation"}]},{"group":"GPT-4o-image","icon":"image","pages":[{"title":"GPT-4o Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/gpt-4o/generation"}]},{"group":"GPT-Image-1.5","icon":"image","pages":[{"title":"GPT-Image-1.5 Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/gpt-image-1-5/generation"}]},{"group":"GPT-Image-2","icon":"image","pages":[{"title":"GPT-Image-2 Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/gpt-image-2/generation"},{"title":"GPT-Image-2 Official Channel Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/gpt-image-2-official/generation"}]},{"group":"GPT-Image-2.5","icon":"image","pages":[{"title":"GPT-Image-2.5 Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/gpt-image-2-5/generation"}]},{"group":"GPT-Image-2.6","icon":"image","pages":[{"title":"GPT-Image-2.6 Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/gpt-image-2-6/generation"}]},{"group":"Qwen Image 3.0","icon":"image","pages":[{"title":"Qwen Image 3.0 Image Generation and Editing","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/qwen-image-3/generation"},{"title":"Qwen Image 3.0 Pro Image Generation and Editing","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/qwen-image-3-pro/generation"}]},{"group":"Seedream-4.0","icon":"image","pages":[{"title":"Seedream V4 Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/seedream-4/generation"}]},{"group":"Seedream-4.5","icon":"image","pages":[{"title":"Seedream V4.5 Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/seedream-4.5/generation"}]},{"group":"Seedream V5 lite","icon":"image","pages":[{"title":"Seedream V5 lite Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/seedream-v5-lite/generation"},{"title":"Seedream V5 Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/seedream-v5-lite/seedream-5.0/generation"}]},{"group":"Seedream V5 Pro","icon":"image","pages":[{"title":"Seedream V5 Pro Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/seedream-v5-pro/generation"}]},{"group":"Seedream 5.0 Pro Layerize","icon":"image","pages":[{"title":"Seedream 5.0 Pro Layerize Layer Decomposition","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/seedream-v5-pro-layerize/generation"}]},{"group":"Seedream 5.0 Flash","icon":"image","pages":[{"title":"Seedream 5.0 Flash Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/seedream-v5-flash/generation"}]},{"group":"Seedream 5.0 Flash Layerize","icon":"image","pages":[{"title":"Seedream 5.0 Flash Layerize Layer Separation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/seedream-v5-flash-layerize/generation"}]},{"group":"Wan2.7-Image-Pro","icon":"image","pages":[{"title":"Wan2.7-Image-Pro Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/wan2-7-image-pro/generation"}]},{"group":"FLUX.2 Pro","icon":"image","pages":[{"title":"FLUX.2 Pro Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/flux-2-pro/generation"}]},{"group":"Midjourney V7","icon":"image","pages":[{"title":"Midjourney V7 Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/midjourney-v7/generation"},{"title":"Midjourney V7 Full-Image Redraw","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/midjourney-v7/retexture"},{"title":"Midjourney V7 Remove Background","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/midjourney-v7/remove-bg"}]},{"group":"Midjourney V8.1","icon":"image","pages":[{"title":"Midjourney V8.1 Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/midjourney-v8-1/generation"},{"title":"Midjourney V8.1 Full-Image Redraw","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/midjourney-v8-1/retexture"},{"title":"Midjourney V8.1 Remove Background","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/midjourney-v8-1/remove-bg"}]},{"group":"Midjourney V8.2","icon":"image","pages":[{"title":"Midjourney V8.2 Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/midjourney-v8-2/generation"}]},{"group":"Krea 2 Turbo","icon":"image","pages":[{"title":"Krea 2 Turbo Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/krea-2-turbo/generation"}]},{"group":"Z-Image Turbo","icon":"image","pages":[{"title":"Z-Image Turbo Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/z-image-turbo/generation"}]},{"group":"Grok Imagine Image 2.0","icon":"image","pages":[{"title":"Grok Imagine Image 2.0 Image Generation and Editing","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/grok-imagine-image-2-0/generation"},{"title":"Grok Imagine 2.0 Ext Image Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/images/grok-imagine-2-0-ext/generation"}]}]},{"group":"Video Series","icon":"video","pages":[{"group":"Kling 4.0","icon":"video","pages":[{"title":"Kling 4.0 Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/kling-4-0/generation"}]},{"group":"Kling 3.0","icon":"video","pages":[{"title":"Kling 3.0 Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/kling-3-0/generation"}]},{"group":"Kling v3 Omni","icon":"video","pages":[{"title":"Kling v3 Omni Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/kling-v3-omni/generation"}]},{"group":"Kling 3.0 Turbo","icon":"video","pages":[{"title":"Kling 3.0 Turbo Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/kling-3-0-turbo/generation"}]},{"group":"Kling 3.0 Motion Control","icon":"video","pages":[{"title":"Kling 3.0 Motion Control Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/kling-3-motion-control/generation"}]},{"group":"Grok Imagine 1.5","icon":"video","pages":[{"title":"Grok Imagine 1.5 Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/grok-imagine-1-5/generation"}]},{"group":"FLUX 3 Video","icon":"video","pages":[{"title":"FLUX 3 Video Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/flux-3-video/generation"}]},{"group":"FLUX 3 Max","icon":"video","pages":[{"title":"FLUX 3 Max Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/flux-3-max/generation"}]},{"group":"VEO3.1","icon":"video","pages":[{"title":"VEO3.1 Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/veo3-1/generation"}]},{"group":"VEO3.1 Fast","icon":"video","pages":[{"title":"VEO3.1 Fast Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/veo3-1-fast/generation"}]},{"group":"Gemini Omni Flash Ext / 1.1","icon":"video","pages":[{"title":"Gemini Omni Flash Ext Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/gemini-omni-flash-ext/generation"}]},{"group":"Seedance-1.5-pro","icon":"video","pages":[{"title":"Seedance-1.5-pro Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/seedance-1-5-pro/generation"}]},{"group":"Seedance Pro Fast","icon":"video","pages":[{"title":"Seedance Pro Fast Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/seedance_pro_fast/generation"}]},{"group":"Seedance Pro","icon":"video","pages":[{"title":"Seedance Pro Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/seedance_pro/generation"}]},{"group":"Seedance 2.0","icon":"video","pages":[{"title":"Seedance 2.0 Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/seedance2/generation"}]},{"group":"Seedance 2.0 Fast","icon":"video","pages":[{"title":"Seedance 2.0 Fast Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/seedance2_fast/generation"}]},{"group":"Seedance 2.0 Mini","icon":"video","pages":[{"title":"Seedance 2.0 Mini Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/seedance2_mini/generation"}]},{"group":"Seedance 2.5","icon":"video","pages":[{"title":"Seedance 2.5 Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/seedance2_5/generation"}]},{"group":"HappyHorse 1.0","icon":"video","pages":[{"title":"HappyHorse 1.0 Video Generation and Editing","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/happyhorse-1-0/generation"}]},{"group":"HappyHorse 1.1","icon":"video","pages":[{"title":"HappyHorse 1.1 Multi-Reference Image Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/happyhorse-1-1/generation"}]},{"group":"MiniMax H3","icon":"video","pages":[{"title":"MiniMax H3 Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/minimax-h3/generation"},{"title":"MiniMax H3 Turbo Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/minimax-h3/turbo"}]},{"group":"Wan 3.0","icon":"video","pages":[{"title":"Wan 3.0 Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/wan-3-0/generation"}]},{"group":"Muse Video Ext","icon":"video","pages":[{"title":"Muse Video Ext Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/muse-video-ext/generation"}]},{"group":"Vidu Q4","icon":"video","pages":[{"title":"Vidu Q4 Video Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/videos/vidu-q4/generation"}]}]},{"group":"Audio Series","icon":"music","pages":[{"group":"Seed Audio 1.0","icon":"music","pages":[{"title":"Seed Audio 1.0 Audio Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/audios/seed-audio-1-0/generation"}]},{"group":"Suno","icon":"music","pages":[{"title":"Suno Music Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/audios/suno/generation"},{"title":"Suno Lyrics Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/audios/suno/lyrics"},{"title":"Suno Continuation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/audios/suno/extend"},{"title":"Suno Cover","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/audios/suno/cover"}]},{"group":"Flow Music","icon":"music","pages":[{"title":"Flow Music Music Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/audios/flow-music/generation"},{"title":"Flow Music Lyrics Generation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/audios/flow-music/lyrics"},{"title":"Flow Music Continuation","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/audios/flow-music/extend"},{"title":"Flow Music Replacement","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/audios/flow-music/replace"},{"title":"Flow Music Cover","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/audios/flow-music/cover"},{"title":"Flow Music Stems","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/audios/flow-music/stems"},{"title":"Flow Music Upload","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/audios/flow-music/upload"},{"title":"Flow Music Download","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/audios/flow-music/download"},{"title":"Flow Music Video","api":"POST https://aireiter.com/api/openapi/submit","href":"/en/api-reference/audios/flow-music/video"}]}]},{"group":"Text Series","icon":"message","pages":[{"group":"Claude Messages API","icon":"message","pages":[{"title":"Claude Messaging API","api":"POST https://aireiter.com/api/v1/messages","href":"/en/api-reference/text/claude-messages-api/endpoint"}]},{"group":"OpenAI Chat Completions API","icon":"message","pages":[{"title":"OpenAI Chat Completions API","api":"POST https://aireiter.com/api/v1/chat/completions","href":"/en/api-reference/text/openai-chat-completions-api/endpoint"}]},{"group":"OpenAI Responses API","icon":"message","pages":[{"title":"OpenAI Responses API","description":"- Compatible with OpenAI Responses API protocol, supporting text conversation, image understanding, tool invocation, structured output, and reasoning mode\n- Mainly used by tools such as Codex CLI and AI SDK\n","api":"POST https://aireiter.com/api/v1/responses","href":"/en/api-reference/text/openai-responses-api/endpoint"}]},{"group":"Jev","icon":"message","pages":[{"title":"Jev Decision API","api":"POST https://aireiter.com/api/v1/systemone","href":"/en/api-reference/text/jev/endpoint"}]}]},{"group":"Task Management","icon":"list-check","pages":[{"title":"Get Task Status","description":"- Query the execution status and result of asynchronous tasks\n- Real-time status updates and progress tracking\n- Retrieve generated results upon task completion\n","api":"POST https://aireiter.com/api/openapi/query","href":"/en/api-reference/tasks/status"},{"title":"Query Balance","api":"GET https://aireiter.com/api/openapi/balance","href":"/en/api-reference/tasks/balance"}]}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/api-reference/text/jev/endpoint"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/api-reference/text/jev/endpoint"}]}]},"basePath":"","title":"Jev Decision API - AIReiter","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js"]}