Microsoft Azure API Management · Schema
ChatCompletionResponse
A2AAI GatewayAPI CenterAPI GatewayAPI ManagementEnterpriseMCPMicrosoft Azure
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| object | string | |
| created | integer | |
| model | string | |
| choices | array | |
| usage | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ChatCompletionResponse",
"type": "object",
"properties": {
"id": {
"type": "string",
"example": "chatcmpl-abc123def456"
},
"object": {
"type": "string",
"example": "chat.completion"
},
"created": {
"type": "integer",
"example": 1714000000
},
"model": {
"type": "string",
"example": "gpt-4o"
},
"choices": {
"type": "array",
"items": {
"type": "object",
"properties": {
"index": {
"type": "integer",
"example": 0
},
"message": {
"type": "object",
"properties": {
"role": {
"type": "string",
"example": "assistant"
},
"content": {
"type": "string",
"example": "Azure API Management is a hybrid, multicloud management platform for APIs across all environments."
}
}
},
"finish_reason": {
"type": "string",
"example": "stop"
}
}
}
},
"usage": {
"type": "object",
"properties": {
"prompt_tokens": {
"type": "integer",
"example": 24
},
"completion_tokens": {
"type": "integer",
"example": 18
},
"total_tokens": {
"type": "integer",
"example": 42
}
}
}
}
}