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

# Get session history

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

## Path parameters

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

## Response `200`

OK

- ProtoFile[]
  - `content` string
  - `created_at` integer
  - `id` string
  - `path` string
  - `session_id` string
  - `updated_at` integer
  - `version` 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)
