Helicone · Schema

ChatCompletion

Represents a chat completion response returned by model, based on the provided input.

AI GatewaysAI MonitoringGatewaysLLM ObservabilityLLM RoutingPrompt Management

Properties

Name Type Description
id string A unique identifier for the chat completion.
choices array A list of chat completion choices. Can be more than one if `n` is greater than 1.
created number The Unix timestamp (in seconds) of when the chat completion was created.
model string The model used for the chat completion.
object string The object type, which is always `chat.completion`.
service_tier string Specifies the processing type used for serving the request. - If set to 'auto', then the request will be processed with the service tier configured in the Project settings. Unless otherwise configured
system_fingerprint string This fingerprint represents the backend configuration that the model runs with. Can be used in conjunction with the `seed` request parameter to understand when backend changes have been made that migh
usage object Usage statistics for the completion request.
View JSON Schema on GitHub

JSON Schema

helicone-chatcompletion-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ChatCompletion",
  "title": "ChatCompletion",
  "description": "Represents a chat completion response returned by model, based on the provided\ninput.",
  "properties": {
    "id": {
      "type": "string",
      "description": "A unique identifier for the chat completion."
    },
    "choices": {
      "items": {
        "$ref": "#/components/schemas/ChatCompletion.Choice"
      },
      "type": "array",
      "description": "A list of chat completion choices. Can be more than one if `n` is greater\nthan 1."
    },
    "created": {
      "type": "number",
      "format": "double",
      "description": "The Unix timestamp (in seconds) of when the chat completion was created."
    },
    "model": {
      "type": "string",
      "description": "The model used for the chat completion."
    },
    "object": {
      "type": "string",
      "enum": [
        "chat.completion"
      ],
      "nullable": false,
      "description": "The object type, which is always `chat.completion`."
    },
    "service_tier": {
      "type": "string",
      "enum": [
        "auto",
        "default",
        "flex",
        "scale",
        "priority",
        null
      ],
      "nullable": true,
      "description": "Specifies the processing type used for serving the request.\n\n- If set to 'auto', then the request will be processed with the service tier\n  configured in the Project settings. Unless otherwise configured, the Project\n  will use 'default'.\n- If set to 'default', then the request will be processed with the standard\n  pricing and performance for the selected model.\n- If set to '[flex](https://platform.openai.com/docs/guides/flex-processing)' or\n  'priority', then the request will be processed with the corresponding service\n  tier. [Contact sales](https://openai.com/contact-sales) to learn more about\n  Priority processing.\n- When not set, the default behavior is 'auto'.\n\nWhen the `service_tier` parameter is set, the response body will include the\n`service_tier` value based on the processing mode actually used to serve the\nrequest. This response value may be different from the value set in the\nparameter."
    },
    "system_fingerprint": {
      "type": "string",
      "description": "This fingerprint represents the backend configuration that the model runs with.\n\nCan be used in conjunction with the `seed` request parameter to understand when\nbackend changes have been made that might impact determinism."
    },
    "usage": {
      "$ref": "#/components/schemas/CompletionUsage",
      "description": "Usage statistics for the completion request."
    }
  },
  "required": [
    "id",
    "choices",
    "created",
    "model",
    "object"
  ],
  "type": "object",
  "additionalProperties": false
}

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/helicone-chatcompletion"
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.