data: {
  "id": "cmpl-26a1e10db8544bc3adb488d2d205288b",
  "model": "meta-llama-3.1-8b-instruct",
  "object": "text_completion",
  "choices": [
    {
      "index": 0,
      "text": " such",
      "token": 1778,
      "finish_reason": null,
      "logprobs": null
    }
  ],
  "created": 1733382157
}

data: {
  "id": "cmpl-26a1e10db8544bc3adb488d2d205288b",
  "model": "meta-llama-3.1-8b-instruct",
  "object": "text_completion",
  "choices": [
    {
      "index": 0,
      "text": " as",
      "token": 439,
      "finish_reason": null,
      "logprobs": null
    }
  ],
  "created": 1733382157
}

...

data: {
  "id": "cmpl-26a1e10db8544bc3adb488d2d205288b",
  "model": "meta-llama-3.1-8b-instruct",
  "object": "text_completion",
  "choices": [
    {
      "index": 0,
      "text": "",
      "finish_reason": "length",
      "logprobs": null
    }
  ],
  "created": 1733382157
}

data: {
  "id": "cmpl-26a1e10db8544bc3adb488d2d205288b",
  "model": "meta-llama-3.1-8b-instruct",
  "object": "text_completion",
  "choices": [],
  "usage": {
    "prompt_tokens": 5,
    "completion_tokens": 10,
    "total_tokens": 15
  },
  "created": 1733382157
}

data: [DONE]
data: {
  "id": "cmpl-26a1e10db8544bc3adb488d2d205288b",
  "model": "meta-llama-3.1-8b-instruct",
  "object": "text_completion",
  "choices": [
    {
      "index": 0,
      "text": " such",
      "token": 1778,
      "finish_reason": null,
      "logprobs": null
    }
  ],
  "created": 1733382157
}

data: {
  "id": "cmpl-26a1e10db8544bc3adb488d2d205288b",
  "model": "meta-llama-3.1-8b-instruct",
  "object": "text_completion",
  "choices": [
    {
      "index": 0,
      "text": " as",
      "token": 439,
      "finish_reason": null,
      "logprobs": null
    }
  ],
  "created": 1733382157
}

...

data: {
  "id": "cmpl-26a1e10db8544bc3adb488d2d205288b",
  "model": "meta-llama-3.1-8b-instruct",
  "object": "text_completion",
  "choices": [
    {
      "index": 0,
      "text": "",
      "finish_reason": "length",
      "logprobs": null
    }
  ],
  "created": 1733382157
}

data: {
  "id": "cmpl-26a1e10db8544bc3adb488d2d205288b",
  "model": "meta-llama-3.1-8b-instruct",
  "object": "text_completion",
  "choices": [],
  "usage": {
    "prompt_tokens": 5,
    "completion_tokens": 10,
    "total_tokens": 15
  },
  "created": 1733382157
}

data: [DONE]
id
string
required

A unique ID of the completion.

object
string
required

The object type, which is always set to text_completion.

model
string
required

The model to generate the completion.

choices
object[]
required
usage
object | null
created
integer
required

The Unix timestamp (in seconds) for when the token sampled.