Local changedapi/compliance/apps/sessions/local
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+18added
Lines−18removed
From line
62
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits20to this page, all time
The whole hunk
from line 62, old and new numbered
/
from line 62
6262
6363### Headers
6464
65- `"anthropic-version": optional string`
65- `"anthropic-version": string`
6666
67 The version of the Claude API you want to use.
67 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`.
6868
69 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
69 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
7070
7171- `"x-api-key": optional string`
7272
from line 134
134134
135135```bash
136136curl https://api.anthropic.com/v1/compliance/apps/sessions/local \
137 -H 'anthropic-version: 2023-06-01' \
137 -H 'anthropic-version: 2026-10-21' \
138138 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
139139```
140140
from line 177
177177
178178### Headers
179179
180- `"anthropic-version": optional string`
180- `"anthropic-version": string`
181181
182 The version of the Claude API you want to use.
182 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`.
183183
184 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
184 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
185185
186186- `"x-api-key": optional string`
187187
from line 241
241241
242242```bash
243243curl https://api.anthropic.com/v1/compliance/apps/sessions/local/$LOCAL_SESSION_ID \
244 -H 'anthropic-version: 2023-06-01' \
244 -H 'anthropic-version: 2026-10-21' \
245245 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
246246```
247247
from line 442
442442
443443#### Headers
444444
445- `"anthropic-version": optional string`
445- `"anthropic-version": string`
446446
447 The version of the Claude API you want to use.
447 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`.
448448
449 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
449 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
450450
451451- `"x-api-key": optional string`
452452
from line 676
676676
677677```bash
678678curl https://api.anthropic.com/v1/compliance/apps/sessions/local/$LOCAL_SESSION_ID/messages \
679 -H 'anthropic-version: 2023-06-01' \
679 -H 'anthropic-version: 2026-10-21' \
680680 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
681681```
682682
No line in this hunk matches that.