ChatGPT · Schema

ChatGPT Chat Completion

Schema for an OpenAI Chat Completion response object. Represents a chat completion generated by the model, including the generated message choices, token usage, and metadata.

AgentsAIChatGPTEmbeddingsFine-TuningGPT-4GPT-5Language ModelOpenAIRealtime

Properties

Name Type Description
id string A unique identifier for the chat completion, prefixed with 'chatcmpl-'
object string The object type, which is always 'chat.completion'
created integer The Unix timestamp (in seconds) of when the chat completion was created
model string The model used for the chat completion (e.g., 'gpt-4o-2024-08-06')
choices array A list of chat completion choices. Can be more than one if n is greater than 1.
usage object Usage statistics for the completion request
system_fingerprint string Fingerprint representing the backend configuration the model runs with. Can be used with the seed parameter to understand when backend changes have been made.
service_tier string The service tier used for processing the request
View JSON Schema on GitHub