AsyncAPI channel · Fireworks AI
· Fireworks AI Streaming Inference API
/completions
OpenAI-compatible legacy text completions. When the request body sets
`stream: true`, the response is `text/event-stream`. Each event is a
`data:` line whose payload is a JSON `CompletionStreamResponse` chunk.
The stream terminates with `data: [DONE]`.
Provider:Fireworks AIAsyncAPI: v2.6.0Spec: Fireworks AI Streaming Inference APIOperations: 2Messages: 3
Channel address
/completions
Operations
publish
createTextCompletionStream
Open a text completion stream.
subscribe
streamTextCompletion
Receive text completion deltas as Server-Sent Events.
Messages
CompletionRequest
Body of POST /completions with stream=true.
Content-Type: application/json
CompletionChunk
A single `data:` SSE event carrying a token delta.
Content-Type: application/json
StreamDone
Final SSE line `data: [DONE]` closing an OpenAI-compatible 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.
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.