AsyncAPI channel · Mistral AI · Mistral AI Streaming Completions API

/fim/completions

Streaming Fill-in-the-Middle (FIM) code completions powered by Codestral. Client POSTs a FimCompletionRequest with `stream: true`. The server responds with `Content-Type: text/event-stream` and emits a sequence of `chat.completion.chunk` events terminated by `data: [DONE]`.

Provider: Mistral AI AsyncAPI: v2.6.0 Spec: Mistral AI Streaming Completions API Operations: 1 Messages: 2

Channel address

/fim/completions

Operations

receiveFimCompletionStream
Receive streamed FIM completion chunks

Messages

FimCompletionChunk
One streamed delta from POST /fim/completions.
Content-Type: application/json
StreamDone
Sentinel marking end of SSE stream.
Content-Type: text/plain

About AsyncAPI

The AsyncAPI specification describes event-driven APIs the way OpenAPI describes request/response APIs. A channel is the named pipe — a webhook URL, a Kafka topic, a WebSocket route, an MQTT subject — that producers and consumers publish or subscribe to. Each channel carries one or more messages with structured payloads, and an operation declares whether a given party sends or receives on that channel.

Browse every event-driven channel on the APIs.io network or compare with the broader Naftiko capability, Agent Skill, and MCP server surfaces of the same providers.