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. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ResponseOutputContentPart",
"title": "ResponseOutputContentPart",
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"description": "The type of the content part.",
"enum": [
"output_text",
"refusal"
],
"example": "output_text"
},
"text": {
"type": "string",
"description": "The text content.",
"example": "example_value"
},
"refusal": {
"type": "string",
"description": "The refusal text.",
"example": "example_value"
},
"annotations": {
"type": "array",
"description": "Annotations on the text, such as citations from file\nsearch or web search.\n",
"items": {
"$ref": "#/components/schemas/Annotation"
},
"example": []
}
}
}