Skip to content

List sites

Returns every site in the account (or just the locked site for a site-scoped token), each with the same open / critical / serious counts the dashboard’s site cards show.

GET /api/v1/sites
Terminal window
curl https://app.theaccessibility.company/api/v1/sites \
-H "Authorization: Bearer tac_mcp_..."
{
"data": [
{
"id": "site_a1b2c",
"name": "Marketing site",
"baseUrl": "https://example.com",
"primaryHost": "example.com",
"primaryStandard": "wcag21aa",
"status": "active",
"createdAtMs": 1745837200000,
"openIssueCount": 12,
"criticalCount": 2,
"seriousCount": 5
}
],
"pagination": { "limit": 1, "offset": 0, "total": 1 }
}
Field Type Description
id string Site id: use in /sites/:siteId/... paths.
name string Display name.
baseUrl string The URL scans start from.
primaryHost string Hostname derived from the base URL.
primaryStandard string | null Configured standard id. A new site starts on wcag22aa; null means no standard is set, and the site is read against WCAG 2.1 AA.
status string Site lifecycle status (e.g. active).
createdAtMs number Creation time, Unix ms.
openIssueCount number Active issues under the site’s standard scope.
criticalCount number Active issues with critical impact.
seriousCount number Active issues with serious impact.