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.304, published under 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+5added
Lines−5removed
From line 99 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 99, old and new numbered
/
lines
from line 99
9999</Note>
100100 
101101```bash cURL
102# Fetch the first page (newest activities first) and capture its trailing cursor.
103last_id=$(curl --fail-with-body -sS \
102# Fetch the first page (newest activities first).
103curl --fail-with-body -sS \
104104 "https://api.anthropic.com/v1/compliance/activities?limit=2" \
105105 --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
106 --header "anthropic-version: 2023-06-01" | jq -er '.last_id')
106 --header "anthropic-version: 2023-06-01"
107107 
108# Pass the cursor back unchanged to fetch the next (older) page.
108# 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 --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
112112 --header "anthropic-version: 2023-06-01" \
113113 --data-urlencode "limit=2" \
114 --data-urlencode "after_id=${last_id}"
114 --data-urlencode "after_id=$LAST_ID"
115115```
116116 
117117A production **backfill** loop pages through older activities by driving iteration off `has_more` and `last_id`:
Feedback