List the security header history
Returns everything recorded on the website's watched addresses, newest first: header changes, what each first scan read, decisions with who made them, and when an address's scans started failing or recovered. Entries are never edited, and an address no longer watched is left out here but still answers its activity.
Requires the viewer role on the website and the compliance plan feature.
AuthorizationBearer <JWT>An OpenID Connect access token from signing in to CentralCSP, acting as the signed-in user.
workspaceId*stringThe workspace's id.
websiteId*stringThe website's id.
cursor?stringThe nextCursor of the previous page. Omit it to start from the beginning. A cursor encodes a position and is not meant to be built by hand.
limit?|How many items to return, from 1 to 200.
1 <= value <= 20050addressId?stringOnly the events of this watched address, by its id from the watched addresses list.
length <= 36name?stringOnly the events of the headers of this exact name, as the headers list spells it. The events about an address itself have no header and never match.
1 <= length <= 160event?stringOnly the events of this kind.
"appeared""changed""removed""reappeared""approved""rejected""check_failing""check_recovered"A page of history entries.
application/json- response
data*array<>The history entries on this page.
pagination*Where this page sits in the full result set.
curl -X GET 'https://api.centralcsp.com/v1/workspaces/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/websites/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/compliance/headers/history'{ "data": [ { "id": "01990b7e-4c1a-7d2e-9b3f-5a6c7d8e9f02", "event": "check_failing", "headerName": "content-security-policy", "headerId": "01990b7e-4c1a-7d2e-9b3f-5a6c7d8e9f03", "headerKind": "header", "previousValue": "default-src 'self'; script-src 'self'", "value": "default-src 'self'; script-src 'self' https://js.stripe.com", "detail": "first_check", "actorId": "3f6c2a1e-8b4d-4e7a-9c1f-5d2b7e8a0c43", "actorName": "Alex Martin", "actorEmail": "alex@example.com", "actorPicture": "https://lh3.googleusercontent.com/a/example", "actorDeleted": true, "createdAt": "2026-10-01T08:00:00.000Z", "addressId": "01990b7e-4c1a-7d2e-9b3f-5a6c7d8e9f03", "url": "https://shop.example.com/checkout", "addressName": "Checkout" } ], "pagination": { "nextCursor": "eyJpZCI6IjAxOTM2YjdhLTZmMmUtN2MzMS05YTRkLTJmOGUxYzViN2Q5MCJ9", "hasMore": true, "total": 128 }}