Represents a completion response object returned by the API. Note: the streamed and non-streamed response objects share the same structure (unlike the chat endpoint).| Parameter | Type | Description |
|---|
| id | string | Unique identifier for the completion |
| choices | array | List of completion choices the model generated for the input prompt |
| created | integer | Unix timestamp (in seconds) of when the completion was created |
| model | string | The model used for the completion |
| system_fingerprint | string | This fingerprint represents the backend configuration the model runs with |
| object | string | The object type, always "text_completion" |
| usage | object | Usage statistics for the completion request |
| completion_tokens | integer | Number of tokens in the generated completion |
| prompt_tokens | integer | Number of tokens in the prompt |
| total_tokens | integer | Total number of tokens used in the request (prompt + completion) |
{
"id": "cmpl-uqkvlQyYK7bGYrRHQ0eXlWi7",
"object": "text_completion",
"created": 1589478378,
"model": "gpt-3.5-turbo",
"choices": [
{
"text": "\n\nThis is indeed a test",
"index": 0,
"logprobs": null,
"finish_reason": "length"
}
],
"usage": {
"prompt_tokens": 5,
"completion_tokens": 7,
"total_tokens": 12
}
}
Note: the catalog currently has no completions-only model (gpt-3.5-turbo-instruct has been retired). For new integrations, use /v1/chat/completions or /v1/responses.
Last verified/modified: 2026-09-28 (added note that there is currently no completions-only model)
Modified at 2026-09-28 12:54:26