The whole hunk
from line 67, old and new numbered
/
lines
from line 67
6767 "https://api.anthropic.com/v1/compliance/activities" \
6868 --data-urlencode "activity_types[]=anthropic_access" \
6969 --data-urlencode "limit=50" \
70 --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY"
70 --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
71 --header "anthropic-version: 2023-06-01"
7172```
7273
7374Pagination, date-range filtering (`created_at.gte` / `.lt`), and the response envelope (`has_more`, `first_id`, `last_id`) are shared with the rest of the Activity Feed. See [Query the Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed).
from line 122
121122 "https://api.anthropic.com/v1/compliance/activities" \
122123 --data-urlencode "activity_types[]=cmek_preserve" \
123124 --data-urlencode "limit=50" \
124 --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY"
125 --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
126 --header "anthropic-version: 2023-06-01"
125127```
126128
127129Example JSON message: