Skip to main content

CompletionObject

id string
Example: cmpl-8565e8d5db17438291a189255c36c558
object string
Example: text_completion
created number
Example: 1741570283
model string
Example: Llama-3.2-1B-Instruct
choices object[]
  • Array [
  • index number
    Example: 0
    text string
    Example: Paris. The French language is a Romance language and the official language of France.
    logprobs string
    prompt_logprobs string
    stop_reason string
    finish_reason string
    Example: length
  • ]
  • usage object
    prompt_tokens number
    Example: 6
    completion_tokens number
    Example: 16
    total_tokens number
    Example: 44
    prompt_tokens_details string
    CompletionObject
    {
    "id": "cmpl-8565e8d5db17438291a189255c36c558",
    "object": "text_completion",
    "created": 1741570283,
    "model": "Llama-3.2-1B-Instruct",
    "choices": [
    {
    "index": 0,
    "text": " Paris. The French language is a Romance language and the official language of France.",
    "finish_reason": "length"
    }
    ],
    "usage": {
    "prompt_tokens": 6,
    "completion_tokens": 16,
    "total_tokens": 44
    }
    }