| Field | Type | Required | Description |
|---|---|---|---|
choices |
List[models.CompletionsChoice] | ✔️ | N/A |
id |
str | ✔️ | A unique ID of the completion. |
object |
Literal["text_completion"] | ✔️ | The object type, which is always set to text_completion. |
usage |
models.Usage | ✔️ | N/A |
model |
OptionalNullable[str] | ➖ | The model to generate the completion. For dedicated endpoints, it returns the endpoint id. |