---
title: "Get session log content"
method: GET
path: "/session_logs/{id}/content"
tags: ["Session Logs"]
---

# Get session log content

`GET /session_logs/{id}/content`

Returns the raw text content of a session log file.

## Path parameters

- `id` integer, required

## Response `200`

Raw log text.

## Other responses

- `403` — Not authorized.
- `404` — Session log or file not found.
- `500` — Failed to read session log.

---

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