v1

latestOpenAPI 3.0.32026-07-26451985.7 KB

Mistral

Send requests to any Mistral model by specifying the {model} placeholder in the path.

post/models/v2/mistral/{model}

Path parameters

modelstring required

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

Request body

textstring

Input text for NLP tasks.

urlstring uri

URL to image/audio/video.

base64string

Base64-encoded image/audio/video.

questionstring

Question (for QA tasks).

contextstring

Context paragraph (for QA tasks).

candidate_labelsstring[]

Candidate labels (for zero-shot).

streamboolean

Enable/disable text streaming.

jsonboolean

Stream media instead of JSON.

Response

Successful response from the model.

errorstring

Null if everything is fine