The whole hunk
from line 118, old and new numbered
/
lines
from line 118
118118
119119#### Headers
120120
121- `"anthropic-version": optional string`
122
123 The version of the Claude API you want to use.
124
125 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
126
127121- `"x-api-key": optional string`
128122
129123#### Returns
from line 216
222216
223217```bash
224218curl https://api.anthropic.com/v1/compliance/apps/chats \
219 -H 'anthropic-version: 2023-06-01' \
225220 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
226221```
227222
from line 262
267262
268263#### Headers
269264
270- `"anthropic-version": optional string`
271
272 The version of the Claude API you want to use.
273
274 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
275
276265- `"x-api-key": optional string`
277266
278267#### Returns
from line 281
292281```bash
293282curl https://api.anthropic.com/v1/compliance/apps/chats/$CLAUDE_CHAT_ID \
294283 -X DELETE \
284 -H 'anthropic-version: 2023-06-01' \
295285 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
296286```
297287
from line 400
410400
411401#### Headers
412402
413- `"anthropic-version": optional string`
414
415 The version of the Claude API you want to use.
416
417 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
418
419403- `"x-api-key": optional string`
420404
421405#### Returns
from line 700
716700
717701```bash
718702curl https://api.anthropic.com/v1/compliance/apps/chats/$CLAUDE_CHAT_ID/messages \
703 -H 'anthropic-version: 2023-06-01' \
719704 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
720705```
721706
from line 787
802787
803788#### Headers
804789
805- `"anthropic-version": optional string`
806
807 The version of the Claude API you want to use.
808
809 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
810
811790- `"x-api-key": optional string`
812791
813792#### Returns
from line 829
850829
851830```bash
852831curl https://api.anthropic.com/v1/compliance/apps/chats/files/$CLAUDE_FILE_ID \
832 -H 'anthropic-version: 2023-06-01' \
853833 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
854834```
855835
from line 867
887867
888868#### Headers
889869
890- `"anthropic-version": optional string`
891
892 The version of the Claude API you want to use.
893
894 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
895
896870- `"x-api-key": optional string`
897871
898872#### Returns
from line 886
912886```bash
913887curl https://api.anthropic.com/v1/compliance/apps/chats/files/$CLAUDE_FILE_ID \
914888 -X DELETE \
889 -H 'anthropic-version: 2023-06-01' \
915890 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
916891```
917892
from line 913
938913
939914#### Headers
940915
941- `"anthropic-version": optional string`
942
943 The version of the Claude API you want to use.
944
945 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
946
947916- `"x-api-key": optional string`
948917
949918#### Example
from line 919
950919
951920```bash
952921curl https://api.anthropic.com/v1/compliance/apps/chats/files/$CLAUDE_FILE_ID/content \
922 -H 'anthropic-version: 2023-06-01' \
953923 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
954924```
955925
from line 941
971941
972942#### Headers
973943
974- `"anthropic-version": optional string`
975
976 The version of the Claude API you want to use.
977
978 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
979
980944- `"x-api-key": optional string`
981945
982946#### Returns
from line 979
1015979
1016980```bash
1017981curl https://api.anthropic.com/v1/compliance/apps/chats/generated-files/$CLAUDE_GEN_FILE_ID \
982 -H 'anthropic-version: 2023-06-01' \
1018983 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
1019984```
1020985
from line 1011
10461011
10471012#### Headers
10481013
1049- `"anthropic-version": optional string`
1050
1051 The version of the Claude API you want to use.
1052
1053 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1054
10551014- `"x-api-key": optional string`
10561015
10571016#### Example
from line 1017
10581017
10591018```bash
10601019curl https://api.anthropic.com/v1/compliance/apps/chats/generated-files/$CLAUDE_GEN_FILE_ID/content \
1020 -H 'anthropic-version: 2023-06-01' \
10611021 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
10621022```
10631023
from line 1104
11441104
11451105#### Headers
11461106
1147- `"anthropic-version": optional string`
1148
1149 The version of the Claude API you want to use.
1150
1151 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1152
11531107- `"x-api-key": optional string`
11541108
11551109#### Returns
from line 1180
12261180
12271181```bash
12281182curl https://api.anthropic.com/v1/compliance/apps/projects \
1183 -H 'anthropic-version: 2023-06-01' \
12291184 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
12301185```
12311186
from line 1222
12671222
12681223#### Headers
12691224
1270- `"anthropic-version": optional string`
1271
1272 The version of the Claude API you want to use.
1273
1274 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1275
12761225- `"x-api-key": optional string`
12771226
12781227#### Returns
from line 1302
13531302
13541303```bash
13551304curl https://api.anthropic.com/v1/compliance/apps/projects/$PROJECT_ID \
1305 -H 'anthropic-version: 2023-06-01' \
13561306 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
13571307```
13581308
from line 1352
14021352
14031353#### Headers
14041354
1405- `"anthropic-version": optional string`
1406
1407 The version of the Claude API you want to use.
1408
1409 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1410
14111355- `"x-api-key": optional string`
14121356
14131357#### Returns
from line 1371
14271371```bash
14281372curl https://api.anthropic.com/v1/compliance/apps/projects/$PROJECT_ID \
14291373 -X DELETE \
1374 -H 'anthropic-version: 2023-06-01' \
14301375 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
14311376```
14321377
from line 1421
14761421
14771422#### Headers
14781423
1479- `"anthropic-version": optional string`
1480
1481 The version of the Claude API you want to use.
1482
1483 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1484
14851424- `"x-api-key": optional string`
14861425
14871426#### Returns
from line 1513
15741513
15751514```bash
15761515curl https://api.anthropic.com/v1/compliance/apps/projects/$PROJECT_ID/attachments \
1516 -H 'anthropic-version: 2023-06-01' \
15771517 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
15781518```
15791519
from line 1570
16301570
16311571#### Headers
16321572
1633- `"anthropic-version": optional string`
1634
1635 The version of the Claude API you want to use.
1636
1637 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1638
16391573- `"x-api-key": optional string`
16401574
16411575#### Returns
from line 1718
17841718
17851719```bash
17861720curl https://api.anthropic.com/v1/compliance/apps/projects/$PROJECT_ID/collaborators \
1721 -H 'anthropic-version: 2023-06-01' \
17871722 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
17881723```
17891724
from line 1755
18201755
18211756#### Headers
18221757
1823- `"anthropic-version": optional string`
1824
1825 The version of the Claude API you want to use.
1826
1827 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1828
18291758- `"x-api-key": optional string`
18301759
18311760#### Returns
from line 1797
18681797
18691798```bash
18701799curl https://api.anthropic.com/v1/compliance/apps/projects/documents/$DOCUMENT_ID \
1800 -H 'anthropic-version: 2023-06-01' \
18711801 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
18721802```
18731803
from line 1835
19051835
19061836#### Headers
19071837
1908- `"anthropic-version": optional string`
1909
1910 The version of the Claude API you want to use.
1911
1912 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1913
19141838- `"x-api-key": optional string`
19151839
19161840#### Returns
from line 1891
19671891
19681892```bash
19691893curl https://api.anthropic.com/v1/compliance/apps/projects/documents/$DOCUMENT_ID/metadata \
1894 -H 'anthropic-version: 2023-06-01' \
19701895 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
19711896```
19721897
from line 1929
20041929
20051930#### Headers
20061931
2007- `"anthropic-version": optional string`
2008
2009 The version of the Claude API you want to use.
2010
2011 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2012
20131932- `"x-api-key": optional string`
20141933
20151934#### Returns
from line 1948
20291948```bash
20301949curl https://api.anthropic.com/v1/compliance/apps/projects/documents/$DOCUMENT_ID \
20311950 -X DELETE \
1951 -H 'anthropic-version: 2023-06-01' \
20321952 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
20331953```
20341954
from line 1982
20621982
20631983#### Headers
20641984
2065- `"anthropic-version": optional string`
2066
2067 The version of the Claude API you want to use.
2068
2069 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2070
20711985- `"x-api-key": optional string`
20721986
20731987#### Returns
from line 2024
21102024
21112025```bash
21122026curl https://api.anthropic.com/v1/compliance/apps/artifacts/$ARTIFACT_VERSION_ID \
2027 -H 'anthropic-version: 2023-06-01' \
21132028 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
21142029```
21152030
from line 2059
21442059
21452060#### Headers
21462061
2147- `"anthropic-version": optional string`
2148
2149 The version of the Claude API you want to use.
2150
2151 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2152
21532062- `"x-api-key": optional string`
21542063
21552064#### Example
from line 2065
21562065
21572066```bash
21582067curl https://api.anthropic.com/v1/compliance/apps/artifacts/$ARTIFACT_VERSION_ID/content \
2068 -H 'anthropic-version: 2023-06-01' \
21592069 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
21602070```
21612071
from line 2116
22062116
22072117#### Headers
22082118
2209- `"anthropic-version": optional string`
2210
2211 The version of the Claude API you want to use.
2212
2213 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2214
22152119- `"x-api-key": optional string`
22162120
22172121#### Returns
from line 2182
22782182
22792183```bash
22802184curl https://api.anthropic.com/v1/compliance/apps/sessions/local \
2185 -H 'anthropic-version: 2023-06-01' \
22812186 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
22822187```
22832188
from line 2225
23202225
23212226#### Headers
23222227
2323- `"anthropic-version": optional string`
2324
2325 The version of the Claude API you want to use.
2326
2327 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2328
23292228- `"x-api-key": optional string`
23302229
23312230#### Returns
from line 2283
23842283
23852284```bash
23862285curl https://api.anthropic.com/v1/compliance/apps/sessions/local/$LOCAL_SESSION_ID \
2286 -H 'anthropic-version: 2023-06-01' \
23872287 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
23882288```
23892289
from line 2361
24612361
24622362#### Headers
24632363
2464- `"anthropic-version": optional string`
2465
2466 The version of the Claude API you want to use.
2467
2468 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2469
24702364- `"x-api-key": optional string`
24712365
24722366#### Returns
from line 2506
26122506 A transcript marker generated by the endpoint rather than sent by
26132507 either party during the session. Marker messages indicate that the
26142508 prompt history diverged from what was captured, that the request's
2615 `system` field was present but is not shown, or that
2616 prompt-carried history was suppressed because the session spans the
2617 child organization's retention boundary and those turns cannot be
2618 placed against it (the marker's text names the cause). Markers that
2619 report a mismatch with captured history can result from normal request
2620 or client processing, not only client modification.
2509 `system` field was present but is not shown, or that earlier turns
2510 that a request re-sent as history were withheld because they cannot
2511 be dated against the child organization's data-retention period
2512 (only for organizations with a finite retention period; the request's
2513 new user input after its last assistant turn is not affected). The
2514 marker's text names the cause. Markers that report a mismatch with
2515 captured history can result from normal request or client processing,
2516 not only client modification.
26212517
26222518 - `type: "synthetic_marker"`
26232519
from line 2589
26932589
26942590```bash
26952591curl https://api.anthropic.com/v1/compliance/apps/sessions/local/$LOCAL_SESSION_ID/messages \
2592 -H 'anthropic-version: 2023-06-01' \
26962593 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
26972594```
26982595
from line 2711
28142711
28152712#### Headers
28162713
2817- `"anthropic-version": optional string`
2818
2819 The version of the Claude API you want to use.
2820
2821 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2822
28232714- `"x-api-key": optional string`
28242715
28252716#### Returns
from line 2785
28942785
28952786```bash
28962787curl https://api.anthropic.com/v1/compliance/apps/sessions/remote \
2788 -H 'anthropic-version: 2023-06-01' \
28972789 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
28982790```
28992791
from line 2881
29892881
29902882#### Headers
29912883
2992- `"anthropic-version": optional string`
2993
2994 The version of the Claude API you want to use.
2995
2996 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2997
29982884- `"x-api-key": optional string`
29992885
30002886#### Returns
from line 3075
31893075
31903076```bash
31913077curl https://api.anthropic.com/v1/compliance/apps/sessions/remote/$CLAUDE_REMOTE_SESSION_ID/messages \
3078 -H 'anthropic-version: 2023-06-01' \
31923079 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
31933080```
31943081