Info
Response media type added
openapi:POST /completions::response.200.text.event-stream.body- Product
- OpenAI API
- Source
- OpenAPI URL
- Change kind
- Response Media Type Added
- Detected
- Last updated
Deterministic evidence
Before / after
Extracted from OpenAI's published contract. Shows the schema the change belongs to. Open the source ↗
null
{
"properties": {
"choices": {
"items": {
"properties": {
"finish_reason": {
"anyOf": [
{
"enum": [
"stop",
"length",
"content_filter"
],
"type": "string"
},
{
"type": "null"
}
]
},
"index": {
"type": "integer"
},
"logprobs": {
"anyOf": [
{
"properties": {
"text_offset": {
"items": {
"type": "integer"
},
"type": "array"
},
"token_logprobs": {
"items": {
"type": "number"
},
"type": "array"
},
"tokens": {
"items": {
"type": "string"
},
"type": "array"
},
"top_logprobs": {
"items": {
"additionalProperties": {
"type": "number"
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"text": {
"type": "string"
}
},
"required": [
"finish_reason",
"index",
"logprobs",
"text"
],
"type": "object"
},
"type": "array"
},
"created": {
"format": "unixtime",
"type": "integer"
},
"id": {
"type": "string"
},
"model": {
"type": "string"
},
"object": {
"enum": [
"text_completion"
],
"type": "string",
"x-stainless-const": true
},
"system_fingerprint": {
"type": "string"
},
"usage": {
"$ref": "#/components/schemas/CompletionUsage"
}
},
"required": [
"id",
"object",
"created",
"model",
"choices"
],
"type": "object",
"x-oaiMeta": {
"legacy": true,
"name": "The completion object"
}
}
Monitored for you
Does this change affect your integration?
Choose the operations and fields your services use. Detektu matches OpenAI findings to that declared usage so your team can review the relevant evidence. No agent or repository access required.