ChatGPT · Schema

ResponseOutputContentPart

AgentsAIChatGPTEmbeddingsFine-TuningGPT-4GPT-5Language ModelOpenAIRealtime

Properties

Name Type Description
type string The type of the content part.
text string The text content.
refusal string The refusal text.
annotations array Annotations on the text, such as citations from file search or web search.
View JSON Schema on GitHub

JSON Schema

chatgpt-responses-response-output-content-part-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ResponseOutputContentPart",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "The type of the content part."
    },
    "text": {
      "type": "string",
      "description": "The text content."
    },
    "refusal": {
      "type": "string",
      "description": "The refusal text."
    },
    "annotations": {
      "type": "array",
      "description": "Annotations on the text, such as citations from file\nsearch or web search.\n"
    }
  }
}