API Endpoints

Sites

List Sites

GET /sites

Returns a list of all sites in your organization.

Create Site

POST /sites

Add a new site to monitor.

{
  "domain": "example.com",
  "name": "My Example Site"
}

Get Site

GET /sites/:id

Get details for a specific site.

Scans

Trigger Scan

POST /sites/:id/scan

Start a new CSP scan for a site.

Policies

Get Current Policy

GET /sites/:id/policy

Get the latest generated policy for a site.