Mistral AIMistral AI API
POST/v1/chat/completions
Manage chat Completion V1 Chat Completions Post.
Contract-preserving POST Endpoint for chat Completion V1 Chat Completions Post in the Mistral AI API. Model and resource-specific values are supplied by the caller at runtime.
All 238 ApiKey-authenticated Mistral AI Platform REST endpoints from a fixed Apache-2.0-licensed official revision, including typed SSE streaming and Workflows. Hub provides documentation and an independent SDK/CLI, but never proxies model, account, or usage data; callers connect directly with local API keys.
Request
- operationId
chatCompletionV1ChatCompletionsPost- Server
https://api.mistral.ai- Authentication
- ApiKey
Request parameters
No URL, query, or header parameters.
Request body
ChatCompletionRequestrequired
Content-Type: application/json
Properties: frequency_penaltyguardrailsmax_tokensmessagesmetadatamodelnparallel_tool_callspredictionpresence_penaltyprompt_cache_keyprompt_moderandom_seedreasoning_effortresponse_formatsafe_promptservice_tierstopstreamtemperaturetool_choicetoolstop_p
Responses
200
ChatCompletionResponseapplication/jsontext/event-stream
Successful supplier response.
422
HTTPValidationErrorapplication/json
Supplier response with HTTP status 422.
Properties: detail
Stream events
Unknown events: Preserved as raw payloads for forward compatibility.
message
Data format: Textunknown