Retrieve a chat completion

GET /chat/completions/{completion_id}

Returns a completion that was created with store: true or with Prefer: respond-async. A background completion answers 202 until it finishes. Pass ?stream=true to attach to its live stream, and send Last-Event-ID to resume after that event.

GET
/chat/completions/{completion_id}

Authorization

AuthorizationBearer <token>

Your Munito API key.

In: header

Path Parameters

completion_id*string

The completion id, e.g. chatcmpl-7f3c1a.

Query Parameters

stream?boolean

Attach to the live stream of a background completion.

Response Body

curl -X GET "https://example.com/chat/completions/string"
Empty