AsyncAPI channel · AI21 Labs
· AI21 Studio Streaming API
chat/completions
Jamba chat completions stream. Clients POST a chat completion request with `stream: true` to `https://api.ai21.com/studio/v1/chat/completions` and the server responds with a `text/event-stream` body. Each `data:` line carries one JSON chunk; the final event is the literal string `[DONE]`.
Provider:AI21 LabsAsyncAPI: v2.6.0Spec: AI21 Studio Streaming APIOperations: 2Messages: 3
Channel address
chat/completions
Operations
publish
publishChatCompletionRequest
Open a streamed Jamba chat completion
subscribe
subscribeChatCompletionStream
Receive streamed Jamba chat completion chunks
Messages
ChatCompletionStreamRequest
Open the SSE stream for a Jamba chat completion.
Content-Type: application/json
ChatCompletionChunk
One Server-Sent Event carrying a partial chat completion.
Content-Type: application/json
ChatCompletionDone
Stream terminator event.
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.
Discovery needs no key. Ratings and market analysis are Pro.
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.