CentralCSP
APIHeader Monitoring

Get the activity of a watched address

Returns how many scans of the address succeeded or failed on each of the last 30 days, and its most recent events, newest first. An address no longer watched still answers, since its past scans remain evidence.

Requires the viewer role on the website and the compliance plan feature.

GET
/v1/workspaces/{workspaceId}/websites/{websiteId}/compliance/headers/addresses/{addressId}/activity

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.

addressId*string

The watched address's id.

Response Body

The scans of a watched address day by day, and what they recorded.

application/json
  1. response
addressId*string

The watched address's id.

days*array<>

The last 30 UTC days, oldest first, today included. A day with no scan is listed with zeros.

events*array<>

The address's 100 most recent events, newest first.

Example Request
curl -X GET 'https://api.centralcsp.com/v1/workspaces/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/websites/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/compliance/headers/addresses/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/activity'
Example Response
{  "addressId": "01990b7e-4c1a-7d2e-9b3f-5a6c7d8e9f03",  "days": [    {      "day": "2026-11-08",      "ok": 4,      "failed": 0    }  ],  "events": [    {      "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"    }  ]}