---
title: "Read a session's turns, newest first, across Chat and Terminal"
method: GET
path: "/api/v1/sessions/{sessionId}/history"
tags: ["conversations"]
---

# Read a session's turns, newest first, across Chat and Terminal

`GET /api/v1/sessions/{sessionId}/history`

## Request

- Base URL: `http://127.0.0.1:3001`
- URL: `http://127.0.0.1:3001/api/v1/sessions/{sessionId}/history`
- Auth: none declared

## Path parameters

- `sessionId` string, required: Session identifier, e.g. project-1.

## Query parameters

- `offset` integer: Number of newest turns to skip.
- `limit` integer: Maximum turns to return. Defaults to 10.

## Response `200`

OK

- SessionHistoryResponse
  - `offset` integer, required
  - `total` integer, required
  - `turns` SessionHistoryTurn[], required
    - `agentResponse` string, required
    - `at` string, date-time, required
    - `harness` string
    - `userRequest` string, required

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error
- `501`: Not Implemented

## Changes

- **2026-10-21** `8f160e6183cd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/changes/api/v1/sessions/:sessionId/history/get.md)

---

[API](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon.md) - [All operations](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/llms.txt) - [OpenAPI document](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/revisions/3a5588b32f85?raw)
