POST
/
models
/
v2
/
mistral
/
{model}

Authorizations

Authorization
string
header
required

Provide your API key as Key your-key-here in the Authorization header.

Provider-Key
string
header
required

Provide your provider API key as Provider-Key your-provider-key-here in the header.

Path Parameters

model
string
required

The specific Mistral model to interact with (e.g., mistral-small-latest).

Body

application/json
messages
object[]
required

Messages to process.

params
object
required
stream
boolean

Enable or disable streaming responses.

Response

200 - application/json
output
string

Model output text.