---
title: "List the messages of a stored chat completion"
method: GET
path: "/v1/chat/completions/{completion_id}/messages"
tags: ["chat"]
---

# List the messages of a stored chat completion

`GET /v1/chat/completions/{completion_id}/messages`

List the request messages a stored completion was created with.

A stored completion keeps the full conversation it was asked with, so the
latest completion of a conversation reconstructs the entire history; the
completion's own answer is its choice message, not part of this list.

## Path parameters

- `completion_id` string, required — ID of the chat completion

## Response `200`

The stored request messages, oldest first

- CompletionMessageList — The stored request messages of a completion, oldest first. A stored completion keeps the full conversation it was asked with, so the latest completion of a conversation carries the entire history; its answer is the completion's own choice message, not part of this list.
  - `object` 'list'
  - `data` union[]
    - union
      - SystemMessage
        - `role` 'system', required
        - `content` union, required
          - string
          - TextPart[]
            - `type` 'text'
            - `text` string, required
      - DeveloperMessage — Alias of the system role; forwarded to the provider as system instructions.
        - `role` 'developer', required
        - `content` union, required
          - string
          - TextPart[]
            - `type` 'text'
            - `text` string, required
      - UserMessage
        - `role` 'user', required
        - `content` union, required
          - string
          - TextPart[]
            - `type` 'text'
            - `text` string, required
      - AssistantMessageOutput
        - `role` 'assistant', required
        - `content` union
          - string
          - TextPart[]
            - `type` 'text'
            - `text` string, required
        - `tool_calls` MessageToolCall[]
          - `id` string, required
          - `type` 'function'
          - `function` ToolCallFunction, required
            - `name` string, required
            - `arguments` string, required
        - `reasoning_content` string, nullable
      - ToolMessage — Result of a function tool call, sent back by the caller.
        - `role` 'tool', required
        - `content` union, required
          - string
          - TextPart[]
            - `type` 'text'
            - `text` string, required
        - `tool_call_id` string, required
  - `has_more` boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mixedbread/apis/mxbai-omni.md) · [All operations](https://skmtc.net/mixedbread/apis/mxbai-omni/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixedbread/mxbai-omni/revisions/6dac6bb49f72/schema)
