Sessions changedapi/compliance/apps/sessions
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+30added
Lines−30removed
From line
64
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits22to this page, all time
The whole hunk
from line 64, old and new numbered
/
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 136
136136
137137```bash
138138curl https://api.anthropic.com/v1/compliance/apps/sessions/local \
139 -H 'anthropic-version: 2023-06-01' \
139 -H 'anthropic-version: 2026-10-21' \
140140 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
141141```
142142
from line 179
179179
180180#### Headers
181181
182- `"anthropic-version": optional string`
182- `"anthropic-version": string`
183183
184 The version of the Claude API you want to use.
184 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`.
185185
186 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
186 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
187187
188188- `"x-api-key": optional string`
189189
from line 243
243243
244244```bash
245245curl https://api.anthropic.com/v1/compliance/apps/sessions/local/$LOCAL_SESSION_ID \
246 -H 'anthropic-version: 2023-06-01' \
246 -H 'anthropic-version: 2026-10-21' \
247247 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
248248```
249249
from line 328
328328
329329#### Headers
330330
331- `"anthropic-version": optional string`
331- `"anthropic-version": string`
332332
333 The version of the Claude API you want to use.
333 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`.
334334
335 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
335 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
336336
337337- `"x-api-key": optional string`
338338
from line 562
562562
563563```bash
564564curl https://api.anthropic.com/v1/compliance/apps/sessions/local/$LOCAL_SESSION_ID/messages \
565 -H 'anthropic-version: 2023-06-01' \
565 -H 'anthropic-version: 2026-10-21' \
566566 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
567567```
568568
from line 690
690690
691691#### Headers
692692
693- `"anthropic-version": optional string`
693- `"anthropic-version": string`
694694
695 The version of the Claude API you want to use.
695 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`.
696696
697 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
697 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
698698
699699- `"x-api-key": optional string`
700700
from line 770
770770
771771```bash
772772curl https://api.anthropic.com/v1/compliance/apps/sessions/remote \
773 -H 'anthropic-version: 2023-06-01' \
773 -H 'anthropic-version: 2026-10-21' \
774774 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
775775```
776776
from line 872
872872
873873#### Headers
874874
875- `"anthropic-version": optional string`
875- `"anthropic-version": string`
876876
877 The version of the Claude API you want to use.
877 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`.
878878
879 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
879 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
880880
881881- `"x-api-key": optional string`
882882
from line 1072
10721072
10731073```bash
10741074curl https://api.anthropic.com/v1/compliance/apps/sessions/remote/$CLAUDE_REMOTE_SESSION_ID/messages \
1075 -H 'anthropic-version: 2023-06-01' \
1075 -H 'anthropic-version: 2026-10-21' \
10761076 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
10771077```
10781078
No line in this hunk matches that.