CentralCSP
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
/v1/workspaces/{workspaceId}/websites/{websiteId}/compliance/headers/{headerId}/history

Authorization

headerAuthorizationBearer <JWT>

An OpenID Connect access token from signing in to CentralCSP, acting as the signed-in user.

Path Parameters

workspaceId*string

The workspace's id.

websiteId*string

The website's id.

headerId*string

The header's id.

Query Parameters

cursor?string

The 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.

Range1 <= value <= 200
Default50

Response Body

A page of history entries.

application/json
  1. response
data*array<>

The history entries on this page.

pagination*

Where this page sits in the full result set.

Example Request
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  }}