Skip to main content
The current implementation supports the text and message subset. Streaming emits response.output_text.delta events and ends with response.completed.
File inputs, background mode, conversations, and hosted tools are not currently supported.

Send a request

Request fields

Response

The response object has an id, status (completed, failed, or in_progress), the model, an output array, and a usage object with input_tokens, output_tokens, and total_tokens.

Chat Completions or Responses?