Chat Completion Object
Fields
| Field | Type | Description |
|---|---|---|
| id | string | Unique identifier of the chat completion |
| choices | array | List of completion choices returned by the model |
| created | integer | Unix timestamp in seconds when the completion was created |
| model | string | Model used to generate the chat completion |
| object | string | Object type, always chat.completion |
| usage | object | Usage statistics for the request |
| completion_tokens | integer | Number of tokens in the generated completion |
| prompt_tokens | integer | Number of tokens in the prompt |
| total_tokens | integer | Total tokens used by the request (prompt + completion) |