Retrieve a local session changedapi/compliance/apps/sessions/local/retrieve
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+4added
Lines−4removed
From line
20
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits13to this page, all time
The whole hunk
from line 20, old and new numbered
/
from line 20
2020
2121## Headers
2222
23- `"anthropic-version": optional string`
23- `"anthropic-version": string`
2424
25 The version of the Claude API you want to use.
25 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`.
2626
27 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
27 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
2828
2929- `"x-api-key": optional string`
3030
from line 84
8484
8585```bash
8686curl https://api.anthropic.com/v1/compliance/apps/sessions/local/$LOCAL_SESSION_ID \
87 -H 'anthropic-version: 2023-06-01' \
87 -H 'anthropic-version: 2026-10-21' \
8888 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
8989```
9090
No line in this hunk matches that.