Skip to main content
POST
Create a buffered or streaming chat completion

Authorizations

Authorization
string
header
required

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

Body

application/json
messages
object[]
required
Minimum array length: 1
model
string
required

Stable InferCrane endpoint name; migrated v1 deployment aliases remain compatible endpoints.

stream
boolean
default:false

Response

Buffered JSON or streaming SSE response

The response is of type object.