---
title: "List Messages"
method: GET
path: "/agent/sessions/{session_id}/messages"
---

# List Messages

`GET /agent/sessions/{session_id}/messages`

List a session's messages in chronological order.

## Path parameters

- `session_id` string, required

## Response `200`

Successful Response

- AgentMessage[]
  - `id` string, required
  - `session_id` string, required
  - `role` string, required — user | assistant | system
  - `content` object, required
  - `created_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ionworks/apis/fastapi.md) · [All operations](https://skmtc.dev/ionworks/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ionworks/fastapi/revisions/7337a3cbdaf2/schema)
