The whole hunk
from line 50, old and new numbered
/
lines
from line 50
5050
5151### Headers
5252
53- `"anthropic-version": optional string`
54
55 The version of the Claude API you want to use.
56
57 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
58
5953- `"x-api-key": optional string`
6054
6155### Returns
from line 116
122116
123117```bash
124118curl https://api.anthropic.com/v1/compliance/apps/sessions/local \
119 -H 'anthropic-version: 2023-06-01' \
125120 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
126121```
127122
from line 159
164159
165160### Headers
166161
167- `"anthropic-version": optional string`
168
169 The version of the Claude API you want to use.
170
171 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
172
173162- `"x-api-key": optional string`
174163
175164### Returns
from line 217
228217
229218```bash
230219curl https://api.anthropic.com/v1/compliance/apps/sessions/local/$LOCAL_SESSION_ID \
220 -H 'anthropic-version: 2023-06-01' \
231221 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
232222```
233223
from line 411
421411
422412#### Headers
423413
424- `"anthropic-version": optional string`
425
426 The version of the Claude API you want to use.
427
428 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
429
430414- `"x-api-key": optional string`
431415
432416#### Returns
from line 556
572556 A transcript marker generated by the endpoint rather than sent by
573557 either party during the session. Marker messages indicate that the
574558 prompt history diverged from what was captured, that the request's
575 `system` field was present but is not shown, or that
576 prompt-carried history was suppressed because the session spans the
577 child organization's retention boundary and those turns cannot be
578 placed against it (the marker's text names the cause). Markers that
579 report a mismatch with captured history can result from normal request
580 or client processing, not only client modification.
559 `system` field was present but is not shown, or that earlier turns
560 that a request re-sent as history were withheld because they cannot
561 be dated against the child organization's data-retention period
562 (only for organizations with a finite retention period; the request's
563 new user input after its last assistant turn is not affected). The
564 marker's text names the cause. Markers that report a mismatch with
565 captured history can result from normal request or client processing,
566 not only client modification.
581567
582568 - `type: "synthetic_marker"`
583569
from line 639
653639
654640```bash
655641curl https://api.anthropic.com/v1/compliance/apps/sessions/local/$LOCAL_SESSION_ID/messages \
642 -H 'anthropic-version: 2023-06-01' \
656643 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
657644```
658645