---
title: "Get Super Agent Session History"
method: GET
path: "/super-agent/sessions/{sessionId}/messages"
tags: ["Super Agent"]
---

# Get Super Agent Session History

`GET /super-agent/sessions/{sessionId}/messages`

Retrieves all messages for a given super agent chat session. Session must belong to user's organization.

## Path parameters

- `sessionId` string, required

## Response `200`

Session messages retrieved successfully

- SuperAgentSessionHistoryResponse
  - `session_id` string — The session ID
  - `title` string — Session title
  - `status` string — Current session status
  - `messages` SuperAgentMessage[] — List of messages in the session
    - `id` string — Unique identifier of the message
    - `session_id` string — ID of the session this message belongs to
    - `content` string — The message content
    - `role` 'user' | 'assistant' — The role of the message sender
    - `timestamp` string, date-time — When the message was created
    - `metadata` object — Additional metadata associated with the message

## Other responses

- `401` — Valid user-level API key required
- `403` — Session does not belong to user's organization
- `404` — Session not found
- `default` — Unexpected error

---

[API](https://skmtc.net/attention/apis/attention-service-v2.md) · [All operations](https://skmtc.net/attention/apis/attention-service-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/attention/attention-service-v2/revisions/5de55d3804cf/schema)
