LLM Broker · Schema

ChatCompletionResponse

Company

Properties

Name Type Description
broker object Broker metadata of market-routed answers (never a provider name)
choices array
created integer
id string
model string The model you requested
object string
system_fingerprint string
usage object
View JSON Schema on GitHub

JSON Schema

llm-broker-net-chat-completion-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/llm-broker-net/json-schema/llm-broker-net-chat-completion-response-schema.json",
  "title": "ChatCompletionResponse",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/llm-broker-net-openapi.json#/components/schemas/ChatCompletionResponse",
  "properties": {
    "broker": {
      "description": "Broker metadata of market-routed answers (never a provider name)",
      "properties": {
        "cost": {
          "properties": {
            "amount": {
              "type": "string"
            },
            "amount_chf": {
              "type": "string"
            },
            "currency": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "receipt": {
          "properties": {
            "attempts": {
              "type": "integer"
            },
            "measured_at": {
              "type": "string"
            },
            "model": {
              "type": "string"
            },
            "request_id": {
              "type": "string"
            },
            "score": {
              "type": "object"
            },
            "substituted": {
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "region": {
          "type": "string"
        },
        "routing": {
          "description": "Applied routing (`category`, `level`)",
          "type": "object"
        }
      },
      "type": "object"
    },
    "choices": {
      "items": {
        "properties": {
          "finish_reason": {
            "enum": [
              "stop",
              "length",
              "tool_calls",
              "content_filter"
            ],
            "type": "string"
          },
          "index": {
            "type": "integer"
          },
          "message": {
            "properties": {
              "content": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reasoning_content": {
                "description": "Reasoning trace, if the model produced one",
                "type": "string"
              },
              "role": {
                "enum": [
                  "assistant"
                ],
                "type": "string"
              },
              "tool_calls": {
                "items": {
                  "type": "object"
                },
                "type": "array"
              }
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "created": {
      "type": "integer"
    },
    "id": {
      "type": "string"
    },
    "model": {
      "description": "The model you requested",
      "type": "string"
    },
    "object": {
      "enum": [
        "chat.completion"
      ],
      "type": "string"
    },
    "system_fingerprint": {
      "type": "string"
    },
    "usage": {
      "properties": {
        "completion_tokens": {
          "type": "integer"
        },
        "completion_tokens_details": {
          "properties": {
            "reasoning_tokens": {
              "type": "integer"
            }
          },
          "type": "object"
        },
        "prompt_tokens": {
          "type": "integer"
        },
        "prompt_tokens_details": {
          "properties": {
            "cached_tokens": {
              "type": "integer"
            }
          },
          "type": "object"
        },
        "total_tokens": {
          "type": "integer"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "id",
    "object",
    "choices"
  ],
  "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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/llm-broker-net-chat-completion-response"
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.