---
title: "Read the session log"
method: GET
path: "/api/experimental/session/{sessionID}/log"
tags: ["session"]
---

# Read the session log

`GET /api/experimental/session/{sessionID}/log`

## Request

- Base URL: `https://opencode.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://opencode.ai/api/experimental/session/{sessionID}/log`
- Auth: none required

Experimental durable session event log. Reads events after an exclusive aggregate sequence and continues with live events when follow=true.

## Path parameters

- `sessionID` string, required

## Query parameters

- `after` string
- `follow` 'true' | 'false', nullable

## Response `200`

Success

## Other responses

- `400`: InvalidRequestError
- `401`: UnauthorizedError
- `404`: SessionNotFoundError

## Changes

> 50 revisions in range; 1 not diffed.

- **2026-10-28** `079d83620443`: 1 info
  - api operation id `session.log` removed and replaced with `experimental.session.log`

[Operation history](https://skmtc.dev/kaaass/apis/opencode/changes/api/experimental/session/:sessionID/log/get.md)

---

[API](https://skmtc.dev/kaaass/apis/opencode.md) - [All operations](https://skmtc.dev/kaaass/apis/opencode/llms.txt) - [OpenAPI document](https://skmtc.dev/kaaass/apis/opencode/revisions/4e083d954707?raw)
