Properties
| Name | Type | Description |
|---|---|---|
| model | string | |
| messages | array | |
| logprobs | boolean | |
| top_logprobs | integer | |
| max_tokens | integer | |
| temperature | number | |
| top_p | integer | |
| top_k | integer | |
| stream | boolean | |
| stream_options | object | |
| chat_template_kwargs | object | |
| ignore_eos | boolean | |
| tools | array | |
| min_p | integer | |
| repetition_penalty | integer | |
| frequency_penalty | integer | |
| presence_penalty | integer | |
| response_format | object | |
| grammar | string | |
| draft_model | string | |
| speculative_k | integer | |
| speculation_policy | string | |
| speculation_calibration | string | |
| cache_dtype | string | |
| cache_compaction_ratio | integer | |
| context_management | object | |
| kv_cache | object | |
| prompt_cache_key | string | |
| prompt_cache | boolean | |
| backend | string | |
| mode | string | |
| compiled_target | string | |
| tool_choice | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/antfly/json-schema/antfly-post-ai-v1-chat-completions-request-schema.json",
"title": "PostAiV1ChatCompletionsRequest",
"x-generated": "2026-10-29",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/_ae-authored/antfly-openapi-generated.yml#/components/schemas/PostAiV1ChatCompletionsRequest",
"type": "object",
"properties": {
"model": {
"type": "string"
},
"messages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"extra_content": {
"type": "object"
},
"role": {
"type": "string"
},
"content": {
"type": [
"string",
"null"
]
},
"tool_calls": {
"type": "array",
"items": {
"type": [
"string",
"null"
]
}
},
"tool_call_id": {
"type": "string"
}
}
}
},
"logprobs": {
"type": "boolean"
},
"top_logprobs": {
"type": "integer"
},
"max_tokens": {
"type": "integer"
},
"temperature": {
"type": "number"
},
"top_p": {
"type": "integer"
},
"top_k": {
"type": "integer"
},
"stream": {
"type": "boolean"
},
"stream_options": {
"type": "object",
"properties": {
"include_usage": {
"type": "boolean"
}
}
},
"chat_template_kwargs": {
"type": "object",
"properties": {
"enable_thinking": {
"type": "boolean"
}
}
},
"ignore_eos": {
"type": "boolean"
},
"tools": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"function": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"parameters": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"properties": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"type": {},
"description": {}
}
}
}
},
"required": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"strict": {
"type": "boolean"
}
}
}
}
}
},
"min_p": {
"type": "integer"
},
"repetition_penalty": {
"type": "integer"
},
"frequency_penalty": {
"type": "integer"
},
"presence_penalty": {
"type": "integer"
},
"response_format": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"json_schema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"strict": {
"type": "boolean"
},
"schema": {
"type": "object"
}
}
}
}
},
"grammar": {
"type": "string"
},
"draft_model": {
"type": "string"
},
"speculative_k": {
"type": "integer"
},
"speculation_policy": {
"type": "string"
},
"speculation_calibration": {
"type": "string"
},
"cache_dtype": {
"type": "string"
},
"cache_compaction_ratio": {
"type": "integer"
},
"context_management": {
"type": "object",
"properties": {
"mode": {
"type": "string"
},
"checkpoint": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"covered_messages": {
"type": "integer"
},
"covered_prefix_sha256": {
"type": "string"
},
"parent_checkpoint_sha256": {
"type": "string"
},
"memory_sha256": {
"type": "string"
},
"model_revision": {
"type": "string"
},
"tokenizer_revision": {
"type": "string"
},
"template_revision": {
"type": "string"
},
"memory": {
"type": "object",
"properties": {
"conversation": {
"type": "string"
},
"tool_evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"tool_call_id": {
"type": "string"
},
"tool_name": {
"type": "string"
},
"facts": {
"type": "string"
}
}
}
},
"unresolved_tool_calls": {
"type": "array",
"items": {
"type": "object",
"properties": {
"tool_call_id": {
"type": "string"
},
"tool_name": {
"type": "string"
}
}
}
}
}
}
}
},
"max_input_tokens": {
"type": "integer"
},
"keep_recent_turns": {
"type": "integer"
}
}
},
"kv_cache": {
"type": "object",
"properties": {
"mode": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"prompt_cache_key": {
"type": "string"
},
"prompt_cache": {
"type": "boolean"
},
"backend": {
"type": "string"
},
"mode": {
"type": "string"
},
"compiled_target": {
"type": "string"
},
"tool_choice": {
"type": "string"
}
}
}
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/antfly-post-ai-v1-chat-completions-request"
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.