Skip to main content
POST
Create a chat completion

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
string
required

ID of the model to use

Example:

"internta-v02"

messages
object[]
required

A list of messages comprising the conversation

Response

200 - application/json

Successful response

id
string

A unique identifier for the completion

Example:

"chatcmpl-1753709210352"

object
string

The object type

Example:

"chat.completion"

created
integer

The Unix timestamp (in seconds) of when the completion was created

Example:

1753709210

model
string

The model used for the completion

Example:

"internta-v02"

choices
object[]

A list of completion choices

usage
object

Usage statistics for the completion request

system_fingerprint
string

This fingerprint represents the backend configuration that the model runs with

Example:

"fp_2f57f81c11"