The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: List local sessions
3url: https://platform.claude.com/docs/en/api/compliance/apps/sessions/local/list
4---
5
16# List local sessions
27
38**GET** `/v1/compliance/apps/sessions/local`
from line 48
4348
4449## Headers
4550
51- `"anthropic-version": optional string`
52
53 The version of the Claude API you want to use.
54
55 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
56
4657- `"x-api-key": optional string`
4758
4859## Returns
from line 62
5162
5263 Page of local sessions, ordered by `created_at` descending; ties are broken by a fixed server-side order. `updated_at` never participates in the ordering; the `updated_at.gte` query parameter filters on it without changing the order or the pagination cursor.
5364
65 - `type: "compliance_local_session"`
66
67 default: compliance_local_session
68
5469 - `id: string`
5570
5671 Local session identifier, prefixed `clls_`. Unique within the parent organization. Treat as an opaque string; the format may change without notice.
from line 84
6984
7085 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.
7186
72 - `type: "compliance_local_session"`
87 - `truncated: boolean`
7388
74 default: compliance_local_session
89 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.
90
91 default: false
7592
7693 - `updated_at: string`
7794