Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.326 Latest v2.1.332 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Retrieve local session messages changedapi/compliance/apps/sessions/local/messages/list

Nearest release: v2.1.323, published under an hour before 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+6added
Lines−6removed
From line 64 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits19to this page, all time

The whole hunk

from line 64, old and new numbered
/
lines
from line 64
6464 
6565## Headers
6666 
67- `"anthropic-version": optional string`
67- `"anthropic-version": string`
6868 
69 The version of the Claude API you want to use.
69 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
7070 
71 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
71 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
7272 
7373- `"x-api-key": optional string`
7474 
from line 298
298298 
299299```bash
300300curl https://api.anthropic.com/v1/compliance/apps/sessions/local/$LOCAL_SESSION_ID/messages \
301 -H 'anthropic-version: 2023-06-01' \
301 -H 'anthropic-version: 2026-10-21' \
302302 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
303303```
304304 
Feedback