Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
model
string
required
The name of the LLM model to use.
messages
Message · object[]
required
The messages to send to the LLM model.
Show child attributes
tags
any
Up to 10 key/value labels recorded with this call, for filtering and grouping usage. Merged with the X-EdenAI-Tags header.
Example:
{ "client": "acme", "project": "invoices" }
routing
ProviderRoutingPreferences · object | null
How to pick between the providers that serve the requested model. Applies when model is a model name with no provider prefix (e.g. 'gpt-5.5'); ignored for a concrete 'provider/model' id, which already names its provider, except zero_data_retention, which holds every model in the request to it. With model='@edenai' the platform chooses the model too: quality_cost steers that choice, and the provider fields hold the models it picks from as they hold any provider. Your own router_candidates are kept as you listed them.
Show child attributes
fallbacks
string[] | null
List of fallback model IDs to try if the primary model fails. Models are tried in order. Example: ['anthropic/claude-3-opus', 'openai/gpt-4o']
Maximum array length: 11
session_id
string | null
Identifies a conversation, so its requests keep reaching the provider that holds its prompt cache. Any stable string you choose — a thread id, a ticket number, an agent run. Also accepted as the x-session-id header, for clients that cannot add body fields, and read from the headers coding agents already send (x-claude-code-session-id, x-session-affinity, session-id, session_id, and x-client-request-id from pi and Codex); the body field wins if both are sent. Without one, a conversation is recognised from its opening messages instead.
Maximum string length: 256
router_candidates
string[] | null
Models the '@edenai' router may choose BETWEEN — it picks the model, whereas routing picks the provider for a model you already named. Used only when model='@edenai'. Each entry is a bare model name (e.g. 'gpt-5.5' — the winner's provider is then picked like any provider-less request) or a 'provider/model' id (e.g. 'openai/gpt-5-nano' — the winner is served by that exact provider). Entries the router cannot rank are skipped and listed under edenai_metadata.routing.auto.dropped; entries naming a model already in the list collapse into its earliest spelling, which decides how the winner is returned. The request fails only when no entry is left. If not provided, the router chooses from a default pool of eligible catalog models. At most 64 entries of up to 128 characters each.
Maximum array length: 64
Maximum string length: 128
pre_hooks
Pre Hooks · object[] | null
List of hooks to run before the LLM provider call. Each entry must have an 'action' key and optional 'params'. Example: [{'action': 'pdf_text_extract', 'params': {'method': 'default'}}]
post_hooks
Post Hooks · object[] | null
List of hooks to run after the LLM provider call. Each entry must have an 'action' key and optional 'params'. Example: [{'action': 'json_heal', 'params': {'json_schema': {...}}}]
n
integer | null
default:1
The number of completions to generate for each prompt. Defaults to 1.
Required range: x >= 1
reasoning_effort
enum<string> | null
The reasoning effort level for the LLM model.
Available options:
minimal,
low,
medium,
high,
max,
xhigh,
disable,
none
metadata
Metadata · object | null
Object of metadata associated with the chat request. Can be used to provide additional context or tracking information.
frequency_penalty
number | null
Penalty for repeated tokens in the output.
Required range: -2 <= x <= 2
logit_bias
Logit Bias · object | null
Logit bias to influence token generation.
Show child attributes
logprobs
boolean | null
default:false
Whether to include log probabilities of tokens in the output. Defaults to False.
top_logprobs
integer | null
Number of top log probabilities to return with each token. An integer between 0 and 20.
Required range: 0 <= x <= 20
max_tokens
integer | null
The maximum number of tokens to generate in the chat completion
Required range: x >= 1
max_completion_tokens
integer | null
An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens.
Required range: x >= 1
modalities
string[] | null
List of supported input/output modalities for the chat.
prediction
Prediction · object | null
field for storing prediction-related information.
audio
Audio · object | null
dictionary for audio-related parameters or metadata.
presence_penalty
number | null
Penalty for new tokens based on their presence in the text so far.
Required range: -2 <= x <= 2
response_format
Response Format · object | null
Specify the desired response format for the completion.
seed
integer | null
Seed for random number generation.
service_tier
enum<string> | null
'auto': Automatically select appropriate tier
'default': Use the default service tier
'flex': 50% cheaper processing with increased latency (OpenAI o3/o4-mini)
'scale' / 'priority': OpenAI scale and priority processing tiers
Available options:
auto,
default,
flex,
scale,
priority
stop
stringstring[]
Stop sequence(s) that end generation: a single string or a list of up to 4 strings.
stream
boolean | null
default:false
Whether to stream the response in real-time. Defaults to False.
stream_options
Stream Options · object | null
Options for streaming responses, such as chunk size or format.
temperature
number | null
Sampling temperature for controlling randomness in output.
Required range: 0 <= x <= 2
top_p
number | null
default:1
Nucleus sampling parameter for controlling diversity in output. Defaults to 1.0.
Required range: 0 <= x <= 1
tools
Tools · object[] | null
List of tools that can be used by the model to assist in generating responses.
tool_choice
stringTool Choice · object
Specify how tools should be used. Can be 'auto', 'required', 'none', or an object to force a specific tool.
parallel_tool_calls
boolean | null
Whether to allow parallel tool calls in the completion.
user
string | null
User identifier for tracking or personalization purposes.
function_call
enum<string>Function Call · object
Controls function calling (legacy). The string 'none' or 'auto', or an object forcing a specific function, e.g. {'name': 'my_function'}.
Available options:
none,
auto
functions
Functions · object[] | null
List of functions that can be called by the model to assist in generating responses.
thinking
Thinking · object | null
Parameters related to the model's reasoning or thinking process.
web_search_options
Web Search Options · object | null
Options for web search integration. Example: json web_search_options={ "search_context_size": "medium" # Options: "low", "medium", "high" }
verbosity
enum<string> | null
Hint the model to be more or less expansive in its replies. Values: "low", "medium", "high". low (gpt5 models)
Available options:
low,
medium,
high
prompt_cache_key
string | null
Prompt-cache routing hint (OpenAI): requests sharing a key and a common prompt prefix are routed to the same cache shard, improving hit rates for high-volume shared prefixes. Forwarded to providers that support it, dropped elsewhere. Also read for provider stickiness when no session_id or session header is given.
prompt_cache_retention
enum<string>string
How long the provider retains the prompt cache — OpenAI currently accepts "in_memory" (provider default, typically 5-10 minutes) and "24h" (extended retention, supported on gpt-5.x and gpt-4.1). The known values are advertised in the schema but not enforced: the value is passed through verbatim for the provider to validate, so new provider values work without an Eden AI release. Dropped for providers that don't support it.
Available options:
in_memory,
24h
prompt_cache_options
PromptCacheOptions · object | null
Request-level prompt-cache settings (mode and ttl) for OpenAI GPT-5.6 and newer models. Ignored by models that don't support prompt caching.
Show child attributes
extra_body
Extra Body · object | null
Additional parameters to pass in the request body to the provider API.
image_config
GeminiImageConfig · object | null
Image generation configuration for Google Gemini image models (e.g. google/gemini-2.5-flash-image).
Show child attributes
extra_headers
Extra Headers · object | null
Additional HTTP headers to pass to the provider API.
Show child attributes
Response
Successful Response
Response body for POST /chat/completions (non-streaming).
id
string
required
Unique identifier for the chat completion.
created
integer
required
Unix timestamp (seconds) when the completion was created.
model
string
required
Model that produced the completion.
choices
ChatCompletionChoice · object[]
required
List of completion choices generated for the request.
Show child attributes
object
string
default:chat.completion
Object type. Always 'chat.completion' for this endpoint.
Allowed value: "chat.completion"
usage
ChatCompletionUsage · object | null
Token usage statistics for the request.
Show child attributes
system_fingerprint
string | null
Backend configuration fingerprint that produced the response.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Eden AI Documentation","colors":{"primary":"#3d7cc9","light":"#6aa3e0","dark":"#2a5fa8"},"logo":{"light":"https://mintcdn.com/edenai/UmEpehfvjqdFrnPI/logo/dark.svg?fit=max\u0026auto=format\u0026n=UmEpehfvjqdFrnPI\u0026q=85\u0026s=d255714c3107aff5726601b49d305d9d","dark":"https://mintcdn.com/edenai/5FFg8A2lL0jCIrLn/logo/light.svg?fit=max\u0026auto=format\u0026n=5FFg8A2lL0jCIrLn\u0026q=85\u0026s=b6712983028369a6295728edc7d01664","href":"https://edenai.co"},"favicon":{"light":"https://mintcdn.com/edenai/UmEpehfvjqdFrnPI/images/favicon-dark.png?fit=max\u0026auto=format\u0026n=UmEpehfvjqdFrnPI\u0026q=85\u0026s=db4a5c60d344c859d15d8a894517422c","dark":"https://mintcdn.com/edenai/5FFg8A2lL0jCIrLn/images/favicon.png?fit=max\u0026auto=format\u0026n=5FFg8A2lL0jCIrLn\u0026q=85\u0026s=f807aac28a69e31f718485f7100419de"},"navbar":{"links":[{"href":"#chat","label":"Chat with us"},{"href":"https://edenai.co/","label":"Website"},{"href":"https://app-edenai.instatus.com/","label":"Status"}],"primary":{"type":"button","label":"To the App","href":"https://app.edenai.run/"}},"footer":{"socials":{"github":"https://github.com/edenai","linkedin":"https://www.linkedin.com/company/edenai","discord":"https://discord.gg/VYwTbMQc8u","youtube":"https://www.youtube.com/@edenai2254"},"links":[{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://www.edenai.co/privacy"},{"label":"Manage cookies","href":"#manage-cookies"}]}]},"seo":{"metatags":{"canonical":"https://www.edenai.co/docs"}},"integrations":{"hotjar":{"hjid":"6654925","hjsv":"6"},"intercom":{"appId":"we8gfv17"},"cookies":{"key":"edenai-cookie-consent","value":"accepted"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"edenai","hasAudioNarration":false,"actualSubdomain":"edenai","customDomains":["www.edenai.co"],"gitSource":{"type":"github","owner":"edenai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"edits":true,"thumbs":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b040a3c44961eaca6dcd4cd","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"V3 Documentation","count":124},{"language":"default","tag":"V3 API Reference","count":115},{"language":"default","tag":"Organization Management","count":58},{"language":"default","tag":"AI Features","count":57},{"language":"default","tag":"Expert Models","count":41},{"language":"default","tag":"Integrations","count":32},{"language":"default","tag":"LLMs","count":20},{"language":"default","tag":"General","count":13},{"language":"default","tag":"Image Features","count":11},{"language":"default","tag":"Coding Agents","count":11}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":false,"showHelpButton":true}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"cookie-consent.css","content":"#cc-main{--cc-btn-primary-bg: #3d7cc9;--cc-btn-primary-hover-bg: #2a5fa8;--cc-btn-primary-border-color: #3d7cc9;--cc-btn-primary-hover-border-color: #2a5fa8;--cc-toggle-on-bg: #3d7cc9;--cc-link-color: #3d7cc9}"}]}
{"page":{"pagePath":"api-reference/chat/chat-completions","slug":"/api-reference/chat/chat-completions","pageMetadata":{"title":"Chat Completions","description":"OpenAI-compatible chat completions endpoint (v3).","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/chat/completions","href":"/api-reference/chat/chat-completions","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"OpenAI-compatible chat completions endpoint (v3).\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Chat Completions","description":"OpenAI-compatible chat completions endpoint (v3).","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/chat/completions","href":"/api-reference/chat/chat-completions","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/edenai/d7b6320a7822e7bc/cookie-consent.js","/docs/_mintlify/custom/edenai/1e452f31ce3e9914/intercom-chat.js"],"openApiReferenceData":{"operation":{"tags":["Chat"],"summary":"Chat Completions","description":"OpenAI-compatible chat completions endpoint (v3).","operationId":"chat_completions_v3_chat_completions_post","requestBody":"067865fb-21e6-4e23-9015-ec6a0d682e59","responses":{"200":"94e9e619-e7c1-4ca5-b444-9bbadea031bf","422":"e5cd5fdb-3c26-4a2a-9d3a-f5c0f7b72f6e"},"security":["b9bd045e-1a2f-4fdd-ac8e-97933fcad533"],"method":"post","type":"path","servers":["eaf4418d-fc51-4a44-bb37-297ab58ec9ed"],"path":"/v3/chat/completions","baseUrlOptions":["https://api.edenai.run"],"title":"Chat Completions","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"model":{"type":"string","title":"Model","description":"The name of the LLM model to use.","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"messages":{"items":{"properties":{"role":{"type":"string","enum":["user","assistant","system","tool","developer","function"],"title":"Role","description":"The role of the message sender (e.g., 'user', 'assistant').","isRequired":true,"uniqueKey":"messages.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","title":"Content","description":"The content of the message: a string, or a list of content parts (text, image_url, input_audio, file, refusal).","uniqueKey":"messages.items.[INDEX].content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"MessageTextContent","required":["type","text"],"properties":{"type":{"type":"string","const":"text","title":"Type","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"string"},"text":{"type":"string","title":"Text","description":"The text content of the message.","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.0.text","typeLabel":"string"},"cache_control":{"oneOf":[{"type":"object","title":"CacheControl","description":"Prompt-cache marker.\n\nMarks a message (or content part) as a cache boundary so that the prefix\nup to that point is stored and reused on subsequent requests, reducing\nlatency and cost. Only a single contiguous cache-marked block is stored\nper request, and providers enforce a minimum token count below which\ncaching is silently skipped. Silently ignored by providers that don't\nsupport prompt caching.","required":["type"],"properties":{"type":{"type":"string","const":"ephemeral","title":"Type","description":"Cache type. Currently only 'ephemeral' is supported.","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.0.cache_control.oneOf.0.type","typeLabel":"string"},"ttl":{"oneOf":[{"type":"string","title":"Ttl","description":"Optional cache time-to-live, e.g. '3600s'. Provider-dependent.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.0.cache_control.oneOf.0.ttl.oneOf.0","typeLabel":"string"},{"type":"null","title":"Ttl","description":"Optional cache time-to-live, e.g. '3600s'. Provider-dependent.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.0.cache_control.oneOf.0.ttl.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.0.cache_control.oneOf.0.ttl","typeLabel":"string | null"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.0.cache_control.oneOf.0","typeLabel":"CacheControl · object"},{"type":"null","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.0.cache_control.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.0.cache_control","typeLabel":"CacheControl · object | null"},"prompt_cache_breakpoint":{"oneOf":[{"type":"object","title":"PromptCacheBreakpoint","description":"Marks the end of a reusable prompt prefix (OpenAI GPT-5.6 and newer).\n\nSet it on the last content part of the stable prefix you want cached: the prompt\nup to and including that part is stored and reused on later requests that share it,\nreducing latency and cost. Providers enforce a minimum token count below which\ncaching is skipped. Ignored by models that don't support explicit cache breakpoints.","properties":{"mode":{"oneOf":[{"type":"string","title":"Mode","description":"Breakpoint mode. Currently only \"explicit\" is defined; the known value is advertised in the schema but not enforced, so a new provider value works without an Eden AI release. Leave unset for the provider default.","const":"explicit","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.0.prompt_cache_breakpoint.oneOf.0.mode.oneOf.0","typeLabel":"string"},{"type":"string","title":"Mode","description":"Breakpoint mode. Currently only \"explicit\" is defined; the known value is advertised in the schema but not enforced, so a new provider value works without an Eden AI release. Leave unset for the provider default.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.0.prompt_cache_breakpoint.oneOf.0.mode.oneOf.1","typeLabel":"string"},{"type":"null","title":"Mode","description":"Breakpoint mode. Currently only \"explicit\" is defined; the known value is advertised in the schema but not enforced, so a new provider value works without an Eden AI release. Leave unset for the provider default.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.0.prompt_cache_breakpoint.oneOf.0.mode.oneOf.2","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.0.prompt_cache_breakpoint.oneOf.0.mode","typeLabel":"string · string · null"}},"additionalProperties":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.0.prompt_cache_breakpoint.oneOf.0","typeLabel":"PromptCacheBreakpoint · object"},{"type":"null","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.0.prompt_cache_breakpoint.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.0.prompt_cache_breakpoint","typeLabel":"PromptCacheBreakpoint · object | null"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"MessageTextContent · object"},{"type":"object","title":"MessageImageContent","required":["type","image_url"],"properties":{"type":{"type":"string","const":"image_url","title":"Type","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"string"},"image_url":{"properties":{"url":{"type":"string","title":"Url","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.image_url.url","typeLabel":"string"}},"type":"object","required":["url"],"title":"MessageImageUrl","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.image_url","typeLabel":"MessageImageUrl · object"},"cache_control":{"oneOf":[{"type":"object","title":"CacheControl","description":"Prompt-cache marker.\n\nMarks a message (or content part) as a cache boundary so that the prefix\nup to that point is stored and reused on subsequent requests, reducing\nlatency and cost. Only a single contiguous cache-marked block is stored\nper request, and providers enforce a minimum token count below which\ncaching is silently skipped. Silently ignored by providers that don't\nsupport prompt caching.","required":["type"],"properties":{"type":{"type":"string","const":"ephemeral","title":"Type","description":"Cache type. Currently only 'ephemeral' is supported.","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.cache_control.oneOf.0.type","typeLabel":"string"},"ttl":{"oneOf":[{"type":"string","title":"Ttl","description":"Optional cache time-to-live, e.g. '3600s'. Provider-dependent.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.cache_control.oneOf.0.ttl.oneOf.0","typeLabel":"string"},{"type":"null","title":"Ttl","description":"Optional cache time-to-live, e.g. '3600s'. Provider-dependent.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.cache_control.oneOf.0.ttl.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.cache_control.oneOf.0.ttl","typeLabel":"string | null"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.cache_control.oneOf.0","typeLabel":"CacheControl · object"},{"type":"null","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.cache_control.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.cache_control","typeLabel":"CacheControl · object | null"},"prompt_cache_breakpoint":{"oneOf":[{"type":"object","title":"PromptCacheBreakpoint","description":"Marks the end of a reusable prompt prefix (OpenAI GPT-5.6 and newer).\n\nSet it on the last content part of the stable prefix you want cached: the prompt\nup to and including that part is stored and reused on later requests that share it,\nreducing latency and cost. Providers enforce a minimum token count below which\ncaching is skipped. Ignored by models that don't support explicit cache breakpoints.","properties":{"mode":{"oneOf":[{"type":"string","title":"Mode","description":"Breakpoint mode. Currently only \"explicit\" is defined; the known value is advertised in the schema but not enforced, so a new provider value works without an Eden AI release. Leave unset for the provider default.","const":"explicit","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.prompt_cache_breakpoint.oneOf.0.mode.oneOf.0","typeLabel":"string"},{"type":"string","title":"Mode","description":"Breakpoint mode. Currently only \"explicit\" is defined; the known value is advertised in the schema but not enforced, so a new provider value works without an Eden AI release. Leave unset for the provider default.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.prompt_cache_breakpoint.oneOf.0.mode.oneOf.1","typeLabel":"string"},{"type":"null","title":"Mode","description":"Breakpoint mode. Currently only \"explicit\" is defined; the known value is advertised in the schema but not enforced, so a new provider value works without an Eden AI release. Leave unset for the provider default.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.prompt_cache_breakpoint.oneOf.0.mode.oneOf.2","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.prompt_cache_breakpoint.oneOf.0.mode","typeLabel":"string · string · null"}},"additionalProperties":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.prompt_cache_breakpoint.oneOf.0","typeLabel":"PromptCacheBreakpoint · object"},{"type":"null","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.prompt_cache_breakpoint.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1.prompt_cache_breakpoint","typeLabel":"PromptCacheBreakpoint · object | null"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"MessageImageContent · object"},{"type":"object","title":"MessageAudioContent","required":["type","input_audio"],"properties":{"type":{"type":"string","const":"input_audio","title":"Type","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"string"},"input_audio":{"properties":{"data":{"type":"string","title":"Data","description":"The audio data in base64 format or Http(s) link.","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.input_audio.data","typeLabel":"string"},"format":{"oneOf":[{"type":"string","title":"Format","description":"The format of the audio file (e.g., 'mp3', 'wav').","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.input_audio.format.oneOf.0","typeLabel":"string"},{"type":"null","title":"Format","description":"The format of the audio file (e.g., 'mp3', 'wav').","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.input_audio.format.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.input_audio.format","typeLabel":"string | null"}},"type":"object","required":["data"],"title":"MessageAudioInput","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.input_audio","typeLabel":"MessageAudioInput · object"},"cache_control":{"oneOf":[{"type":"object","title":"CacheControl","description":"Prompt-cache marker.\n\nMarks a message (or content part) as a cache boundary so that the prefix\nup to that point is stored and reused on subsequent requests, reducing\nlatency and cost. Only a single contiguous cache-marked block is stored\nper request, and providers enforce a minimum token count below which\ncaching is silently skipped. Silently ignored by providers that don't\nsupport prompt caching.","required":["type"],"properties":{"type":{"type":"string","const":"ephemeral","title":"Type","description":"Cache type. Currently only 'ephemeral' is supported.","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.cache_control.oneOf.0.type","typeLabel":"string"},"ttl":{"oneOf":[{"type":"string","title":"Ttl","description":"Optional cache time-to-live, e.g. '3600s'. Provider-dependent.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.cache_control.oneOf.0.ttl.oneOf.0","typeLabel":"string"},{"type":"null","title":"Ttl","description":"Optional cache time-to-live, e.g. '3600s'. Provider-dependent.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.cache_control.oneOf.0.ttl.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.cache_control.oneOf.0.ttl","typeLabel":"string | null"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.cache_control.oneOf.0","typeLabel":"CacheControl · object"},{"type":"null","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.cache_control.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.cache_control","typeLabel":"CacheControl · object | null"},"prompt_cache_breakpoint":{"oneOf":[{"type":"object","title":"PromptCacheBreakpoint","description":"Marks the end of a reusable prompt prefix (OpenAI GPT-5.6 and newer).\n\nSet it on the last content part of the stable prefix you want cached: the prompt\nup to and including that part is stored and reused on later requests that share it,\nreducing latency and cost. Providers enforce a minimum token count below which\ncaching is skipped. Ignored by models that don't support explicit cache breakpoints.","properties":{"mode":{"oneOf":[{"type":"string","title":"Mode","description":"Breakpoint mode. Currently only \"explicit\" is defined; the known value is advertised in the schema but not enforced, so a new provider value works without an Eden AI release. Leave unset for the provider default.","const":"explicit","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.prompt_cache_breakpoint.oneOf.0.mode.oneOf.0","typeLabel":"string"},{"type":"string","title":"Mode","description":"Breakpoint mode. Currently only \"explicit\" is defined; the known value is advertised in the schema but not enforced, so a new provider value works without an Eden AI release. Leave unset for the provider default.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.prompt_cache_breakpoint.oneOf.0.mode.oneOf.1","typeLabel":"string"},{"type":"null","title":"Mode","description":"Breakpoint mode. Currently only \"explicit\" is defined; the known value is advertised in the schema but not enforced, so a new provider value works without an Eden AI release. Leave unset for the provider default.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.prompt_cache_breakpoint.oneOf.0.mode.oneOf.2","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.prompt_cache_breakpoint.oneOf.0.mode","typeLabel":"string · string · null"}},"additionalProperties":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.prompt_cache_breakpoint.oneOf.0","typeLabel":"PromptCacheBreakpoint · object"},{"type":"null","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.prompt_cache_breakpoint.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2.prompt_cache_breakpoint","typeLabel":"PromptCacheBreakpoint · object | null"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"MessageAudioContent · object"},{"type":"object","title":"MessageFileContent","required":["type","file"],"properties":{"type":{"type":"string","const":"file","title":"Type","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.type","typeLabel":"string"},"file":{"oneOf":[{"type":"object","title":"MessageFileUrlInput","required":["file_id"],"properties":{"file_id":{"type":"string","title":"File Id","description":"File identifier: either a UUID from /v3/upload endpoint or an HTTP(S) URL.","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.file.oneOf.0.file_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.file.oneOf.0","typeLabel":"MessageFileUrlInput · object"},{"type":"object","title":"MessageFileB64Input","required":["file_data"],"properties":{"file_data":{"type":"string","title":"File Data","description":"The file data in base64 format.","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.file.oneOf.1.file_data","typeLabel":"string"}},"isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.file.oneOf.1","typeLabel":"MessageFileB64Input · object"}],"isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.file","typeLabel":"MessageFileUrlInput · object | MessageFileB64Input · object"},"cache_control":{"oneOf":[{"type":"object","title":"CacheControl","description":"Prompt-cache marker.\n\nMarks a message (or content part) as a cache boundary so that the prefix\nup to that point is stored and reused on subsequent requests, reducing\nlatency and cost. Only a single contiguous cache-marked block is stored\nper request, and providers enforce a minimum token count below which\ncaching is silently skipped. Silently ignored by providers that don't\nsupport prompt caching.","required":["type"],"properties":{"type":{"type":"string","const":"ephemeral","title":"Type","description":"Cache type. Currently only 'ephemeral' is supported.","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.cache_control.oneOf.0.type","typeLabel":"string"},"ttl":{"oneOf":[{"type":"string","title":"Ttl","description":"Optional cache time-to-live, e.g. '3600s'. Provider-dependent.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.cache_control.oneOf.0.ttl.oneOf.0","typeLabel":"string"},{"type":"null","title":"Ttl","description":"Optional cache time-to-live, e.g. '3600s'. Provider-dependent.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.cache_control.oneOf.0.ttl.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.cache_control.oneOf.0.ttl","typeLabel":"string | null"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.cache_control.oneOf.0","typeLabel":"CacheControl · object"},{"type":"null","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.cache_control.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.cache_control","typeLabel":"CacheControl · object | null"},"prompt_cache_breakpoint":{"oneOf":[{"type":"object","title":"PromptCacheBreakpoint","description":"Marks the end of a reusable prompt prefix (OpenAI GPT-5.6 and newer).\n\nSet it on the last content part of the stable prefix you want cached: the prompt\nup to and including that part is stored and reused on later requests that share it,\nreducing latency and cost. Providers enforce a minimum token count below which\ncaching is skipped. Ignored by models that don't support explicit cache breakpoints.","properties":{"mode":{"oneOf":[{"type":"string","title":"Mode","description":"Breakpoint mode. Currently only \"explicit\" is defined; the known value is advertised in the schema but not enforced, so a new provider value works without an Eden AI release. Leave unset for the provider default.","const":"explicit","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.prompt_cache_breakpoint.oneOf.0.mode.oneOf.0","typeLabel":"string"},{"type":"string","title":"Mode","description":"Breakpoint mode. Currently only \"explicit\" is defined; the known value is advertised in the schema but not enforced, so a new provider value works without an Eden AI release. Leave unset for the provider default.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.prompt_cache_breakpoint.oneOf.0.mode.oneOf.1","typeLabel":"string"},{"type":"null","title":"Mode","description":"Breakpoint mode. Currently only \"explicit\" is defined; the known value is advertised in the schema but not enforced, so a new provider value works without an Eden AI release. Leave unset for the provider default.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.prompt_cache_breakpoint.oneOf.0.mode.oneOf.2","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.prompt_cache_breakpoint.oneOf.0.mode","typeLabel":"string · string · null"}},"additionalProperties":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.prompt_cache_breakpoint.oneOf.0","typeLabel":"PromptCacheBreakpoint · object"},{"type":"null","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.prompt_cache_breakpoint.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3.prompt_cache_breakpoint","typeLabel":"PromptCacheBreakpoint · object | null"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.3","typeLabel":"MessageFileContent · object"},{"type":"object","title":"MessageRefusalContent","required":["type","refusal"],"properties":{"type":{"type":"string","const":"refusal","title":"Type","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.4.type","typeLabel":"string"},"refusal":{"type":"string","title":"Refusal","description":"The refusal message generated by the model.","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.4.refusal","typeLabel":"string"},"cache_control":{"oneOf":[{"type":"object","title":"CacheControl","description":"Prompt-cache marker.\n\nMarks a message (or content part) as a cache boundary so that the prefix\nup to that point is stored and reused on subsequent requests, reducing\nlatency and cost. Only a single contiguous cache-marked block is stored\nper request, and providers enforce a minimum token count below which\ncaching is silently skipped. Silently ignored by providers that don't\nsupport prompt caching.","required":["type"],"properties":{"type":{"type":"string","const":"ephemeral","title":"Type","description":"Cache type. Currently only 'ephemeral' is supported.","isRequired":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.4.cache_control.oneOf.0.type","typeLabel":"string"},"ttl":{"oneOf":[{"type":"string","title":"Ttl","description":"Optional cache time-to-live, e.g. '3600s'. Provider-dependent.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.4.cache_control.oneOf.0.ttl.oneOf.0","typeLabel":"string"},{"type":"null","title":"Ttl","description":"Optional cache time-to-live, e.g. '3600s'. Provider-dependent.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.4.cache_control.oneOf.0.ttl.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.4.cache_control.oneOf.0.ttl","typeLabel":"string | null"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.4.cache_control.oneOf.0","typeLabel":"CacheControl · object"},{"type":"null","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.4.cache_control.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.4.cache_control","typeLabel":"CacheControl · object | null"},"prompt_cache_breakpoint":{"oneOf":[{"type":"object","title":"PromptCacheBreakpoint","description":"Marks the end of a reusable prompt prefix (OpenAI GPT-5.6 and newer).\n\nSet it on the last content part of the stable prefix you want cached: the prompt\nup to and including that part is stored and reused on later requests that share it,\nreducing latency and cost. Providers enforce a minimum token count below which\ncaching is skipped. Ignored by models that don't support explicit cache breakpoints.","properties":{"mode":{"oneOf":[{"type":"string","title":"Mode","description":"Breakpoint mode. Currently only \"explicit\" is defined; the known value is advertised in the schema but not enforced, so a new provider value works without an Eden AI release. Leave unset for the provider default.","const":"explicit","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.4.prompt_cache_breakpoint.oneOf.0.mode.oneOf.0","typeLabel":"string"},{"type":"string","title":"Mode","description":"Breakpoint mode. Currently only \"explicit\" is defined; the known value is advertised in the schema but not enforced, so a new provider value works without an Eden AI release. Leave unset for the provider default.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.4.prompt_cache_breakpoint.oneOf.0.mode.oneOf.1","typeLabel":"string"},{"type":"null","title":"Mode","description":"Breakpoint mode. Currently only \"explicit\" is defined; the known value is advertised in the schema but not enforced, so a new provider value works without an Eden AI release. Leave unset for the provider default.","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.4.prompt_cache_breakpoint.oneOf.0.mode.oneOf.2","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.4.prompt_cache_breakpoint.oneOf.0.mode","typeLabel":"string · string · null"}},"additionalProperties":true,"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.4.prompt_cache_breakpoint.oneOf.0","typeLabel":"PromptCacheBreakpoint · object"},{"type":"null","uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.4.prompt_cache_breakpoint.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.4.prompt_cache_breakpoint","typeLabel":"PromptCacheBreakpoint · object | null"}},"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX].oneOf.4","typeLabel":"MessageRefusalContent · object"}],"uniqueKey":"messages.items.[INDEX].content.oneOf.1.items.[INDEX]","typeLabel":"MessageTextContent · object | MessageImageContent · object | MessageAudioContent · object | MessageFileContent · object | MessageRefusalContent · object"},"title":"Content","description":"The content of the message: a string, or a list of content parts (text, image_url, input_audio, file, refusal).","uniqueKey":"messages.items.[INDEX].content.oneOf.1","typeLabel":"(MessageTextContent · object | MessageImageContent · object | MessageAudioContent · object | MessageFileContent · object | MessageRefusalContent · object)[]"},{"type":"null","title":"Content","description":"The content of the message: a string, or a list of content parts (text, image_url, input_audio, file, refusal).","uniqueKey":"messages.items.[INDEX].content.oneOf.2","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].content","typeLabel":"string | (MessageTextContent · object | MessageImageContent · object | MessageAudioContent · object | MessageFileContent · object | MessageRefusalContent · object)[] | null"},"cache_control":{"oneOf":[{"type":"object","title":"CacheControl","description":"Optional prompt-cache marker. When set, this message becomes a cache boundary: prefix content is stored and reused on subsequent requests to reduce latency and cost. Silently ignored by providers that don't support prompt caching.","required":["type"],"properties":{"type":{"type":"string","const":"ephemeral","title":"Type","description":"Cache type. Currently only 'ephemeral' is supported.","isRequired":true,"uniqueKey":"messages.items.[INDEX].cache_control.oneOf.0.type","typeLabel":"string"},"ttl":{"oneOf":[{"type":"string","title":"Ttl","description":"Optional cache time-to-live, e.g. '3600s'. Provider-dependent.","uniqueKey":"messages.items.[INDEX].cache_control.oneOf.0.ttl.oneOf.0","typeLabel":"string"},{"type":"null","title":"Ttl","description":"Optional cache time-to-live, e.g. '3600s'. Provider-dependent.","uniqueKey":"messages.items.[INDEX].cache_control.oneOf.0.ttl.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].cache_control.oneOf.0.ttl","typeLabel":"string | null"}},"uniqueKey":"messages.items.[INDEX].cache_control.oneOf.0","typeLabel":"CacheControl · object"},{"type":"null","description":"Optional prompt-cache marker. When set, this message becomes a cache boundary: prefix content is stored and reused on subsequent requests to reduce latency and cost. Silently ignored by providers that don't support prompt caching.","uniqueKey":"messages.items.[INDEX].cache_control.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].cache_control","typeLabel":"CacheControl · object | null"}},"additionalProperties":true,"type":"object","required":["role"],"title":"Message","uniqueKey":"messages.items.[INDEX]","typeLabel":"Message · object"},"type":"array","title":"Messages","description":"The messages to send to the LLM model.","isRequired":true,"uniqueKey":"messages","typeLabel":"Message · object[]"},"tags":{"title":"Tags","description":"Up to 10 key/value labels recorded with this call, for filtering and grouping usage. Merged with the `X-EdenAI-Tags` header.","examples":[{"client":"acme","project":"invoices"}],"uniqueKey":"tags","typeLabel":"any"},"routing":{"oneOf":[{"type":"object","title":"ProviderRoutingPreferences","description":"How to pick between the providers that serve the requested model. Applies when `model` is a model name with no provider prefix (e.g. 'gpt-5.5'); ignored for a concrete 'provider/model' id, which already names its provider, except `zero_data_retention`, which holds every model in the request to it. With model='@edenai' the platform chooses the model too: `quality_cost` steers that choice, and the provider fields hold the models it picks from as they hold any provider. Your own `router_candidates` are kept as you listed them.","properties":{"sort":{"oneOf":[{"type":"string","title":"Sort","description":"What to optimise for when several providers serve the requested model. 'cost' (default) picks the cheapest for this request's shape; 'speed' the highest tokens/second; 'latency' the fastest to first token; 'exact' the most reliable at producing well-formed tool calls / structured output. Health is always a filter first — no mode will route you to a failing provider. Can also be written as a model suffix, e.g. 'gpt-5.5:speed'.","enum":["cost","speed","latency","exact"],"uniqueKey":"routing.oneOf.0.sort.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Sort","description":"What to optimise for when several providers serve the requested model. 'cost' (default) picks the cheapest for this request's shape; 'speed' the highest tokens/second; 'latency' the fastest to first token; 'exact' the most reliable at producing well-formed tool calls / structured output. Health is always a filter first — no mode will route you to a failing provider. Can also be written as a model suffix, e.g. 'gpt-5.5:speed'.","uniqueKey":"routing.oneOf.0.sort.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.sort","typeLabel":"enum\u003cstring> | null"},"sticky":{"oneOf":[{"type":"boolean","title":"Sticky","description":"Keep a conversation on the provider holding its prompt cache. On by default, and only ever active for models whose providers discount cache reads. Set false to route every request independently on price instead. Naming an explicit `sort` or an `order` also takes priority over cache affinity.","uniqueKey":"routing.oneOf.0.sticky.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Sticky","description":"Keep a conversation on the provider holding its prompt cache. On by default, and only ever active for models whose providers discount cache reads. Set false to route every request independently on price instead. Naming an explicit `sort` or an `order` also takes priority over cache affinity.","uniqueKey":"routing.oneOf.0.sticky.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.sticky","typeLabel":"boolean | null"},"allow_fallbacks":{"oneOf":[{"type":"boolean","title":"Allow Fallbacks","description":"Whether other providers of the same model may be tried when the chosen one fails. On by default. Set false to pin the request to the single best provider: it then fails rather than silently moving to another seller, useful when a cache-warm prompt would cold-miss elsewhere. This governs PROVIDERS of the requested model only; models you list in `fallbacks` are your own choice and are always kept.","uniqueKey":"routing.oneOf.0.allow_fallbacks.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Allow Fallbacks","description":"Whether other providers of the same model may be tried when the chosen one fails. On by default. Set false to pin the request to the single best provider: it then fails rather than silently moving to another seller, useful when a cache-warm prompt would cold-miss elsewhere. This governs PROVIDERS of the requested model only; models you list in `fallbacks` are your own choice and are always kept.","uniqueKey":"routing.oneOf.0.allow_fallbacks.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.allow_fallbacks","typeLabel":"boolean | null"},"quality_cost":{"oneOf":[{"type":"integer","title":"Quality Cost","description":"Only with model='@edenai': how far to trade answer quality for cost when the platform chooses the MODEL. 0 asks for the best model for the request, 10 for the cheapest model that can still handle it, values in between blend the two; omit it to leave the choice to the platform (quality first). This is the one `routing` field that steers the model rather than the provider — `sort` never changes which model is chosen.","maximum":10,"minimum":0,"uniqueKey":"routing.oneOf.0.quality_cost.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Quality Cost","description":"Only with model='@edenai': how far to trade answer quality for cost when the platform chooses the MODEL. 0 asks for the best model for the request, 10 for the cheapest model that can still handle it, values in between blend the two; omit it to leave the choice to the platform (quality first). This is the one `routing` field that steers the model rather than the provider — `sort` never changes which model is chosen.","uniqueKey":"routing.oneOf.0.quality_cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.quality_cost","typeLabel":"integer | null"},"allowed_providers":{"oneOf":[{"type":"array","items":{"type":"string","maxLength":64,"minLength":1,"uniqueKey":"routing.oneOf.0.allowed_providers.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Allowed Providers","description":"Restrict routing to these providers, e.g. ['openai', 'anthropic']. Only providers that serve the requested model are considered, so an entry that does not sell it is simply inert. If none of them do, the request fails rather than falling back to a provider you excluded. Case-insensitive. Applies to routed providers only. a concrete 'provider/model' you named in `fallbacks` is your own choice and is kept.","uniqueKey":"routing.oneOf.0.allowed_providers.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Allowed Providers","description":"Restrict routing to these providers, e.g. ['openai', 'anthropic']. Only providers that serve the requested model are considered, so an entry that does not sell it is simply inert. If none of them do, the request fails rather than falling back to a provider you excluded. Case-insensitive. Applies to routed providers only. a concrete 'provider/model' you named in `fallbacks` is your own choice and is kept.","uniqueKey":"routing.oneOf.0.allowed_providers.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.allowed_providers","typeLabel":"string[] | null"},"zero_data_retention":{"oneOf":[{"type":"boolean","title":"Zero Data Retention","description":"Serve this request only from providers that keep no prompts or outputs, and save neither its content nor its response. Applies to every model in the request, including a concrete 'provider/model' and your `fallbacks`: one that is not zero data retention fails the request. It can only add the restriction. When your organization requires zero data retention, `false` does not lift it.","uniqueKey":"routing.oneOf.0.zero_data_retention.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Zero Data Retention","description":"Serve this request only from providers that keep no prompts or outputs, and save neither its content nor its response. Applies to every model in the request, including a concrete 'provider/model' and your `fallbacks`: one that is not zero data retention fails the request. It can only add the restriction. When your organization requires zero data retention, `false` does not lift it.","uniqueKey":"routing.oneOf.0.zero_data_retention.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.zero_data_retention","typeLabel":"boolean | null"},"ignored_providers":{"oneOf":[{"type":"array","items":{"type":"string","maxLength":64,"minLength":1,"uniqueKey":"routing.oneOf.0.ignored_providers.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Ignored Providers","description":"Never route to these providers, e.g. ['deepinfra']. The mirror of `allowed_providers`: an entry that does not sell the requested model is inert, and if the list removes every seller the request fails rather than falling back to one you excluded. Case-insensitive. A provider named in both lists is a validation error. A concrete 'provider/model' you named in `fallbacks` is your own choice and is kept.","uniqueKey":"routing.oneOf.0.ignored_providers.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Ignored Providers","description":"Never route to these providers, e.g. ['deepinfra']. The mirror of `allowed_providers`: an entry that does not sell the requested model is inert, and if the list removes every seller the request fails rather than falling back to one you excluded. Case-insensitive. A provider named in both lists is a validation error. A concrete 'provider/model' you named in `fallbacks` is your own choice and is kept.","uniqueKey":"routing.oneOf.0.ignored_providers.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.ignored_providers","typeLabel":"string[] | null"},"order":{"oneOf":[{"type":"array","items":{"type":"string","maxLength":64,"minLength":1,"uniqueKey":"routing.oneOf.0.order.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Order","description":"Providers to try first, in this order, e.g. ['azure', 'openai']. They become the head of the fallback chain; the remaining providers of the model follow, ranked by `sort` (or load-balanced on price when no `sort` is given). An entry that does not sell the model is inert. A provider our health data marks as down is moved to the end of the chain whatever its position here. Naming an `order` turns cache affinity off, as naming a `sort` does. Case-insensitive.","maxItems":16,"uniqueKey":"routing.oneOf.0.order.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Order","description":"Providers to try first, in this order, e.g. ['azure', 'openai']. They become the head of the fallback chain; the remaining providers of the model follow, ranked by `sort` (or load-balanced on price when no `sort` is given). An entry that does not sell the model is inert. A provider our health data marks as down is moved to the end of the chain whatever its position here. Naming an `order` turns cache affinity off, as naming a `sort` does. Case-insensitive.","uniqueKey":"routing.oneOf.0.order.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.order","typeLabel":"string[] | null"},"quantizations":{"oneOf":[{"type":"array","items":{"type":"string","enum":["int4","int8","fp4","fp6","fp8","fp16","bf16","fp32","unknown"],"uniqueKey":"routing.oneOf.0.quantizations.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"title":"Quantizations","description":"Only route to providers that serve the model at one of these weight precisions, e.g. ['fp8', 'bf16']: the `quantization` each endpoint lists on /v3/models. Include 'unknown' to also accept providers that do not state one, which covers every closed-weight model. If no provider of the model matches, the request fails and names each provider's precision. A concrete 'provider/model' you named, in `model` or `fallbacks`, is your own choice and is kept.","minItems":1,"uniqueKey":"routing.oneOf.0.quantizations.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","title":"Quantizations","description":"Only route to providers that serve the model at one of these weight precisions, e.g. ['fp8', 'bf16']: the `quantization` each endpoint lists on /v3/models. Include 'unknown' to also accept providers that do not state one, which covers every closed-weight model. If no provider of the model matches, the request fails and names each provider's precision. A concrete 'provider/model' you named, in `model` or `fallbacks`, is your own choice and is kept.","uniqueKey":"routing.oneOf.0.quantizations.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.quantizations","typeLabel":"enum\u003cstring>[] | null"},"max_price":{"oneOf":[{"type":"object","title":"MaxPrice","description":"Only route to providers whose listed per-token rates are at or under this price, in USD per MILLION tokens, e.g. {'input': 2.5, 'output': 10}. Either side may be omitted. Providers priced by another unit (per image, per second) are unaffected. If no provider of the model is within the ceiling the request fails and names the cheapest one.","properties":{"input":{"oneOf":[{"type":"number","title":"Input","description":"Highest input rate accepted, in USD per million tokens.","minimum":0,"uniqueKey":"routing.oneOf.0.max_price.oneOf.0.input.oneOf.0","typeLabel":"number"},{"type":"null","title":"Input","description":"Highest input rate accepted, in USD per million tokens.","uniqueKey":"routing.oneOf.0.max_price.oneOf.0.input.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.max_price.oneOf.0.input","typeLabel":"number | null"},"output":{"oneOf":[{"type":"number","title":"Output","description":"Highest output rate accepted, in USD per million tokens.","minimum":0,"uniqueKey":"routing.oneOf.0.max_price.oneOf.0.output.oneOf.0","typeLabel":"number"},{"type":"null","title":"Output","description":"Highest output rate accepted, in USD per million tokens.","uniqueKey":"routing.oneOf.0.max_price.oneOf.0.output.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.max_price.oneOf.0.output","typeLabel":"number | null"}},"additionalProperties":false,"uniqueKey":"routing.oneOf.0.max_price.oneOf.0","typeLabel":"MaxPrice · object"},{"type":"null","description":"Only route to providers whose listed per-token rates are at or under this price, in USD per MILLION tokens, e.g. {'input': 2.5, 'output': 10}. Either side may be omitted. Providers priced by another unit (per image, per second) are unaffected. If no provider of the model is within the ceiling the request fails and names the cheapest one.","uniqueKey":"routing.oneOf.0.max_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing.oneOf.0.max_price","typeLabel":"MaxPrice · object | null"}},"uniqueKey":"routing.oneOf.0","typeLabel":"ProviderRoutingPreferences · object"},{"type":"null","description":"How to pick between the providers that serve the requested model. Applies when `model` is a model name with no provider prefix (e.g. 'gpt-5.5'); ignored for a concrete 'provider/model' id, which already names its provider, except `zero_data_retention`, which holds every model in the request to it. With model='@edenai' the platform chooses the model too: `quality_cost` steers that choice, and the provider fields hold the models it picks from as they hold any provider. Your own `router_candidates` are kept as you listed them.","uniqueKey":"routing.oneOf.1","typeLabel":"null"}],"uniqueKey":"routing","typeLabel":"ProviderRoutingPreferences · object | null"},"fallbacks":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"fallbacks.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Fallbacks","description":"List of fallback model IDs to try if the primary model fails. Models are tried in order. Example: ['anthropic/claude-3-opus', 'openai/gpt-4o']","maxItems":11,"uniqueKey":"fallbacks.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Fallbacks","description":"List of fallback model IDs to try if the primary model fails. Models are tried in order. Example: ['anthropic/claude-3-opus', 'openai/gpt-4o']","uniqueKey":"fallbacks.oneOf.1","typeLabel":"null"}],"uniqueKey":"fallbacks","typeLabel":"string[] | null"},"session_id":{"oneOf":[{"type":"string","title":"Session Id","description":"Identifies a conversation, so its requests keep reaching the provider that holds its prompt cache. Any stable string you choose — a thread id, a ticket number, an agent run. Also accepted as the `x-session-id` header, for clients that cannot add body fields, and read from the headers coding agents already send (`x-claude-code-session-id`, `x-session-affinity`, `session-id`, `session_id`, and `x-client-request-id` from pi and Codex); the body field wins if both are sent. Without one, a conversation is recognised from its opening messages instead.","maxLength":256,"uniqueKey":"session_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Session Id","description":"Identifies a conversation, so its requests keep reaching the provider that holds its prompt cache. Any stable string you choose — a thread id, a ticket number, an agent run. Also accepted as the `x-session-id` header, for clients that cannot add body fields, and read from the headers coding agents already send (`x-claude-code-session-id`, `x-session-affinity`, `session-id`, `session_id`, and `x-client-request-id` from pi and Codex); the body field wins if both are sent. Without one, a conversation is recognised from its opening messages instead.","uniqueKey":"session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"session_id","typeLabel":"string | null"},"router_candidates":{"oneOf":[{"type":"array","items":{"type":"string","maxLength":128,"uniqueKey":"router_candidates.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Router Candidates","description":"Models the '@edenai' router may choose BETWEEN — it picks the model, whereas `routing` picks the provider for a model you already named. Used only when model='@edenai'. Each entry is a bare model name (e.g. 'gpt-5.5' — the winner's provider is then picked like any provider-less request) or a 'provider/model' id (e.g. 'openai/gpt-5-nano' — the winner is served by that exact provider). Entries the router cannot rank are skipped and listed under `edenai_metadata.routing.auto.dropped`; entries naming a model already in the list collapse into its earliest spelling, which decides how the winner is returned. The request fails only when no entry is left. If not provided, the router chooses from a default pool of eligible catalog models. At most 64 entries of up to 128 characters each.","maxItems":64,"uniqueKey":"router_candidates.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Router Candidates","description":"Models the '@edenai' router may choose BETWEEN — it picks the model, whereas `routing` picks the provider for a model you already named. Used only when model='@edenai'. Each entry is a bare model name (e.g. 'gpt-5.5' — the winner's provider is then picked like any provider-less request) or a 'provider/model' id (e.g. 'openai/gpt-5-nano' — the winner is served by that exact provider). Entries the router cannot rank are skipped and listed under `edenai_metadata.routing.auto.dropped`; entries naming a model already in the list collapse into its earliest spelling, which decides how the winner is returned. The request fails only when no entry is left. If not provided, the router chooses from a default pool of eligible catalog models. At most 64 entries of up to 128 characters each.","uniqueKey":"router_candidates.oneOf.1","typeLabel":"null"}],"uniqueKey":"router_candidates","typeLabel":"string[] | null"},"pre_hooks":{"oneOf":[{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"pre_hooks.oneOf.0.items.[INDEX]","typeLabel":"object"},"title":"Pre Hooks","description":"List of hooks to run before the LLM provider call. Each entry must have an 'action' key and optional 'params'. Example: [{'action': 'pdf_text_extract', 'params': {'method': 'default'}}]","uniqueKey":"pre_hooks.oneOf.0","typeLabel":"Pre Hooks · object[]"},{"type":"null","title":"Pre Hooks","description":"List of hooks to run before the LLM provider call. Each entry must have an 'action' key and optional 'params'. Example: [{'action': 'pdf_text_extract', 'params': {'method': 'default'}}]","uniqueKey":"pre_hooks.oneOf.1","typeLabel":"null"}],"uniqueKey":"pre_hooks","typeLabel":"Pre Hooks · object[] | null"},"post_hooks":{"oneOf":[{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"post_hooks.oneOf.0.items.[INDEX]","typeLabel":"object"},"title":"Post Hooks","description":"List of hooks to run after the LLM provider call. Each entry must have an 'action' key and optional 'params'. Example: [{'action': 'json_heal', 'params': {'json_schema': {...}}}]","uniqueKey":"post_hooks.oneOf.0","typeLabel":"Post Hooks · object[]"},{"type":"null","title":"Post Hooks","description":"List of hooks to run after the LLM provider call. Each entry must have an 'action' key and optional 'params'. Example: [{'action': 'json_heal', 'params': {'json_schema': {...}}}]","uniqueKey":"post_hooks.oneOf.1","typeLabel":"null"}],"uniqueKey":"post_hooks","typeLabel":"Post Hooks · object[] | null"},"n":{"oneOf":[{"type":"integer","title":"N","description":"The number of completions to generate for each prompt. Defaults to 1.","default":1,"minimum":1,"uniqueKey":"n.oneOf.0","typeLabel":"integer"},{"type":"null","title":"N","description":"The number of completions to generate for each prompt. Defaults to 1.","default":1,"uniqueKey":"n.oneOf.1","typeLabel":"null"}],"uniqueKey":"n","typeLabel":"integer | null"},"reasoning_effort":{"oneOf":[{"type":"string","title":"Reasoning Effort","description":"The reasoning effort level for the LLM model.","enum":["minimal","low","medium","high","max","xhigh","disable","none"],"uniqueKey":"reasoning_effort.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Reasoning Effort","description":"The reasoning effort level for the LLM model.","uniqueKey":"reasoning_effort.oneOf.1","typeLabel":"null"}],"uniqueKey":"reasoning_effort","typeLabel":"enum\u003cstring> | null"},"metadata":{"oneOf":[{"type":"object","title":"Metadata","description":"Object of metadata associated with the chat request. Can be used to provide additional context or tracking information.","additionalProperties":true,"uniqueKey":"metadata.oneOf.0","typeLabel":"Metadata · object"},{"type":"null","title":"Metadata","description":"Object of metadata associated with the chat request. Can be used to provide additional context or tracking information.","uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"Metadata · object | null"},"frequency_penalty":{"oneOf":[{"type":"number","title":"Frequency Penalty","description":"Penalty for repeated tokens in the output.","maximum":2,"minimum":-2,"uniqueKey":"frequency_penalty.oneOf.0","typeLabel":"number"},{"type":"null","title":"Frequency Penalty","description":"Penalty for repeated tokens in the output.","uniqueKey":"frequency_penalty.oneOf.1","typeLabel":"null"}],"uniqueKey":"frequency_penalty","typeLabel":"number | null"},"logit_bias":{"oneOf":[{"type":"object","title":"Logit Bias","description":"Logit bias to influence token generation.","additionalProperties":{"type":"number","uniqueKey":"logit_bias.oneOf.0.additionalProperties","typeLabel":"number"},"uniqueKey":"logit_bias.oneOf.0","typeLabel":"Logit Bias · object"},{"type":"null","title":"Logit Bias","description":"Logit bias to influence token generation.","uniqueKey":"logit_bias.oneOf.1","typeLabel":"null"}],"uniqueKey":"logit_bias","typeLabel":"Logit Bias · object | null"},"logprobs":{"oneOf":[{"type":"boolean","title":"Logprobs","description":"Whether to include log probabilities of tokens in the output. Defaults to False.","default":false,"uniqueKey":"logprobs.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Logprobs","description":"Whether to include log probabilities of tokens in the output. Defaults to False.","default":false,"uniqueKey":"logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"logprobs","typeLabel":"boolean | null"},"top_logprobs":{"oneOf":[{"type":"integer","title":"Top Logprobs","description":"Number of top log probabilities to return with each token. An integer between 0 and 20.","maximum":20,"minimum":0,"uniqueKey":"top_logprobs.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Top Logprobs","description":"Number of top log probabilities to return with each token. An integer between 0 and 20.","uniqueKey":"top_logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"top_logprobs","typeLabel":"integer | null"},"max_tokens":{"oneOf":[{"type":"integer","title":"Max Tokens","description":"The maximum number of tokens to generate in the chat completion","minimum":1,"uniqueKey":"max_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Max Tokens","description":"The maximum number of tokens to generate in the chat completion","uniqueKey":"max_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_tokens","typeLabel":"integer | null"},"max_completion_tokens":{"oneOf":[{"type":"integer","title":"Max Completion Tokens","description":"An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens.","minimum":1,"uniqueKey":"max_completion_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Max Completion Tokens","description":"An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens.","uniqueKey":"max_completion_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_completion_tokens","typeLabel":"integer | null"},"modalities":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"modalities.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Modalities","description":"List of supported input/output modalities for the chat.","uniqueKey":"modalities.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Modalities","description":"List of supported input/output modalities for the chat.","uniqueKey":"modalities.oneOf.1","typeLabel":"null"}],"uniqueKey":"modalities","typeLabel":"string[] | null"},"prediction":{"oneOf":[{"type":"object","title":"Prediction","description":"field for storing prediction-related information.","additionalProperties":true,"uniqueKey":"prediction.oneOf.0","typeLabel":"Prediction · object"},{"type":"null","title":"Prediction","description":"field for storing prediction-related information.","uniqueKey":"prediction.oneOf.1","typeLabel":"null"}],"uniqueKey":"prediction","typeLabel":"Prediction · object | null"},"audio":{"oneOf":[{"type":"object","title":"Audio","description":"dictionary for audio-related parameters or metadata.","additionalProperties":true,"uniqueKey":"audio.oneOf.0","typeLabel":"Audio · object"},{"type":"null","title":"Audio","description":"dictionary for audio-related parameters or metadata.","uniqueKey":"audio.oneOf.1","typeLabel":"null"}],"uniqueKey":"audio","typeLabel":"Audio · object | null"},"presence_penalty":{"oneOf":[{"type":"number","title":"Presence Penalty","description":"Penalty for new tokens based on their presence in the text so far.","maximum":2,"minimum":-2,"uniqueKey":"presence_penalty.oneOf.0","typeLabel":"number"},{"type":"null","title":"Presence Penalty","description":"Penalty for new tokens based on their presence in the text so far.","uniqueKey":"presence_penalty.oneOf.1","typeLabel":"null"}],"uniqueKey":"presence_penalty","typeLabel":"number | null"},"response_format":{"oneOf":[{"type":"object","title":"Response Format","description":"Specify the desired response format for the completion.","additionalProperties":true,"uniqueKey":"response_format.oneOf.0","typeLabel":"Response Format · object"},{"type":"null","title":"Response Format","description":"Specify the desired response format for the completion.","uniqueKey":"response_format.oneOf.1","typeLabel":"null"}],"uniqueKey":"response_format","typeLabel":"Response Format · object | null"},"seed":{"oneOf":[{"type":"integer","title":"Seed","description":"Seed for random number generation.","uniqueKey":"seed.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Seed","description":"Seed for random number generation.","uniqueKey":"seed.oneOf.1","typeLabel":"null"}],"uniqueKey":"seed","typeLabel":"integer | null"},"service_tier":{"oneOf":[{"type":"string","title":"Service Tier","description":"'auto': Automatically select appropriate tier\n'default': Use the default service tier\n'flex': 50% cheaper processing with increased latency (OpenAI o3/o4-mini)\n'scale' / 'priority': OpenAI scale and priority processing tiers","enum":["auto","default","flex","scale","priority"],"uniqueKey":"service_tier.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Service Tier","description":"'auto': Automatically select appropriate tier\n'default': Use the default service tier\n'flex': 50% cheaper processing with increased latency (OpenAI o3/o4-mini)\n'scale' / 'priority': OpenAI scale and priority processing tiers","uniqueKey":"service_tier.oneOf.1","typeLabel":"null"}],"uniqueKey":"service_tier","typeLabel":"enum\u003cstring> | null"},"stop":{"oneOf":[{"type":"string","title":"Stop","description":"Stop sequence(s) that end generation: a single string or a list of up to 4 strings.","uniqueKey":"stop.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"stop.oneOf.1.items.[INDEX]","typeLabel":"string"},"title":"Stop","description":"Stop sequence(s) that end generation: a single string or a list of up to 4 strings.","uniqueKey":"stop.oneOf.1","typeLabel":"string[]"},{"type":"null","title":"Stop","description":"Stop sequence(s) that end generation: a single string or a list of up to 4 strings.","uniqueKey":"stop.oneOf.2","typeLabel":"null"}],"uniqueKey":"stop","typeLabel":"string | string[] | null"},"stream":{"oneOf":[{"type":"boolean","title":"Stream","description":"Whether to stream the response in real-time. Defaults to False.","default":false,"uniqueKey":"stream.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Stream","description":"Whether to stream the response in real-time. Defaults to False.","default":false,"uniqueKey":"stream.oneOf.1","typeLabel":"null"}],"uniqueKey":"stream","typeLabel":"boolean | null"},"stream_options":{"oneOf":[{"type":"object","title":"Stream Options","description":"Options for streaming responses, such as chunk size or format.","additionalProperties":true,"uniqueKey":"stream_options.oneOf.0","typeLabel":"Stream Options · object"},{"type":"null","title":"Stream Options","description":"Options for streaming responses, such as chunk size or format.","uniqueKey":"stream_options.oneOf.1","typeLabel":"null"}],"uniqueKey":"stream_options","typeLabel":"Stream Options · object | null"},"temperature":{"oneOf":[{"type":"number","title":"Temperature","description":"Sampling temperature for controlling randomness in output.","maximum":2,"minimum":0,"uniqueKey":"temperature.oneOf.0","typeLabel":"number"},{"type":"null","title":"Temperature","description":"Sampling temperature for controlling randomness in output.","uniqueKey":"temperature.oneOf.1","typeLabel":"null"}],"uniqueKey":"temperature","typeLabel":"number | null"},"top_p":{"oneOf":[{"type":"number","title":"Top P","description":"Nucleus sampling parameter for controlling diversity in output. Defaults to 1.0.","default":1,"maximum":1,"minimum":0,"uniqueKey":"top_p.oneOf.0","typeLabel":"number"},{"type":"null","title":"Top P","description":"Nucleus sampling parameter for controlling diversity in output. Defaults to 1.0.","default":1,"uniqueKey":"top_p.oneOf.1","typeLabel":"null"}],"uniqueKey":"top_p","typeLabel":"number | null"},"tools":{"oneOf":[{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"tools.oneOf.0.items.[INDEX]","typeLabel":"object"},"title":"Tools","description":"List of tools that can be used by the model to assist in generating responses.","uniqueKey":"tools.oneOf.0","typeLabel":"Tools · object[]"},{"type":"null","title":"Tools","description":"List of tools that can be used by the model to assist in generating responses.","uniqueKey":"tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools","typeLabel":"Tools · object[] | null"},"tool_choice":{"oneOf":[{"type":"string","title":"Tool Choice","description":"Specify how tools should be used. Can be 'auto', 'required', 'none', or an object to force a specific tool.","uniqueKey":"tool_choice.oneOf.0","typeLabel":"string"},{"type":"object","title":"Tool Choice","description":"Specify how tools should be used. Can be 'auto', 'required', 'none', or an object to force a specific tool.","additionalProperties":true,"uniqueKey":"tool_choice.oneOf.1","typeLabel":"Tool Choice · object"},{"type":"null","title":"Tool Choice","description":"Specify how tools should be used. Can be 'auto', 'required', 'none', or an object to force a specific tool.","uniqueKey":"tool_choice.oneOf.2","typeLabel":"null"}],"uniqueKey":"tool_choice","typeLabel":"string | Tool Choice · object | null"},"parallel_tool_calls":{"oneOf":[{"type":"boolean","title":"Parallel Tool Calls","description":"Whether to allow parallel tool calls in the completion.","uniqueKey":"parallel_tool_calls.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Parallel Tool Calls","description":"Whether to allow parallel tool calls in the completion.","uniqueKey":"parallel_tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"parallel_tool_calls","typeLabel":"boolean | null"},"user":{"oneOf":[{"type":"string","title":"User","description":"User identifier for tracking or personalization purposes.","uniqueKey":"user.oneOf.0","typeLabel":"string"},{"type":"null","title":"User","description":"User identifier for tracking or personalization purposes.","uniqueKey":"user.oneOf.1","typeLabel":"null"}],"uniqueKey":"user","typeLabel":"string | null"},"function_call":{"oneOf":[{"type":"string","title":"Function Call","description":"Controls function calling (legacy). The string 'none' or 'auto', or an object forcing a specific function, e.g. {'name': 'my_function'}.","enum":["none","auto"],"uniqueKey":"function_call.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","title":"Function Call","description":"Controls function calling (legacy). The string 'none' or 'auto', or an object forcing a specific function, e.g. {'name': 'my_function'}.","additionalProperties":true,"uniqueKey":"function_call.oneOf.1","typeLabel":"Function Call · object"},{"type":"null","title":"Function Call","description":"Controls function calling (legacy). The string 'none' or 'auto', or an object forcing a specific function, e.g. {'name': 'my_function'}.","uniqueKey":"function_call.oneOf.2","typeLabel":"null"}],"uniqueKey":"function_call","typeLabel":"enum\u003cstring> | Function Call · object | null"},"functions":{"oneOf":[{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"functions.oneOf.0.items.[INDEX]","typeLabel":"object"},"title":"Functions","description":"List of functions that can be called by the model to assist in generating responses.","uniqueKey":"functions.oneOf.0","typeLabel":"Functions · object[]"},{"type":"null","title":"Functions","description":"List of functions that can be called by the model to assist in generating responses.","uniqueKey":"functions.oneOf.1","typeLabel":"null"}],"uniqueKey":"functions","typeLabel":"Functions · object[] | null"},"thinking":{"oneOf":[{"type":"object","title":"Thinking","description":"Parameters related to the model's reasoning or thinking process.","additionalProperties":true,"uniqueKey":"thinking.oneOf.0","typeLabel":"Thinking · object"},{"type":"null","title":"Thinking","description":"Parameters related to the model's reasoning or thinking process.","uniqueKey":"thinking.oneOf.1","typeLabel":"null"}],"uniqueKey":"thinking","typeLabel":"Thinking · object | null"},"web_search_options":{"oneOf":[{"type":"object","title":"Web Search Options","description":"Options for web search integration. Example: json web_search_options={ \"search_context_size\": \"medium\" # Options: \"low\", \"medium\", \"high\" }","additionalProperties":true,"uniqueKey":"web_search_options.oneOf.0","typeLabel":"Web Search Options · object"},{"type":"null","title":"Web Search Options","description":"Options for web search integration. Example: json web_search_options={ \"search_context_size\": \"medium\" # Options: \"low\", \"medium\", \"high\" }","uniqueKey":"web_search_options.oneOf.1","typeLabel":"null"}],"uniqueKey":"web_search_options","typeLabel":"Web Search Options · object | null"},"verbosity":{"oneOf":[{"type":"string","title":"Verbosity","description":"Hint the model to be more or less expansive in its replies. Values: \"low\", \"medium\", \"high\". low (gpt5 models)","enum":["low","medium","high"],"uniqueKey":"verbosity.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Verbosity","description":"Hint the model to be more or less expansive in its replies. Values: \"low\", \"medium\", \"high\". low (gpt5 models)","uniqueKey":"verbosity.oneOf.1","typeLabel":"null"}],"uniqueKey":"verbosity","typeLabel":"enum\u003cstring> | null"},"prompt_cache_key":{"oneOf":[{"type":"string","title":"Prompt Cache Key","description":"Prompt-cache routing hint (OpenAI): requests sharing a key and a common prompt prefix are routed to the same cache shard, improving hit rates for high-volume shared prefixes. Forwarded to providers that support it, dropped elsewhere. Also read for provider stickiness when no `session_id` or session header is given.","uniqueKey":"prompt_cache_key.oneOf.0","typeLabel":"string"},{"type":"null","title":"Prompt Cache Key","description":"Prompt-cache routing hint (OpenAI): requests sharing a key and a common prompt prefix are routed to the same cache shard, improving hit rates for high-volume shared prefixes. Forwarded to providers that support it, dropped elsewhere. Also read for provider stickiness when no `session_id` or session header is given.","uniqueKey":"prompt_cache_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt_cache_key","typeLabel":"string | null"},"prompt_cache_retention":{"oneOf":[{"type":"string","title":"Prompt Cache Retention","description":"How long the provider retains the prompt cache — OpenAI currently accepts \"in_memory\" (provider default, typically 5-10 minutes) and \"24h\" (extended retention, supported on gpt-5.x and gpt-4.1). The known values are advertised in the schema but not enforced: the value is passed through verbatim for the provider to validate, so new provider values work without an Eden AI release. Dropped for providers that don't support it.","enum":["in_memory","24h"],"uniqueKey":"prompt_cache_retention.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Prompt Cache Retention","description":"How long the provider retains the prompt cache — OpenAI currently accepts \"in_memory\" (provider default, typically 5-10 minutes) and \"24h\" (extended retention, supported on gpt-5.x and gpt-4.1). The known values are advertised in the schema but not enforced: the value is passed through verbatim for the provider to validate, so new provider values work without an Eden AI release. Dropped for providers that don't support it.","uniqueKey":"prompt_cache_retention.oneOf.1","typeLabel":"string"},{"type":"null","title":"Prompt Cache Retention","description":"How long the provider retains the prompt cache — OpenAI currently accepts \"in_memory\" (provider default, typically 5-10 minutes) and \"24h\" (extended retention, supported on gpt-5.x and gpt-4.1). The known values are advertised in the schema but not enforced: the value is passed through verbatim for the provider to validate, so new provider values work without an Eden AI release. Dropped for providers that don't support it.","uniqueKey":"prompt_cache_retention.oneOf.2","typeLabel":"null"}],"uniqueKey":"prompt_cache_retention","typeLabel":"enum\u003cstring> | string | null"},"prompt_cache_options":{"oneOf":[{"type":"object","title":"PromptCacheOptions","description":"Request-level prompt-cache settings (mode and ttl) for OpenAI GPT-5.6 and newer models. Ignored by models that don't support prompt caching.","properties":{"mode":{"oneOf":[{"type":"string","title":"Mode","description":"\"implicit\" (default) caches automatically and also honors any prompt_cache_breakpoint you set; \"explicit\" caches only the blocks you mark with prompt_cache_breakpoint. Known values are advertised in the schema but not enforced.","enum":["implicit","explicit"],"uniqueKey":"prompt_cache_options.oneOf.0.mode.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Mode","description":"\"implicit\" (default) caches automatically and also honors any prompt_cache_breakpoint you set; \"explicit\" caches only the blocks you mark with prompt_cache_breakpoint. Known values are advertised in the schema but not enforced.","uniqueKey":"prompt_cache_options.oneOf.0.mode.oneOf.1","typeLabel":"string"},{"type":"null","title":"Mode","description":"\"implicit\" (default) caches automatically and also honors any prompt_cache_breakpoint you set; \"explicit\" caches only the blocks you mark with prompt_cache_breakpoint. Known values are advertised in the schema but not enforced.","uniqueKey":"prompt_cache_options.oneOf.0.mode.oneOf.2","typeLabel":"null"}],"uniqueKey":"prompt_cache_options.oneOf.0.mode","typeLabel":"enum\u003cstring> | string | null"},"ttl":{"oneOf":[{"type":"string","title":"Ttl","description":"How long to keep the prompt cache, e.g. \"30m\". Leave unset for the provider default. Known values are advertised in the schema but not enforced.","const":"30m","uniqueKey":"prompt_cache_options.oneOf.0.ttl.oneOf.0","typeLabel":"string"},{"type":"string","title":"Ttl","description":"How long to keep the prompt cache, e.g. \"30m\". Leave unset for the provider default. Known values are advertised in the schema but not enforced.","uniqueKey":"prompt_cache_options.oneOf.0.ttl.oneOf.1","typeLabel":"string"},{"type":"null","title":"Ttl","description":"How long to keep the prompt cache, e.g. \"30m\". Leave unset for the provider default. Known values are advertised in the schema but not enforced.","uniqueKey":"prompt_cache_options.oneOf.0.ttl.oneOf.2","typeLabel":"null"}],"uniqueKey":"prompt_cache_options.oneOf.0.ttl","typeLabel":"string · string · null"}},"additionalProperties":true,"uniqueKey":"prompt_cache_options.oneOf.0","typeLabel":"PromptCacheOptions · object"},{"type":"null","description":"Request-level prompt-cache settings (mode and ttl) for OpenAI GPT-5.6 and newer models. Ignored by models that don't support prompt caching.","uniqueKey":"prompt_cache_options.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt_cache_options","typeLabel":"PromptCacheOptions · object | null"},"extra_body":{"oneOf":[{"type":"object","title":"Extra Body","description":"Additional parameters to pass in the request body to the provider API.","additionalProperties":true,"uniqueKey":"extra_body.oneOf.0","typeLabel":"Extra Body · object"},{"type":"null","title":"Extra Body","description":"Additional parameters to pass in the request body to the provider API.","uniqueKey":"extra_body.oneOf.1","typeLabel":"null"}],"uniqueKey":"extra_body","typeLabel":"Extra Body · object | null"},"image_config":{"oneOf":[{"type":"object","title":"GeminiImageConfig","description":"Image generation configuration for Google Gemini image models (e.g. google/gemini-2.5-flash-image).","properties":{"aspect_ratio":{"oneOf":[{"type":"string","title":"Aspect Ratio","description":"Output aspect ratio. Examples: '1:1', '16:9', '9:16', '4:3', '3:4', '21:9'. Allowed set varies by model; see Gemini docs.","uniqueKey":"image_config.oneOf.0.aspect_ratio.oneOf.0","typeLabel":"string"},{"type":"null","title":"Aspect Ratio","description":"Output aspect ratio. Examples: '1:1', '16:9', '9:16', '4:3', '3:4', '21:9'. Allowed set varies by model; see Gemini docs.","uniqueKey":"image_config.oneOf.0.aspect_ratio.oneOf.1","typeLabel":"null"}],"uniqueKey":"image_config.oneOf.0.aspect_ratio","typeLabel":"string | null"},"image_size":{"oneOf":[{"type":"string","title":"Image Size","description":"Output resolution. Examples: '1K', '2K', '4K'. '512' is valid on Gemini 3.1 Flash Image only.","uniqueKey":"image_config.oneOf.0.image_size.oneOf.0","typeLabel":"string"},{"type":"null","title":"Image Size","description":"Output resolution. Examples: '1K', '2K', '4K'. '512' is valid on Gemini 3.1 Flash Image only.","uniqueKey":"image_config.oneOf.0.image_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"image_config.oneOf.0.image_size","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"image_config.oneOf.0","typeLabel":"GeminiImageConfig · object"},{"type":"null","description":"Image generation configuration for Google Gemini image models (e.g. google/gemini-2.5-flash-image).","uniqueKey":"image_config.oneOf.1","typeLabel":"null"}],"uniqueKey":"image_config","typeLabel":"GeminiImageConfig · object | null"},"extra_headers":{"oneOf":[{"type":"object","title":"Extra Headers","description":"Additional HTTP headers to pass to the provider API.","additionalProperties":{"type":"string","uniqueKey":"extra_headers.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"extra_headers.oneOf.0","typeLabel":"Extra Headers · object"},{"type":"null","title":"Extra Headers","description":"Additional HTTP headers to pass to the provider API.","uniqueKey":"extra_headers.oneOf.1","typeLabel":"null"}],"uniqueKey":"extra_headers","typeLabel":"Extra Headers · object | null"}},"type":"object","required":["model","messages"],"title":"LlmCompletionBody","uniqueKey":"","typeLabel":"LlmCompletionBody · object"},"examples":{"Example":{"title":"Example","value":{"model":"\u003cstring>","messages":[{"content":"\u003cstring>","cache_control":{"type":"ephemeral","ttl":"\u003cstring>"}}],"tags":{"client":"acme","project":"invoices"},"routing":{"sticky":true,"allow_fallbacks":true,"quality_cost":5,"allowed_providers":["\u003cstring>"],"zero_data_retention":true,"ignored_providers":["\u003cstring>"],"order":["\u003cstring>"],"quantizations":[],"max_price":{"input":1,"output":1}},"fallbacks":["\u003cstring>"],"session_id":"\u003cstring>","router_candidates":["\u003cstring>"],"pre_hooks":[{}],"post_hooks":[{}],"n":1,"metadata":{},"frequency_penalty":0,"logit_bias":{},"logprobs":false,"top_logprobs":10,"max_tokens":2,"max_completion_tokens":2,"modalities":["\u003cstring>"],"prediction":{},"audio":{},"presence_penalty":0,"response_format":{},"seed":123,"stop":"\u003cstring>","stream":false,"stream_options":{},"temperature":1,"top_p":1,"tools":[{}],"tool_choice":"\u003cstring>","parallel_tool_calls":true,"user":"\u003cstring>","functions":[{}],"thinking":{},"web_search_options":{},"prompt_cache_key":"\u003cstring>","prompt_cache_options":{"ttl":"30m"},"extra_body":{},"image_config":{"aspect_ratio":"\u003cstring>","image_size":"\u003cstring>"},"extra_headers":{}}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"94e9e619-e7c1-4ca5-b444-9bbadea031bf":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"id":{"type":"string","title":"Id","description":"Unique identifier for the chat completion.","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"created":{"type":"integer","title":"Created","description":"Unix timestamp (seconds) when the completion was created.","isRequired":true,"uniqueKey":"created","typeLabel":"integer"},"model":{"type":"string","title":"Model","description":"Model that produced the completion.","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"choices":{"items":{"properties":{"index":{"type":"integer","title":"Index","description":"Position of the choice in the list.","isRequired":true,"uniqueKey":"choices.items.[INDEX].index","typeLabel":"integer"},"message":{"properties":{"role":{"type":"string","const":"assistant","title":"Role","description":"Role of the message author.","default":"assistant","uniqueKey":"choices.items.[INDEX].message.role","typeLabel":"string"},"content":{"oneOf":[{"type":"string","title":"Content","description":"Content of the message.","uniqueKey":"choices.items.[INDEX].message.content.oneOf.0","typeLabel":"string"},{"type":"null","title":"Content","description":"Content of the message.","uniqueKey":"choices.items.[INDEX].message.content.oneOf.1","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].message.content","typeLabel":"string | null"},"tool_calls":{"oneOf":[{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"choices.items.[INDEX].message.tool_calls.oneOf.0.items.[INDEX]","typeLabel":"object"},"title":"Tool Calls","description":"Tool calls produced by the model, if any.","uniqueKey":"choices.items.[INDEX].message.tool_calls.oneOf.0","typeLabel":"Tool Calls · object[]"},{"type":"null","title":"Tool Calls","description":"Tool calls produced by the model, if any.","uniqueKey":"choices.items.[INDEX].message.tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].message.tool_calls","typeLabel":"Tool Calls · object[] | null"},"refusal":{"oneOf":[{"type":"string","title":"Refusal","description":"Refusal message from the model, if any.","uniqueKey":"choices.items.[INDEX].message.refusal.oneOf.0","typeLabel":"string"},{"type":"null","title":"Refusal","description":"Refusal message from the model, if any.","uniqueKey":"choices.items.[INDEX].message.refusal.oneOf.1","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].message.refusal","typeLabel":"string | null"},"reasoning_content":{"oneOf":[{"type":"string","title":"Reasoning Content","description":"Reasoning trace from the model, when supported by the provider.","uniqueKey":"choices.items.[INDEX].message.reasoning_content.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reasoning Content","description":"Reasoning trace from the model, when supported by the provider.","uniqueKey":"choices.items.[INDEX].message.reasoning_content.oneOf.1","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].message.reasoning_content","typeLabel":"string | null"}},"additionalProperties":true,"type":"object","title":"ChatCompletionMessage","description":"Message produced by the model for this choice.","isRequired":true,"uniqueKey":"choices.items.[INDEX].message","typeLabel":"ChatCompletionMessage · object"},"finish_reason":{"oneOf":[{"type":"string","title":"Finish Reason","description":"Reason the model stopped generating tokens.","enum":["stop","length","tool_calls","content_filter","function_call"],"uniqueKey":"choices.items.[INDEX].finish_reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Finish Reason","description":"Reason the model stopped generating tokens.","uniqueKey":"choices.items.[INDEX].finish_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].finish_reason","typeLabel":"enum\u003cstring> | null"},"logprobs":{"oneOf":[{"type":"object","title":"Logprobs","description":"Log probability information for the choice, if requested.","additionalProperties":true,"uniqueKey":"choices.items.[INDEX].logprobs.oneOf.0","typeLabel":"Logprobs · object"},{"type":"null","title":"Logprobs","description":"Log probability information for the choice, if requested.","uniqueKey":"choices.items.[INDEX].logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].logprobs","typeLabel":"Logprobs · object | null"}},"additionalProperties":true,"type":"object","required":["index","message"],"title":"ChatCompletionChoice","description":"A single choice in a chat completion response.","uniqueKey":"choices.items.[INDEX]","typeLabel":"ChatCompletionChoice · object"},"type":"array","title":"Choices","description":"List of completion choices generated for the request.","isRequired":true,"uniqueKey":"choices","typeLabel":"ChatCompletionChoice · object[]"},"object":{"type":"string","const":"chat.completion","title":"Object","description":"Object type. Always 'chat.completion' for this endpoint.","default":"chat.completion","uniqueKey":"object","typeLabel":"string"},"usage":{"oneOf":[{"type":"object","title":"ChatCompletionUsage","description":"Token usage statistics for the request.","required":["prompt_tokens","completion_tokens","total_tokens"],"properties":{"prompt_tokens":{"type":"integer","title":"Prompt Tokens","description":"Tokens in the prompt.","isRequired":true,"uniqueKey":"usage.oneOf.0.prompt_tokens","typeLabel":"integer"},"completion_tokens":{"type":"integer","title":"Completion Tokens","description":"Tokens in the generated completion.","isRequired":true,"uniqueKey":"usage.oneOf.0.completion_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","title":"Total Tokens","description":"Total tokens consumed by the request.","isRequired":true,"uniqueKey":"usage.oneOf.0.total_tokens","typeLabel":"integer"},"prompt_tokens_details":{"oneOf":[{"type":"object","title":"Prompt Tokens Details","description":"Breakdown of prompt tokens (e.g. cached_tokens, audio_tokens).","additionalProperties":true,"uniqueKey":"usage.oneOf.0.prompt_tokens_details.oneOf.0","typeLabel":"Prompt Tokens Details · object"},{"type":"null","title":"Prompt Tokens Details","description":"Breakdown of prompt tokens (e.g. cached_tokens, audio_tokens).","uniqueKey":"usage.oneOf.0.prompt_tokens_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.oneOf.0.prompt_tokens_details","typeLabel":"Prompt Tokens Details · object | null"},"completion_tokens_details":{"oneOf":[{"type":"object","title":"Completion Tokens Details","description":"Breakdown of completion tokens (e.g. reasoning_tokens).","additionalProperties":true,"uniqueKey":"usage.oneOf.0.completion_tokens_details.oneOf.0","typeLabel":"Completion Tokens Details · object"},{"type":"null","title":"Completion Tokens Details","description":"Breakdown of completion tokens (e.g. reasoning_tokens).","uniqueKey":"usage.oneOf.0.completion_tokens_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.oneOf.0.completion_tokens_details","typeLabel":"Completion Tokens Details · object | null"}},"additionalProperties":true,"uniqueKey":"usage.oneOf.0","typeLabel":"ChatCompletionUsage · object"},{"type":"null","description":"Token usage statistics for the request.","uniqueKey":"usage.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage","typeLabel":"ChatCompletionUsage · object | null"},"system_fingerprint":{"oneOf":[{"type":"string","title":"System Fingerprint","description":"Backend configuration fingerprint that produced the response.","uniqueKey":"system_fingerprint.oneOf.0","typeLabel":"string"},{"type":"null","title":"System Fingerprint","description":"Backend configuration fingerprint that produced the response.","uniqueKey":"system_fingerprint.oneOf.1","typeLabel":"null"}],"uniqueKey":"system_fingerprint","typeLabel":"string | null"},"service_tier":{"oneOf":[{"type":"string","title":"Service Tier","description":"Service tier that processed the request.","uniqueKey":"service_tier.oneOf.0","typeLabel":"string"},{"type":"null","title":"Service Tier","description":"Service tier that processed the request.","uniqueKey":"service_tier.oneOf.1","typeLabel":"null"}],"uniqueKey":"service_tier","typeLabel":"string | null"}},"additionalProperties":true,"type":"object","required":["id","created","model","choices"],"title":"ChatCompletionResponse","description":"Response body for POST /chat/completions (non-streaming).","uniqueKey":"","typeLabel":"ChatCompletionResponse · object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","created":123,"model":"\u003cstring>","choices":[{"index":123,"message":{"role":"assistant","content":"\u003cstring>","tool_calls":[{}],"refusal":"\u003cstring>","reasoning_content":"\u003cstring>"},"finish_reason":"stop","logprobs":{}}],"object":"chat.completion","usage":{"prompt_tokens":123,"completion_tokens":123,"total_tokens":123,"prompt_tokens_details":{},"completion_tokens_details":{}},"system_fingerprint":"\u003cstring>","service_tier":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"e5cd5fdb-3c26-4a2a-9d3a-f5c0f7b72f6e":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"b9bd045e-1a2f-4fdd-ac8e-97933fcad533":{"AuthBearer":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"AuthBearer"}}},"servers":{"eaf4418d-fc51-4a44-bb37-297ab58ec9ed":{"url":"https://api.edenai.run","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"AuthBearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"AuthBearer","name":"Authorization"}],"title":"AuthBearer"}]},"originalFileLocation":"https://api.edenai.run/v3/docs/openapi.json"},"subdomain":"edenai","siteName":"Eden AI Documentation","title":"Chat Completions - Eden AI Documentation","navMaps":{"firstHrefInVersion":{"V3":{"href":"/api-reference/chat/chat-completions","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-21T01:59:47.531Z","originalFileLocation":"api-reference/chat/chat-completions.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"OpenAI-compatible chat completions endpoint (v3).\">\u003cmeta data-mint-head name=\"application-name\" content=\"Eden AI Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Chat Completions - Eden AI Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"OpenAI-compatible chat completions endpoint (v3).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Eden AI Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.edenai.co/docs/api-reference/chat/chat-completions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://edenai.mintlify.site/docs/_mintlify/api/og/v2?division=Chat\u0026amp;title=Chat+Completions\u0026amp;description=OpenAI-compatible+chat+completions+endpoint+%28v3%29.\u0026amp;theme=120b02b6627196279f8df944\u0026amp;signature=edc51d011174a66ba2d95d67ced7e7dcf318f1a8737cd18191f439b63511b145\">\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=\"Chat Completions - Eden AI Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"OpenAI-compatible chat completions endpoint (v3).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://edenai.mintlify.site/docs/_mintlify/api/og/v2?division=Chat\u0026amp;title=Chat+Completions\u0026amp;description=OpenAI-compatible+chat+completions+endpoint+%28v3%29.\u0026amp;theme=120b02b6627196279f8df944\u0026amp;signature=edc51d011174a66ba2d95d67ced7e7dcf318f1a8737cd18191f439b63511b145\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Eden AI Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3d7cc9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.edenai.co/docs/api-reference/chat/chat-completions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/chat/chat-completions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.edenai.co/#organization\",\"name\":\"Eden AI Documentation\",\"url\":\"https://www.edenai.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/edenai/UmEpehfvjqdFrnPI/logo/dark.svg?fit=max\u0026auto=format\u0026n=UmEpehfvjqdFrnPI\u0026q=85\u0026s=d255714c3107aff5726601b49d305d9d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.edenai.co/docs#website\",\"name\":\"Eden AI Documentation\",\"url\":\"https://www.edenai.co/docs\",\"publisher\":{\"@id\":\"https://www.edenai.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.edenai.co/docs/api-reference/chat/chat-completions#webpage\",\"url\":\"https://www.edenai.co/docs/api-reference/chat/chat-completions\",\"name\":\"Chat Completions\",\"description\":\"OpenAI-compatible chat completions endpoint (v3).\",\"dateModified\":\"2026-11-21T01:59:47.531Z\",\"isPartOf\":{\"@id\":\"https://www.edenai.co/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.edenai.co/docs/api-reference/chat/chat-completions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.edenai.co/docs/api-reference/chat/chat-completions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AI Features\",\"item\":\"https://www.edenai.co/docs/api-reference/info/list-features\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Chat Completions\",\"item\":\"https://www.edenai.co/docs/api-reference/chat/chat-completions\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.edenai.co/docs/api-reference/chat/chat-completions#apireference\",\"headline\":\"Chat Completions\",\"name\":\"Chat Completions\",\"description\":\"OpenAI-compatible chat completions endpoint (v3).\",\"url\":\"https://www.edenai.co/docs/api-reference/chat/chat-completions\",\"mainEntityOfPage\":{\"@id\":\"https://www.edenai.co/docs/api-reference/chat/chat-completions#webpage\"},\"dateModified\":\"2026-11-21T01:59:47.531Z\",\"publisher\":{\"@id\":\"https://www.edenai.co/#organization\"},\"isPartOf\":{\"@id\":\"https://www.edenai.co/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Eden AI Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Eden AI Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/chat/chat-completions.md","siteName":"Eden AI Documentation","nav":{"global":null,"versions":[{"version":"V3","tabs":[{"tab":"V3 Documentation","pages":[{"title":"V3 Documentation","href":""}]},{"tab":"V3 API Reference","groups":[{"group":"AI Features","pages":[{"group":"info","pages":[{"title":"List Features","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/info","href":"/api-reference/info/list-features"},{"title":"List Subfeatures","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/info/{feature}","href":"/api-reference/info/list-subfeatures"},{"title":"List Tts Voices","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/info/audio/tts/voices","href":"/api-reference/info/list-tts-voices"},{"title":"Get Feature Info","description":"Get detailed information for a specific feature/subfeature.\n\nArgs:\n feature: Feature name (e.g., 'text', 'image', 'ocr', 'translation')\n subfeature: Subfeature name (e.g., 'ai_detection', 'ocr', 'generation')\n format: Schema output format (simplified or json_schema)\n\nReturns:\n - Feature and subfeature display names\n - Request body schema (where the input fields and the model go)\n - Input schema\n - Output schema\n - Available providers and their models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/info/{feature}/{subfeature}","href":"/api-reference/info/get-feature-info"}]},{"group":"Chat","pages":[{"title":"Chat Completions","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/chat/completions","href":"/api-reference/chat/chat-completions"}]},{"group":"Responses","pages":[{"title":"Create Response","description":"Create a model response.","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/responses","href":"/api-reference/responses/create-response"},{"title":"Retrieve Response","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/responses/{response_id}","href":"/api-reference/responses/retrieve-response"},{"title":"Delete Response","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json delete /v3/responses/{response_id}","href":"/api-reference/responses/delete-response"}]},{"group":"Moderations","pages":[{"title":"Create Moderation","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/moderations","href":"/api-reference/moderations/create-moderation"},{"title":"List Moderation Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/moderations/models","href":"/api-reference/moderations/list-moderation-models"}]},{"group":"Embeddings","pages":[{"title":"Create Embeddings","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/embeddings","href":"/api-reference/embeddings/create-embeddings"},{"title":"List Embeddings Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/embeddings/models","href":"/api-reference/embeddings/list-embeddings-models"}]},{"group":"Anthropic Messages","pages":[{"title":"Create Anthropic Message","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/v1/messages","href":"/api-reference/anthropic-messages/create-anthropic-message"},{"title":"Count Anthropic Tokens","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/v1/messages/count_tokens","href":"/api-reference/anthropic-messages/count-anthropic-tokens"}]},{"group":"Decisions","pages":[{"title":"Create Decisions","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/alpha/decisions","href":"/api-reference/decisions/create-decisions"},{"title":"List Decisions Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/alpha/decisions/models","href":"/api-reference/decisions/list-decisions-models"}]},{"group":"Rerank","pages":[{"title":"Create Rerank","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/rerank","href":"/api-reference/rerank/create-rerank"},{"title":"List Rerank Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/rerank/models","href":"/api-reference/rerank/list-rerank-models"}]},{"group":"Images","pages":[{"title":"Image Generations","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/images/generations","href":"/api-reference/images/image-generations"},{"title":"Image Edits","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/images/edits","href":"/api-reference/images/image-edits"},{"title":"List Image Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/images/models","href":"/api-reference/images/list-image-models"}]},{"group":"Audio","pages":[{"title":"Audio Transcriptions","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/audio/transcriptions","href":"/api-reference/audio/audio-transcriptions"},{"title":"List Transcription Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/audio/transcriptions/models","href":"/api-reference/audio/list-transcription-models"},{"title":"Audio Speech","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/audio/speech","href":"/api-reference/audio/audio-speech"},{"title":"List Speech Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/audio/speech/models","href":"/api-reference/audio/list-speech-models"},{"title":"List Speech Voices","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/audio/voices","href":"/api-reference/audio/list-speech-voices"}]},{"group":"Videos","pages":[{"title":"List Videos","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/videos","href":"/api-reference/videos/list-videos"},{"title":"Create Video","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/videos","href":"/api-reference/videos/create-video"},{"title":"List Video Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/videos/models","href":"/api-reference/videos/list-video-models"},{"title":"Retrieve Video","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/videos/{video_id}","href":"/api-reference/videos/retrieve-video"},{"title":"Delete Video","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json delete /v3/videos/{video_id}","href":"/api-reference/videos/delete-video"},{"title":"Download Video Content","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/videos/{video_id}/content","href":"/api-reference/videos/download-video-content"}]},{"group":"Search","pages":[{"title":"Search","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/search","href":"/api-reference/search/search"},{"title":"List Search Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/search/models","href":"/api-reference/search/list-search-models"},{"title":"Search With Provider","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/search/{provider}","href":"/api-reference/search/search-with-provider"}]},{"group":"Batches","pages":[{"title":"List Batches","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/batches","href":"/api-reference/batches/list-batches"},{"title":"Create Batch","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/batches","href":"/api-reference/batches/create-batch"},{"title":"Retrieve Batch","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/batches/{batch_id}","href":"/api-reference/batches/retrieve-batch"},{"title":"Cancel Batch","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/batches/{batch_id}/cancel","href":"/api-reference/batches/cancel-batch"},{"title":"Batch Results","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/batches/{batch_id}/results","href":"/api-reference/batches/batch-results"}]},{"group":"Models","pages":[{"title":"List Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/models","href":"/api-reference/models/list-models"}]},{"group":"universal-ai","pages":[{"title":"Universal Ai","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/universal-ai","href":"/api-reference/universal-ai/universal-ai"},{"title":"List Async Jobs","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/universal-ai/async","href":"/api-reference/universal-ai/list-async-jobs"},{"title":"Create Async Job","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/universal-ai/async","href":"/api-reference/universal-ai/create-async-job"},{"title":"Get Async Job","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/universal-ai/async/{job_id}","href":"/api-reference/universal-ai/get-async-job"},{"title":"Delete Async Job","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json delete /v3/universal-ai/async/{job_id}","href":"/api-reference/universal-ai/delete-async-job"}]},{"group":"collections","pages":[{"title":"List Collections","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/universal-ai/collections","href":"/api-reference/collections/list-collections"},{"title":"Create Collection","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/universal-ai/collections","href":"/api-reference/collections/create-collection"},{"title":"Get Collection","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/universal-ai/collections/{collection_id}","href":"/api-reference/collections/get-collection"},{"title":"Delete Collection","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json delete /v3/universal-ai/collections/{collection_id}","href":"/api-reference/collections/delete-collection"},{"title":"List Items","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/universal-ai/collections/{collection_id}/items","href":"/api-reference/collections/list-items"},{"title":"Add Item","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/universal-ai/collections/{collection_id}/items","href":"/api-reference/collections/add-item"},{"title":"Delete Item","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json delete /v3/universal-ai/collections/{collection_id}/items/{item_id}","href":"/api-reference/collections/delete-item"}]},{"group":"files management","pages":[{"title":"List Files","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/upload","href":"/api-reference/files-management/list-files"},{"title":"Upload File","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/upload","href":"/api-reference/files-management/upload-file"},{"title":"Delete All Files","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json delete /v3/upload","href":"/api-reference/files-management/delete-all-files"},{"title":"Delete Files By Ids","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/upload/delete","href":"/api-reference/files-management/delete-files-by-ids"}]}]},{"group":"Organization Management","pages":[{"group":"Management Keys","pages":[{"title":"List management keys","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/auth-keys/","href":"/api-reference/management-keys/list-management-keys"},{"title":"Create a management key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json post /v3/manage/auth-keys/","href":"/api-reference/management-keys/create-a-management-key"},{"title":"Revoke a management key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json delete /v3/manage/auth-keys/{key_id}/","href":"/api-reference/management-keys/revoke-a-management-key"},{"title":"Inspect the calling management key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/whoami/","href":"/api-reference/management-keys/inspect-the-calling-management-key"}]},{"group":"Billing","pages":[{"title":"Get the billing overview","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/billing/","href":"/api-reference/billing/get-the-billing-overview"},{"title":"List the billing contacts","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/billing/contacts/","href":"/api-reference/billing/list-the-billing-contacts"},{"title":"Get the invoice details","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/billing/details/","href":"/api-reference/billing/get-the-invoice-details"},{"title":"List invoices","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/billing/invoices/","href":"/api-reference/billing/list-invoices"},{"title":"Retrieve an invoice","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/billing/invoices/{invoice_id}/","href":"/api-reference/billing/retrieve-an-invoice"},{"title":"List usage statements","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/billing/statements/","href":"/api-reference/billing/list-usage-statements"},{"title":"Retrieve a usage statement","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/billing/statements/{period}/","href":"/api-reference/billing/retrieve-a-usage-statement"},{"title":"Download a usage statement","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/billing/statements/{period}/csv/","href":"/api-reference/billing/download-a-usage-statement"},{"title":"Download a usage statement","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/billing/statements/{period}/pdf/","href":"/api-reference/billing/download-a-usage-statement-1"}]},{"group":"Groups","pages":[{"title":"List groups","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/groups/","href":"/api-reference/groups/list-groups"},{"title":"Retrieve a group","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/groups/{external_group_id}/","href":"/api-reference/groups/retrieve-a-group"},{"title":"Map a group to a role","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json put /v3/manage/groups/{external_group_id}/role/","href":"/api-reference/groups/map-a-group-to-a-role"},{"title":"Unmap a group from its role","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json delete /v3/manage/groups/{external_group_id}/role/","href":"/api-reference/groups/unmap-a-group-from-its-role"}]},{"group":"Guardrails","pages":[{"title":"List guardrails","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/guardrails/","href":"/api-reference/guardrails/list-guardrails"},{"title":"Create a guardrail","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json post /v3/manage/guardrails/","href":"/api-reference/guardrails/create-a-guardrail"},{"title":"Retrieve a guardrail","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/guardrails/{guardrail_id}/","href":"/api-reference/guardrails/retrieve-a-guardrail"},{"title":"Replace a guardrail","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json put /v3/manage/guardrails/{guardrail_id}/","href":"/api-reference/guardrails/replace-a-guardrail"},{"title":"Delete a guardrail","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json delete /v3/manage/guardrails/{guardrail_id}/","href":"/api-reference/guardrails/delete-a-guardrail"},{"title":"Pause or resume a guardrail","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json put /v3/manage/guardrails/{guardrail_id}/active/","href":"/api-reference/guardrails/pause-or-resume-a-guardrail"}]},{"group":"API Keys","pages":[{"title":"List API keys","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/keys/","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create an API key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json post /v3/manage/keys/","href":"/api-reference/api-keys/create-an-api-key"},{"title":"Retrieve an API key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/keys/{key_id}/","href":"/api-reference/api-keys/retrieve-an-api-key"},{"title":"Revoke an API key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json delete /v3/manage/keys/{key_id}/","href":"/api-reference/api-keys/revoke-an-api-key"},{"title":"Update an API key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json patch /v3/manage/keys/{key_id}/","href":"/api-reference/api-keys/update-an-api-key"},{"title":"Rotate an API key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json post /v3/manage/keys/{key_id}/rotate/","href":"/api-reference/api-keys/rotate-an-api-key"}]},{"group":"Usage","pages":[{"title":"Get an API key's usage","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/keys/{key_id}/usage/","href":"/api-reference/usage/get-an-api-keys-usage"},{"title":"Get organization usage","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/usage/","href":"/api-reference/usage/get-organization-usage"},{"title":"List filter values","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/usage/facets/","href":"/api-reference/usage/list-filter-values"},{"title":"Get LLM metrics","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/usage/llm/","href":"/api-reference/usage/get-llm-metrics"},{"title":"Get LLM metrics per model","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/usage/llm/models/","href":"/api-reference/usage/get-llm-metrics-per-model"},{"title":"List requests","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/usage/requests/","href":"/api-reference/usage/list-requests"},{"title":"Retrieve a request","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/usage/requests/{request_id}/","href":"/api-reference/usage/retrieve-a-request"},{"title":"List a request's attempts","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/usage/requests/{request_id}/attempts/","href":"/api-reference/usage/list-a-requests-attempts"},{"title":"Export requests as CSV","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/usage/requests/export/","href":"/api-reference/usage/export-requests-as-csv"},{"title":"Get request volume","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/usage/requests/volume/","href":"/api-reference/usage/get-request-volume"}]},{"group":"Members","pages":[{"title":"List members","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/members/","href":"/api-reference/members/list-members"},{"title":"Invite a member","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json post /v3/manage/members/","href":"/api-reference/members/invite-a-member"},{"title":"Retrieve a member","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/members/{email}/","href":"/api-reference/members/retrieve-a-member"},{"title":"Remove a member","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json delete /v3/manage/members/{email}/","href":"/api-reference/members/remove-a-member"},{"title":"Update a member","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json patch /v3/manage/members/{email}/","href":"/api-reference/members/update-a-member"},{"title":"Clear a member's role","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json delete /v3/manage/members/{email}/role/","href":"/api-reference/members/clear-a-members-role"},{"title":"Set a member's role","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json patch /v3/manage/members/{email}/role/","href":"/api-reference/members/set-a-members-role"}]},{"group":"Organization","pages":[{"title":"Retrieve the organization's settings","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/organization/","href":"/api-reference/organization/retrieve-the-organizations-settings"},{"title":"Update the organization's settings","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json patch /v3/manage/organization/","href":"/api-reference/organization/update-the-organizations-settings"}]},{"group":"Roles","pages":[{"title":"List permissions","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/permissions/","href":"/api-reference/roles/list-permissions"},{"title":"List roles","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/roles/","href":"/api-reference/roles/list-roles"},{"title":"Create a role","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json post /v3/manage/roles/","href":"/api-reference/roles/create-a-role"},{"title":"Retrieve a role","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/roles/{role_id}/","href":"/api-reference/roles/retrieve-a-role"},{"title":"Replace a role","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json put /v3/manage/roles/{role_id}/","href":"/api-reference/roles/replace-a-role"},{"title":"Delete a role","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json delete /v3/manage/roles/{role_id}/","href":"/api-reference/roles/delete-a-role"}]},{"group":"Routing Policies","pages":[{"title":"List routing policies","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/routing-policies/","href":"/api-reference/routing-policies/list-routing-policies"},{"title":"Get a routing policy","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/routing-policies/{name}/","href":"/api-reference/routing-policies/get-a-routing-policy"},{"title":"Create or replace a routing policy","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json put /v3/manage/routing-policies/{name}/","href":"/api-reference/routing-policies/create-or-replace-a-routing-policy"},{"title":"Delete a routing policy","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json delete /v3/manage/routing-policies/{name}/","href":"/api-reference/routing-policies/delete-a-routing-policy"}]}]}]}]}]},"basePath":"","title":"Chat Completions - Eden AI Documentation","deploymentId":"dpl_B1qJC7o4Nbc1BrDLB8Y5TDHq3c2t","buildId":"dpl_B1qJC7o4Nbc1BrDLB8Y5TDHq3c2t","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CUHhyXy2.js","snippetPresets-CLZ6zHrE.js","utils-YgZO0660.js","style-to-object-BY3JEAdk.js","utils-BfGpunL-.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-nXeJG4mW.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CfiGwWS2.js","_Uint8Array-DMwpGz7v.js","isObject-FP1Yky1u.js","ApiExamples-ClwIRLsI.js","usePlaygroundInputsStore-D3zE52Kn.js","shallow-D4RQzCAp.js","isEqual-Ba6nq9eA.js","CodeSnippets-DK9iv102.js","CodeSnippet-CD0M-PIN.js","getApiPlaygroundDisplay-MZpK72mj.js","Page-wRPqmnTs.js","DynamicMarkdown-B4E-vXj3.js","SectionHeading-Cd1Hebqh.js","icon-CopWpdT0.js","MethodPill-DHN7T7vW.js","getPastedJson-BuLRhr5B.js","Check2Icon-DTvkZOnk.js","axios-CsQoIw0U.js","Markdown-BZDfk3ee.js","AssistantPageLink-CXXpl6Pb.js","dist-D0qiytnz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}