List local sessions changedapi/compliance/apps/sessions/local/list
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+25added
Lines−18removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits12to this page, all time
# List local sessions ## Query parameters ## Headers ## Returns ## Example ### Response (200) ## List local sessions ### Query Parameters ### Header Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: List local sessions
3url: https://platform.claude.com/docs/en/api/compliance/apps/sessions/local/list
4---
1# List local sessions
52
6## List local sessions
3**GET** `/v1/compliance/apps/sessions/local`
74
8**get** `/v1/compliance/apps/sessions/local`
9
105List local sessions across the organizations the key may read.
116
127Results are ordered by `created_at` descending. Pagination is
138forward-only via `next_page`; there is no reverse cursor.
149
15### Query Parameters
10## Query parameters
1611
17- `created_at: optional object { gte, lt }`
12- `created_at: optional object`
1813
1914 - `gte: optional string`
2015
2116 Only return sessions whose first inference call is at or after this time (RFC 3339; a UTC offset is required).
2217
18 format: date-time
19
2320 - `lt: optional string`
2421
2522 Only return sessions whose first inference call is strictly before this time (RFC 3339; a UTC offset is required).
2623
24 format: date-time
25
2726- `limit: optional number`
2827
2928 Maximum results (default: 100, max: 500)
3029
30 default: 100, maximum: 500, minimum: 1
31
3132- `page: optional string`
3233
3334 Opaque pagination token from a previous response's `next_page` field. Pass this to retrieve the next page of results. Clients should treat this value as an opaque string and not attempt to parse or interpret its contents, as the format may change without notice.
3435
35- `updated_at: optional object { gte }`
36- `updated_at: optional object`
3637
3738 - `gte: optional string`
3839
3940 Only return sessions whose last inference call is at or after this time (RFC 3339; a UTC offset is required). Combines with `created_at.gte` / `created_at.lt`; the ordering and pagination are unchanged. Use it to poll for sessions that have been active since a previous pass — a session that becomes active later can only enter the result, never leave it.
4041
41### Header Parameters
42 format: date-time
4243
44## Headers
45
4346- `"x-api-key": optional string`
4447
45### Returns
48## Returns
4649
47- `data: array of object { id, created_at, organization_uuid, 5 more }`
50- `data: array of object`
4851
4952 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.
5053
from line 59
5659
5760 Timestamp of the session's first retained inference call (RFC 3339, UTC). When a session's activity spans the child organization's retention boundary, calls older than the boundary are no longer reflected, so this value is the timestamp of the earliest retained call: always strictly after the boundary, never the boundary itself.
5861
62 format: date-time
63
5964 - `organization_uuid: string`
6065
6166 UUID of the child organization the session belongs to
from line 71
6671
6772 - `type: "compliance_local_session"`
6873
69 - `"compliance_local_session"`
74 default: compliance_local_session
7075
7176 - `updated_at: string`
7277
7378 Timestamp of the session's last retained inference call (RFC 3339, UTC). Always at or after `created_at`. When a session's activity spans the child organization's retention boundary, calls older than the boundary are no longer reflected — but because retention removes only the oldest calls, this value (unlike `created_at`) is unaffected until the entire session has aged out. On the list endpoint this value is a lower bound: for a session still active at a page or `created_at.lt` window boundary it can momentarily lag the session's true last activity. Retrieving the session, or its messages, always reflects the exact latest retained call.
7479
75 - `user: object { id, email_address }`
80 format: date-time
7681
82 - `user: object`
83
7784 The authenticated user at the time of the session. Always set; `user.id` is always populated. `user.email_address` is null when the user's account has been deleted or the user is no longer a member of an organization the key may read.
7885
7986 - `id: string`
from line 99
9299
93100 Opaque pagination cursor (prefixed `page_`) for the next page. Null when there is no further page. Treat as an opaque string; the format may change without notice.
94101
95### Example
102## Example
96103
97```http
104```bash
98105curl https://api.anthropic.com/v1/compliance/apps/sessions/local \
99106 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
100107```
101108
102#### Response
109### Response (200)
103110
104111```json
105112{
No line in this hunk matches that.