List chat completions

GET /chat/completions

Lists the completions of your workspace that were created with store: true, oldest first by default. Page with after and limit.

GET
/chat/completions

Authorization

AuthorizationBearer <token>

Your Munito API key.

In: header

Query Parameters

model?string

Only completions of this model.

metadata?

Only completions whose metadata holds each given pair, as metadata[key1]=value1&metadata[key2]=value2.

after?string

The id of the last completion of the previous page.

limit?integer

The number of completions to return, from 1 to 100.

Default20
order?string

Sort by creation time.

Default"asc"

Value in

  • "asc"
  • "desc"

Response Body

application/json

curl -X GET "https://example.com/chat/completions"
{
  "object": "list",
  "data": [
    {
      "id": "chatcmpl-7f3c1a",
      "object": "chat.completion",
      "model": "qwen/qwen3.8-27b",
      "metadata": {
        "team": "research"
      },
      "choices": [
        {
          "index": 0,
          "message": {
            "role": "assistant",
            "content": "Data residency keeps every token in the EU."
          },
          "finish_reason": "stop"
        }
      ],
      "usage": {
        "prompt_tokens": 12,
        "completion_tokens": 9,
        "total_tokens": 21
      }
    }
  ],
  "first_id": "chatcmpl-7f3c1a",
  "last_id": "chatcmpl-7f3c1a",
  "has_more": false
}