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
id string required Report id.
Responses
Report metadata.
id string required baseUrl string (uri) required healthScore any pageCount any errorCount any warningCount any passedCount any visibility "public" | "unlisted" | "private" required Available options: public, unlisted, private
viewCount any auditedAt any createdAt string (date-time) required url string (uri) required curl --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>"
}