Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Fetch the first page (newest activities first). changedmanage-claude/compliance-activity-feed

Nearest release: v2.1.307, published an hour after 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+8added
Lines−8removed
From line 19 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits10to this page, all time

The whole hunk

from line 19, old and new numbered
/
lines
from line 19
1919```bash cURL
2020curl --fail-with-body -sS \
2121 "https://api.anthropic.com/v1/compliance/activities?limit=1" \
22 --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
23 --header "anthropic-version: 2023-06-01"
22 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
23 -H "anthropic-version: 2023-06-01"
2424```
2525 
2626```json Response
from line 61
6161 --data-urlencode "activity_types[]=claude_file_uploaded" \
6262 --data-urlencode "activity_types[]=claude_chat_created" \
6363 --data-urlencode "created_at.gte=2026-04-01T00:00:00Z" \
64 --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
65 --header "anthropic-version: 2023-06-01"
64 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
65 -H "anthropic-version: 2023-06-01"
6666```
6767 
6868The Activity Feed produces hundreds of distinct activity types. See [Query compliance activities](https://platform.claude.com/docs/en/api/compliance/activities/list) in the API reference for the full list of values that `activity_types[]` accepts.
from line 102
102102# Fetch the first page (newest activities first).
103103curl --fail-with-body -sS \
104104 "https://api.anthropic.com/v1/compliance/activities?limit=2" \
105 --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
106 --header "anthropic-version: 2023-06-01"
105 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
106 -H "anthropic-version: 2023-06-01"
107107 
108108# LAST_ID is the last_id from the first response. Pass it back unchanged to fetch the next (older) page.
109109curl --fail-with-body -sS -G \
110110 "https://api.anthropic.com/v1/compliance/activities" \
111 --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
112 --header "anthropic-version: 2023-06-01" \
111 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
112 -H "anthropic-version: 2023-06-01" \
113113 --data-urlencode "limit=2" \
114114 --data-urlencode "after_id=$LAST_ID"
115115```
Feedback