The Get Scan endpoint retrieves a single scan record by its unique ID. The HTTP status code reflects the scan’s current state: while the scan isDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/webhood-io/webhood/llms.txt
Use this file to discover all available pages before exploring further.
pending or running, the server responds with 202 Accepted and sets a Location header pointing back to the same URL, signalling that the client should continue polling. Once the scan reaches done or error, the server responds with 200 OK and returns the fully populated record including all artifacts and metadata.
Request
GET /api/v1/scans/:id
Authentication
All requests require a valid Bearer token in theAuthorization header.
Path Parameters
The unique identifier of the scan record to retrieve. This is the
id field returned when the scan was created.Response
HTTP 200 OK — Scan Complete
Returned whenstatus is done or error. The response body contains the full scan record with all fields populated.
HTTP 202 Accepted — Scan In Progress
Returned whenstatus is pending or running. The response body contains the partial scan record, and the Location response header is set to the same endpoint URL. Poll again after a short delay.
| Header | Value |
|---|---|
Location | /api/beta/scans/<id> — retry this URL to check for completion |
Response Fields
Unique identifier for the scan record.
Human-readable identifier in
hostname-timestamp format. Useful for display and logging purposes.The original URL that was submitted for scanning.
Current scan status. One of
pending, running, done, or error.ISO 8601 timestamp of when the scan record was created.
ISO 8601 timestamp of when the scan record was last updated.
Human-readable error description. Populated only when
status is error.Array of file IDs for captured files. Index
0 is the HTML source; index 1 is the network trace JSON. Empty until the scan completes.Array of file IDs for captured PNG screenshots. Empty until the scan completes.
Array of additional file IDs associated with the scan.
ISO 8601 timestamp of when the scan completed. Empty string until the scan finishes.
The final URL reached after all redirects were followed. May differ significantly from the submitted
url.The
ScanOptions applied to this scan.Fully structured scan metadata. Follows the
ScanDataV1_1 schema.