Properties
| Name | Type | Description |
|---|---|---|
| messages | array | |
| model | object | |
| audio | object | |
| frequency_penalty | object | |
| function_call | object | |
| functions | array | |
| logit_bias | object | |
| logprobs | object | |
| max_completion_tokens | object | |
| max_tokens | object | |
| metadata | object | |
| modalities | object | |
| n | object | |
| parallel_tool_calls | boolean | |
| prediction | object | |
| presence_penalty | object | |
| reasoning_effort | object | |
| response_format | object | |
| seed | object | |
| service_tier | object | |
| stop | object | |
| store | object | |
| stream_options | object | |
| temperature | object | |
| tool_choice | object | |
| tools | array | |
| top_logprobs | object | |
| top_p | object | |
| user | string | |
| web_search_options | object | |
| stream | boolean |
JSON Schema
rostro-dev-openai-types-chat-completion-create-params-completion-create-params-streaming-schema.json
Raw ↑
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/rostro-dev/json-schema/rostro-dev-openai-types-chat-completion-create-params-completion-create-params-streaming-schema.json",
"title": "CompletionCreateParamsStreaming",
"x-generated": "2026-11-23",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/rostro-dev-openapi.json#/components/schemas/openai__types__chat__completion_create_params__CompletionCreateParamsStreaming",
"properties": {
"messages": {
"items": {
"anyOf": [
{
"$ref": "#/$defs/ChatCompletionDeveloperMessageParam"
},
{
"$ref": "#/$defs/ChatCompletionSystemMessageParam"
},
{
"$ref": "#/$defs/ChatCompletionUserMessageParam"
},
{
"$ref": "#/$defs/ChatCompletionAssistantMessageParam"
},
{
"$ref": "#/$defs/ChatCompletionToolMessageParam"
},
{
"$ref": "#/$defs/ChatCompletionFunctionMessageParam"
}
]
},
"type": "array",
"title": "Messages"
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"gpt-4.1",
"gpt-4.1-mini",
"gpt-4.1-nano",
"gpt-4.1-2025-04-14",
"gpt-4.1-mini-2025-04-14",
"gpt-4.1-nano-2025-04-14",
"o4-mini",
"o4-mini-2025-04-16",
"o3",
"o3-2025-04-16",
"o3-mini",
"o3-mini-2025-01-31",
"o1",
"o1-2024-12-17",
"o1-preview",
"o1-preview-2024-09-12",
"o1-mini",
"o1-mini-2024-09-12",
"gpt-4o",
"gpt-4o-2024-11-20",
"gpt-4o-2024-08-06",
"gpt-4o-2024-05-13",
"gpt-4o-audio-preview",
"gpt-4o-audio-preview-2024-10-01",
"gpt-4o-audio-preview-2024-12-17",
"gpt-4o-audio-preview-2025-06-03",
"gpt-4o-mini-audio-preview",
"gpt-4o-mini-audio-preview-2024-12-17",
"gpt-4o-search-preview",
"gpt-4o-mini-search-preview",
"gpt-4o-search-preview-2025-03-11",
"gpt-4o-mini-search-preview-2025-03-11",
"chatgpt-4o-latest",
"codex-mini-latest",
"gpt-4o-mini",
"gpt-4o-mini-2024-07-18",
"gpt-4-turbo",
"gpt-4-turbo-2024-04-09",
"gpt-4-0125-preview",
"gpt-4-turbo-preview",
"gpt-4-1106-preview",
"gpt-4-vision-preview",
"gpt-4",
"gpt-4-0314",
"gpt-4-0613",
"gpt-4-32k",
"gpt-4-32k-0314",
"gpt-4-32k-0613",
"gpt-3.5-turbo",
"gpt-3.5-turbo-16k",
"gpt-3.5-turbo-0301",
"gpt-3.5-turbo-0613",
"gpt-3.5-turbo-1106",
"gpt-3.5-turbo-0125",
"gpt-3.5-turbo-16k-0613"
]
}
],
"title": "Model"
},
"audio": {
"anyOf": [
{
"$ref": "#/$defs/ChatCompletionAudioParam"
},
{
"type": "null"
}
]
},
"frequency_penalty": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Frequency Penalty"
},
"function_call": {
"anyOf": [
{
"type": "string",
"enum": [
"none",
"auto"
]
},
{
"$ref": "#/$defs/ChatCompletionFunctionCallOptionParam"
}
],
"title": "Function Call"
},
"functions": {
"items": {
"$ref": "#/$defs/openai__types__chat__completion_create_params__Function"
},
"type": "array",
"title": "Functions"
},
"logit_bias": {
"anyOf": [
{
"additionalProperties": {
"type": "integer"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Logit Bias"
},
"logprobs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Logprobs"
},
"max_completion_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Max Completion Tokens"
},
"max_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Max Tokens"
},
"metadata": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Metadata"
},
"modalities": {
"anyOf": [
{
"items": {
"type": "string",
"enum": [
"text",
"audio"
]
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Modalities"
},
"n": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "N"
},
"parallel_tool_calls": {
"type": "boolean",
"title": "Parallel Tool Calls"
},
"prediction": {
"anyOf": [
{
"$ref": "#/$defs/ChatCompletionPredictionContentParam"
},
{
"type": "null"
}
]
},
"presence_penalty": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Presence Penalty"
},
"reasoning_effort": {
"anyOf": [
{
"type": "string",
"enum": [
"low",
"medium",
"high"
]
},
{
"type": "null"
}
],
"title": "Reasoning Effort"
},
"response_format": {
"anyOf": [
{
"$ref": "#/$defs/ResponseFormatText"
},
{
"$ref": "#/$defs/ResponseFormatJSONSchema"
},
{
"$ref": "#/$defs/ResponseFormatJSONObject"
}
],
"title": "Response Format"
},
"seed": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Seed"
},
"service_tier": {
"anyOf": [
{
"type": "string",
"enum": [
"auto",
"default",
"flex",
"scale"
]
},
{
"type": "null"
}
],
"title": "Service Tier"
},
"stop": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Stop"
},
"store": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Store"
},
"stream_options": {
"anyOf": [
{
"$ref": "#/$defs/ChatCompletionStreamOptionsParam"
},
{
"type": "null"
}
]
},
"temperature": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Temperature"
},
"tool_choice": {
"anyOf": [
{
"type": "string",
"enum": [
"none",
"auto",
"required"
]
},
{
"$ref": "#/$defs/ChatCompletionNamedToolChoiceParam"
}
],
"title": "Tool Choice"
},
"tools": {
"items": {
"$ref": "#/$defs/ChatCompletionToolParam"
},
"type": "array",
"title": "Tools"
},
"top_logprobs": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Top Logprobs"
},
"top_p": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Top P"
},
"user": {
"type": "string",
"title": "User"
},
"web_search_options": {
"$ref": "#/$defs/WebSearchOptions"
},
"stream": {
"type": "boolean",
"const": true,
"title": "Stream"
}
},
"type": "object",
"required": [
"messages",
"model",
"stream"
],
"$defs": {
"Audio": {
"properties": {
"id": {
"type": "string",
"title": "Id"
}
},
"type": "object",
"required": [
"id"
],
"title": "Audio"
},
"ChatCompletionAssistantMessageParam": {
"properties": {
"role": {
"type": "string",
"const": "assistant",
"title": "Role"
},
"audio": {
"anyOf": [
{
"$ref": "#/$defs/Audio"
},
{
"type": "null"
}
]
},
"content": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"anyOf": [
{
"$ref": "#/$defs/ChatCompletionContentPartTextParam"
},
{
"$ref": "#/$defs/ChatCompletionContentPartRefusalParam"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Content"
},
"function_call": {
"anyOf": [
{
"$ref": "#/$defs/FunctionCall-Input"
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"title": "Name"
},
"refusal": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Refusal"
},
"tool_calls": {
"items": {
"$ref": "#/$defs/ChatCompletionMessageToolCallParam"
},
"type": "array",
"title": "Tool Calls"
}
},
"type": "object",
"required": [
"role"
],
"title": "ChatCompletionAssistantMessageParam"
},
"ChatCompletionAudioParam": {
"properties": {
"format": {
"type": "string",
"enum": [
"wav",
"aac",
"mp3",
"flac",
"opus",
"pcm16"
],
"title": "Format"
},
"voice": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"alloy",
"ash",
"ballad",
"coral",
"echo",
"fable",
"onyx",
"nova",
"sage",
"shimmer",
"verse"
]
}
],
"title": "Voice"
}
},
"type": "object",
"required": [
"format",
"voice"
],
"title": "ChatCompletionAudioParam"
},
"ChatCompletionContentPartImageParam": {
"properties": {
"image_url": {
"$ref": "#/$defs/ImageURL"
},
"type": {
"type": "string",
"const": "image_url",
"title": "Type"
}
},
"type": "object",
"required": [
"image_url",
"type"
],
"title": "ChatCompletionContentPartImageParam"
},
"ChatCompletionContentPartInputAudioParam": {
"properties": {
"input_audio": {
"$ref": "#/$defs/InputAudio"
},
"type": {
"type": "string",
"const": "input_audio",
"title": "Type"
}
},
"type": "object",
"required": [
"input_audio",
"type"
],
"title": "ChatCompletionContentPartInputAudioParam"
},
"ChatCompletionContentPartRefusalParam": {
"properties": {
"refusal": {
"type": "string",
"title": "Refusal"
},
"type": {
"type": "string",
"const": "refusal",
"title": "Type"
}
},
"type": "object",
"required": [
"refusal",
"type"
],
"title": "ChatCompletionContentPartRefusalParam"
},
"ChatCompletionContentPartTextParam": {
"properties": {
"text": {
"type": "string",
"title": "Text"
},
"type": {
"type": "string",
"const": "text",
"title": "Type"
}
},
"type": "object",
"required": [
"text",
"type"
],
"title": "ChatCompletionContentPartTextParam"
},
"ChatCompletionDeveloperMessageParam": {
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"$ref": "#/$defs/ChatCompletionContentPartTextParam"
},
"type": "array"
}
],
"title": "Content"
},
"role": {
"type": "string",
"const": "developer",
"title": "Role"
},
"name": {
"type": "string",
"title": "Name"
}
},
"type": "object",
"required": [
"content",
"role"
],
"title": "ChatCompletionDeveloperMessageParam"
},
"ChatCompletionFunctionCallOptionParam": {
"properties": {
"name": {
"type": "string",
"title": "Name"
}
},
"type": "object",
"required": [
"name"
],
"title": "ChatCompletionFunctionCallOptionParam"
},
"ChatCompletionFunctionMessageParam": {
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Content"
},
"name": {
"type": "string",
"title": "Name"
},
"role": {
"type": "string",
"const": "function",
"title": "Role"
}
},
"type": "object",
"required": [
"content",
"name",
"role"
],
"title": "ChatCompletionFunctionMessageParam"
},
"ChatCompletionMessageToolCallParam": {
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"function": {
"$ref": "#/$defs/openai__types__chat__chat_completion_message_tool_call_param__Function"
},
"type": {
"type": "string",
"const": "function",
"title": "Type"
}
},
"type": "object",
"required": [
"id",
"function",
"type"
],
"title": "ChatCompletionMessageToolCallParam"
},
"ChatCompletionNamedToolChoiceParam": {
"type": "object",
"description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
"x-ae-placeholder": true
},
"ChatCompletionPredictionContentParam": {
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"$ref": "#/$defs/ChatCompletionContentPartTextParam"
},
"type": "array"
}
],
"title": "Content"
},
"type": {
"type": "string",
"const": "content",
"title": "Type"
}
},
"type": "object",
"required": [
"content",
"type"
],
"title": "ChatCompletionPredictionContentParam"
},
"ChatCompletionStreamOptionsParam": {
"properties": {
"include_usage": {
"type": "boolean",
"title": "Include Usage"
}
},
"type": "object",
"title": "ChatCompletionStreamOptionsParam"
},
"ChatCompletionSystemMessageParam": {
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"$ref": "#/$defs/ChatCompletionContentPartTextParam"
},
"type": "array"
}
],
"title": "Content"
},
"role": {
"type": "string",
"const": "system",
"title": "Role"
},
"name": {
"type": "string",
"title": "Name"
}
},
"type": "object",
"required": [
"content",
"role"
],
"title": "ChatCompletionSystemMessageParam"
},
"ChatCompletionToolMessageParam": {
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"$ref": "#/$defs/ChatCompletionContentPartTextParam"
},
"type": "array"
}
],
"title": "Content"
},
"role": {
"type": "string",
"const": "tool",
"title": "Role"
},
"tool_call_id": {
"type": "string",
"title": "Tool Call Id"
}
},
"type": "object",
"required": [
"content",
"role",
"tool_call_id"
],
"title": "ChatCompletionToolMessageParam"
},
"ChatCompletionToolParam": {
"properties": {
"function": {
"$ref": "#/$defs/FunctionDefinition"
},
"type": {
"type": "string",
"const": "function",
"title": "Type"
}
},
"type": "object",
"required": [
"function",
"type"
],
"title": "ChatCompletionToolParam"
},
"ChatCompletionUserMessageParam": {
"properties": {
"content": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"anyOf": [
{
"$ref": "#/$defs/ChatCompletionContentPartTextParam"
},
{
"$ref": "#/$defs/ChatCompletionContentPartImageParam"
},
{
"$ref": "#/$defs/ChatCompletionContentPartInputAudioParam"
},
{
"$ref": "#/$defs/File"
}
]
},
"type": "array"
}
],
"title": "Content"
},
"role": {
"type": "string",
"const": "user",
"title": "Role"
},
"name": {
"type": "string",
"title": "Name"
}
},
"type": "object",
"required": [
"content",
"role"
],
"title": "ChatCompletionUserMessageParam"
},
"File": {
"properties": {
"file": {
"$ref": "#/$defs/FileFile"
},
"type": {
"type": "string",
"const": "file",
"title": "Type"
}
},
"type": "object",
"required": [
"file",
"type"
],
"title": "File"
},
"FileFile": {
"properties": {
"file_data": {
"type": "string",
"title": "File Data"
},
"file_id": {
"type": "string",
"title": "File Id"
},
"filename": {
"type": "string",
"title": "Filename"
}
},
"type": "object",
"title": "FileFile"
},
"FunctionCall-Input": {
"properties": {
"arguments": {
"type": "string",
"title": "Arguments"
},
"name": {
"type": "string",
"title": "Name"
}
},
"type": "object",
"required": [
"arguments",
"name"
],
"title": "FunctionCall"
},
"FunctionDefinition": {
"type": "object",
"description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
"x-ae-placeholder": true
},
"ImageURL": {
"properties": {
"url": {
"type": "string",
"title": "Url"
},
"detail": {
"type": "string",
"enum": [
"auto",
"low",
"high"
],
"title": "Detail"
}
},
"type": "object",
"required": [
"url"
],
"title": "ImageURL"
},
"InputAudio": {
"properties": {
"data": {
"type": "string",
"title": "Data"
},
"format": {
"type": "string",
"enum": [
"wav",
"mp3"
],
"title": "Format"
}
},
"type": "object",
"required": [
"data",
"format"
],
"title": "InputAudio"
},
"JSONSchema": {
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"description": {
"type": "string",
"title": "Description"
},
"schema": {
"additionalProperties": true,
"type": "object",
"title": "Schema"
},
"strict": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Strict"
}
},
"type": "object",
"required": [
"name"
],
"title": "JSONSchema"
},
"ResponseFormatJSONObject": {
"properties": {
"type": {
"type": "string",
"const": "json_object",
"title": "Type"
}
},
"type": "object",
"required": [
"type"
],
"title": "ResponseFormatJSONObject"
},
"ResponseFormatJSONSchema": {
"properties": {
"json_schema": {
"$ref": "#/$defs/JSONSchema"
},
"type": {
"type": "string",
"const": "json_schema",
"title": "Type"
}
},
"type": "object",
"required": [
"json_schema",
"type"
],
"title": "ResponseFormatJSONSchema"
},
"ResponseFormatText": {
"properties": {
"type": {
"type": "string",
"const": "text",
"title": "Type"
}
},
"type": "object",
"required": [
"type"
],
"title": "ResponseFormatText"
},
"WebSearchOptions": {
"properties": {
"search_context_size": {
"type": "string",
"enum": [
"low",
"medium",
"high"
],
"title": "Search Context Size"
},
"user_location": {
"anyOf": [
{
"$ref": "#/$defs/WebSearchOptionsUserLocation"
},
{
"type": "null"
}
]
}
},
"type": "object",
"title": "WebSearchOptions"
},
"WebSearchOptionsUserLocation": {
"properties": {
"approximate": {
"$ref": "#/$defs/WebSearchOptionsUserLocationApproximate"
},
"type": {
"type": "string",
"const": "approximate",
"title": "Type"
}
},
"type": "object",
"required": [
"approximate",
"type"
],
"title": "WebSearchOptionsUserLocation"
},
"WebSearchOptionsUserLocationApproximate": {
"properties": {
"city": {
"type": "string",
"title": "City"
},
"country": {
"type": "string",
"title": "Country"
},
"region": {
"type": "string",
"title": "Region"
},
"timezone": {
"type": "string",
"title": "Timezone"
}
},
"type": "object",
"title": "WebSearchOptionsUserLocationApproximate"
},
"openai__types__chat__chat_completion_message_tool_call_param__Function": {
"properties": {
"arguments": {
"type": "string",
"title": "Arguments"
},
"name": {
"type": "string",
"title": "Name"
}
},
"type": "object",
"required": [
"arguments",
"name"
],
"title": "Function"
},
"openai__types__chat__completion_create_params__Function": {
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"description": {
"type": "string",
"title": "Description"
},
"parameters": {
"additionalProperties": true,
"type": "object",
"title": "Parameters"
}
},
"type": "object",
"required": [
"name"
],
"title": "Function"
}
}
}
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/rostro-dev-openai-types-chat-completion-create-params-completion-create-params-streaming"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.