ChatGPT · Example Payload

Chatgpt Chat Completions Chat Completion Message Example

AgentsAIChatGPTEmbeddingsFine-TuningGPT-4GPT-5Language ModelOpenAIRealtime

Chatgpt Chat Completions Chat Completion Message Example is an example object payload from ChatGPT, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

rolecontentnametool_callstool_call_idrefusal

Example Payload

Raw ↑
{
  "role": "example_value",
  "content": "example_value",
  "name": "Example Title",
  "tool_calls": [],
  "tool_call_id": "500123",
  "refusal": "example_value"
}