The whole hunk
from line 25, old and new numbered
/
lines
from line 25
2525```bash cURL
2626curl --fail-with-body -sS \
2727 "https://api.anthropic.com/v1/compliance/organizations" \
28 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY"
28 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
29 -H "anthropic-version: 2023-06-01"
2930```
3031
3132```json Response
from line 78
7778curl --fail-with-body -sS -G \
7879 "https://api.anthropic.com/v1/compliance/organizations/$org_uuid/users" \
7980 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
81 -H "anthropic-version: 2023-06-01" \
8082 --data-urlencode "limit=500"
8183```
8284
from line 113
111113
112114curl --fail-with-body -sS \
113115 "https://api.anthropic.com/v1/compliance/organizations/${org_uuid}/roles" \
114 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY"
116 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
117 -H "anthropic-version: 2023-06-01"
115118```
116119
117120```json Response
from line 148
145148```bash cURL
146149curl --fail-with-body -sS -G \
147150 "https://api.anthropic.com/v1/compliance/groups" \
148 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY"
151 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
152 -H "anthropic-version: 2023-06-01"
149153```
150154
151155```json Response
from line 177
173177
174178curl --fail-with-body -sS -G \
175179 "https://api.anthropic.com/v1/compliance/groups/$group_id/members" \
176 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY"
180 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
181 -H "anthropic-version: 2023-06-01"
177182```
178183
179184```json Response
from line 213
208213
209214curl --fail-with-body -sS \
210215 "https://api.anthropic.com/v1/compliance/organizations/$org_uuid/settings" \
211 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY"
216 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
217 -H "anthropic-version: 2023-06-01"
212218```
213219
214220The response is a list of typed setting rows, and which rows appear varies by organization: a setting the organization's administrators cannot change, because it is controlled by Anthropic policy or not available to the organization, is omitted from the list. Treat a missing row as "not controllable by this organization's administrators", not as "off". The following abridged example shows three of the rows a response can contain: