Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 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.318, published 4 hours before 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+4added
Lines−4removed
From line 20 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits15to this page, all time

The whole hunk

from line 20, old and new numbered
/
lines
from line 20
2020curl --fail-with-body -sS \
2121 "https://api.anthropic.com/v1/compliance/activities?limit=1" \
2222 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
23 -H "anthropic-version: 2023-06-01"
23 -H "anthropic-version: 2026-10-21"
2424```
2525 
2626```json Response
from line 62
6262 --data-urlencode "activity_types[]=claude_chat_created" \
6363 --data-urlencode "created_at.gte=2026-04-01T00:00:00Z" \
6464 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
65 -H "anthropic-version: 2023-06-01"
65 -H "anthropic-version: 2026-10-21"
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 103
103103curl --fail-with-body -sS \
104104 "https://api.anthropic.com/v1/compliance/activities?limit=2" \
105105 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
106 -H "anthropic-version: 2023-06-01"
106 -H "anthropic-version: 2026-10-21"
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" \
111111 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
112 -H "anthropic-version: 2023-06-01" \
112 -H "anthropic-version: 2026-10-21" \
113113 --data-urlencode "limit=2" \
114114 --data-urlencode "after_id=$LAST_ID"
115115```
Feedback