Mistral AIMistral AI API
POST/v1/fim/completions
Manage fim Completion V1 Fim Completions Post.
Contract-preserving POST Endpoint for fim Completion V1 Fim 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
fimCompletionV1FimCompletionsPost- Server
https://api.mistral.ai- Authentication
- ApiKey
Request parameters
No URL, query, or header parameters.
Request body
FIMCompletionRequestrequired
Content-Type: application/json
Properties: max_tokensmetadatamin_tokensmodelpromptprompt_cache_keyrandom_seedstopstreamsuffixtemperaturetop_p
Responses
200
FIMCompletionResponseapplication/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