Get a report
Fetch report metadata
GET
/v1/reports/{id}Fetch report metadata. Public and unlisted reports are readable without auth; private reports require a bearer token belonging to the owner (a non-owner gets 404, never revealing existence).
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path parameters
idstringrequiredReport id.
Responses
Report metadata.
idstringrequiredbaseUrlstring (uri)requiredhealthScoreanypageCountanyerrorCountanywarningCountanypassedCountanyvisibility"public" | "unlisted" | "private"requiredAvailable options: public, unlisted, private
viewCountanyauditedAtanycreatedAtstring (date-time)requiredurlstring (uri)requiredcurl --request GET \
--url "https://api.squirrelscan.com/v1/reports/ID" \
--header "Authorization: Bearer YOUR_API_KEY"{
"id": "<string>",
"baseUrl": "<url>",
"healthScore": {},
"pageCount": {},
"errorCount": {},
"warningCount": {},
"passedCount": {},
"visibility": "public",
"viewCount": {},
"auditedAt": {},
"createdAt": "2023-11-07T05:31:56Z",
"url": "<url>"
}