APIHeader Monitoring
List the history of a header
Returns every change seen on the header and every decision made about it, newest first, with who made it. Entries are never edited.
Requires the viewer role on the website and the compliance plan feature.
GET
header
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.
headerId*stringThe header'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.
Range
1 <= value <= 200Default
50A 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/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/history'Example Response
{ "data": [ { "id": "01990b7e-4c1a-7d2e-9b3f-5a6c7d8e9f02", "event": "appeared", "previousValue": "default-src 'self'; script-src 'self'", "value": "default-src 'self'; script-src 'self' https://js.stripe.com", "detail": "first_check", "justification": "Stripe.js added for the new checkout, reviewed by security.", "reason": "Nobody on the team added this script source.", "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" } ], "pagination": { "nextCursor": "eyJpZCI6IjAxOTM2YjdhLTZmMmUtN2MzMS05YTRkLTJmOGUxYzViN2Q5MCJ9", "hasMore": true, "total": 128 }}