---
title: "Get session messages"
method: GET
path: "/workspaces/{id}/sessions/{sid}/messages"
tags: ["sessions"]
---

# Get session messages

`GET /workspaces/{id}/sessions/{sid}/messages`

## Path parameters

- `id` string, required
- `sid` string, required

## Response `200`

OK

- GithubComCharmbraceletCrushInternalProtoMessage[]
  - `created_at` integer
  - `id` string
  - `model` string
  - `parts` unknown[]
    - unknown
  - `provider` string
  - `role` 'assistant' | 'user' | 'system' | 'tool'
  - `session_id` string
  - `updated_at` integer

## Other responses

- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/charmbracelet/apis/crush-api.md) · [All operations](https://skmtc.dev/charmbracelet/apis/crush-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/charmbracelet/crush-api/revisions/81bee9ef86c6/schema)
