{ "$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 } } } } }