John\'s Essentials · Schema
OAIChatRequest
File ProcessingAI ToolsAutomationDocument ManagementMedia Conversion
Properties
| Name | Type | Description |
|---|---|---|
| max_tokens | integer | |
| messages | array | |
| model | string | `johns-agent` (default — runs our orchestrator with the full tool catalogue). `johns-fast` and `johns-smart` are accepted aliases reserved for low-latency / high-quality routes; today they and any oth |
| stop | object | string | string[] |
| stream | boolean | |
| temperature | number | |
| tool_choice | object | "auto" | "none" | { "type": "function", "function": { "name": "x" } } |
| tools | array | When present, BYPASSES our orchestrator and calls the LLM provider directly with your tool definitions. Response will include `tool_calls` in the OpenAI shape; you execute the tools on your side. ~40× |
| user | string | End-user identifier for abuse tracking. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/johnsessentials-com/json-schema/johnsessentials-com-oaichat-request-schema.json",
"title": "OAIChatRequest",
"x-generated": "2026-11-13",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/johnsessentials-com-openapi.json#/components/schemas/OAIChatRequest",
"properties": {
"max_tokens": {
"minimum": 1,
"type": "integer"
},
"messages": {
"items": {
"$ref": "#/$defs/OAIMessage"
},
"minItems": 1,
"type": "array"
},
"model": {
"description": "`johns-agent` (default — runs our orchestrator with the full tool\ncatalogue). `johns-fast` and `johns-smart` are accepted aliases\nreserved for low-latency / high-quality routes; today they and\nany other value (e.g. `gpt-4o`) route through the same\nhealth-ordered provider pool. Treat `model` as a\nforward-compatible hint — your code keeps working unchanged.\n",
"type": "string"
},
"stop": {
"description": "string | string[]"
},
"stream": {
"default": false,
"type": "boolean"
},
"temperature": {
"maximum": 2,
"minimum": 0,
"type": "number"
},
"tool_choice": {
"description": "\"auto\" | \"none\" | { \"type\": \"function\", \"function\": { \"name\": \"x\" } }"
},
"tools": {
"description": "When present, BYPASSES our orchestrator and calls the LLM\nprovider directly with your tool definitions. Response will\ninclude `tool_calls` in the OpenAI shape; you execute the\ntools on your side. ~40× cheaper per request than the\norchestrator path.\n",
"items": {
"$ref": "#/$defs/OAITool"
},
"type": "array"
},
"user": {
"description": "End-user identifier for abuse tracking.",
"type": "string"
}
},
"required": [
"model",
"messages"
],
"type": "object",
"$defs": {
"OAIFunctionDef": {
"properties": {
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"parameters": {
"description": "JSON Schema for the function's arguments.",
"type": "object"
}
},
"required": [
"name"
],
"type": "object"
},
"OAIMessage": {
"properties": {
"content": {
"description": "string OR array of content parts."
},
"name": {
"type": "string"
},
"role": {
"enum": [
"system",
"user",
"assistant",
"tool"
],
"type": "string"
},
"tool_call_id": {
"type": "string"
},
"tool_calls": {
"items": {
"$ref": "#/$defs/OAIToolCall"
},
"type": "array"
}
},
"required": [
"role"
],
"type": "object"
},
"OAITool": {
"properties": {
"function": {
"$ref": "#/$defs/OAIFunctionDef"
},
"type": {
"enum": [
"function"
],
"type": "string"
}
},
"required": [
"type",
"function"
],
"type": "object"
},
"OAIToolCall": {
"properties": {
"function": {
"properties": {
"arguments": {
"description": "JSON-encoded string per OpenAI's wire shape — NOT an object.",
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"arguments"
],
"type": "object"
},
"id": {
"type": "string"
},
"type": {
"enum": [
"function"
],
"type": "string"
}
},
"required": [
"id",
"type",
"function"
],
"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/johnsessentials-com-oaichat-request"
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.