Inworld AI · Schema
InworldRouterChatCompletionRequest
Inworld LLM Router chat completions request body for POST /v1/chat/completions. OpenAI-compatible.
Artificial IntelligenceVoiceText-to-SpeechSpeech-to-TextReal-TimeLLM RoutingVoice CloningConversational AIGame AI
Properties
| Name | Type | Description |
|---|---|---|
| model | string | Model id, provider/model id, `auto`, or `inworld/ |
| messages | array | |
| stream | boolean | |
| temperature | number | |
| top_p | number | |
| max_tokens | integer | |
| max_completion_tokens | integer | |
| presence_penalty | number | |
| frequency_penalty | number | |
| seed | integer | |
| stop | object | |
| logit_bias | object | |
| reasoning_effort | string | |
| user | string | |
| web_search | boolean | |
| web_search_options | object | |
| modalities | array | |
| image_config | object | |
| extra_body | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/inworld-ai/main/json-schema/inworld-router-chat-completion-schema.json",
"title": "InworldRouterChatCompletionRequest",
"description": "Inworld LLM Router chat completions request body for POST /v1/chat/completions. OpenAI-compatible.",
"type": "object",
"required": ["model", "messages"],
"properties": {
"model": {
"type": "string",
"description": "Model id, provider/model id, `auto`, or `inworld/<router-name>`."
},
"messages": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": ["role", "content"],
"properties": {
"role": {
"type": "string",
"enum": ["system", "user", "assistant", "tool", "developer"]
},
"content": {
"oneOf": [
{ "type": "string" },
{
"type": "array",
"items": { "type": "object" }
}
]
},
"name": { "type": "string" },
"tool_calls": {
"type": "array",
"items": { "type": "object" }
},
"tool_call_id": { "type": "string" }
}
}
},
"stream": { "type": "boolean" },
"temperature": { "type": "number" },
"top_p": { "type": "number" },
"max_tokens": { "type": "integer" },
"max_completion_tokens": { "type": "integer" },
"presence_penalty": { "type": "number" },
"frequency_penalty": { "type": "number" },
"seed": { "type": "integer" },
"stop": {
"oneOf": [
{ "type": "string" },
{ "type": "array", "items": { "type": "string" } }
]
},
"logit_bias": {
"type": "object",
"additionalProperties": { "type": "number" }
},
"reasoning_effort": { "type": "string" },
"user": { "type": "string" },
"web_search": { "type": "boolean" },
"web_search_options": { "type": "object" },
"modalities": {
"type": "array",
"items": { "type": "string" }
},
"image_config": { "type": "object" },
"extra_body": { "type": "object" }
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/inworld-router-chat-completion"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.