Vercel · JSON Structure
Vercel Chat Completion Structure
Structural documentation for a Vercel AI Gateway chat completion request
Type: object
Properties: 0
AI GatewaysGatewaysObservabilityWebhook
Vercel Chat Completion Structure is a JSON Structure definition published by Vercel.
Meta-schema:
JSON Structure
{
"title": "Vercel AI Gateway Chat Completion Structure",
"description": "Structural documentation for a Vercel AI Gateway chat completion request",
"type": "object",
"fields": [
{ "name": "model", "type": "string", "description": "provider/model-name e.g. anthropic/claude-opus-4.6" },
{
"name": "messages",
"type": "array",
"description": "Conversation messages",
"items": {
"type": "object",
"fields": [
{ "name": "role", "type": "string", "description": "system, user, assistant, or tool" },
{ "name": "content", "type": "string|array", "description": "Text or multi-modal content array" }
]
}
},
{ "name": "stream", "type": "boolean", "description": "Enable SSE streaming" },
{ "name": "temperature", "type": "number", "description": "Sampling temperature 0-2" },
{ "name": "max_tokens", "type": "integer", "description": "Maximum tokens to generate" },
{
"name": "providerOptions",
"type": "object",
"description": "Provider routing configuration",
"fields": [
{
"name": "gateway",
"type": "object",
"fields": [
{ "name": "order", "type": "array", "description": "Provider fallback chain" },
{ "name": "sort", "type": "string", "description": "cost, ttft, or tps" }
]
}
]
},
{
"name": "provider",
"type": "object",
"description": "Provider shorthand",
"fields": [
{ "name": "sort", "type": "string", "description": "cost, ttft, or tps" }
]
}
]
}
Work with this as data
Every JSON Structure 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 json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/vercel-chat-completion-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.