The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Retrieve a local session
3url: https://platform.claude.com/docs/en/api/compliance/apps/sessions/local/retrieve
4---
5
16# Retrieve a local session
27
38**GET** `/v1/compliance/apps/sessions/local/{local_session_id}`
from line 20
1520
1621## Headers
1722
23- `"anthropic-version": optional string`
24
25 The version of the Claude API you want to use.
26
27 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
28
1829- `"x-api-key": optional string`
1930
2031## Returns
2132
33- `type: "compliance_local_session"`
34
35 default: compliance_local_session
36
2237- `id: string`
2338
2439 Local session identifier, prefixed `clls_`. Unique within the parent organization. Treat as an opaque string; the format may change without notice.
from line 52
3752
3853 The product the session ran in: `cowork` (Cowork in Claude Desktop on the user's machine), `claude_code` (Claude Code), `claude_science` (Claude Science), or one of `office_agents/excel`, `office_agents/powerpoint`, `office_agents/word`, and `office_agents/outlook` (Claude for Microsoft 365, by app; `office_agents` alone when the app is not identified). New values appear as coverage expands; treat unrecognized values as opaque. `null` when the surface was not recorded.
3954
40- `type: "compliance_local_session"`
55- `truncated: boolean`
4156
42 default: compliance_local_session
57 True when the session has more inference calls than the service can return for one session (100,000). The messages endpoint then returns only the session's earliest calls, up to that many, and ends before the session does; `updated_at` is a lower bound on the latest call and can differ between the list and retrieve endpoints. False for every session within that bound.
58
59 default: false
4360
4461- `updated_at: string`
4562