List audit runs
List your audit runs
GET
/v1/agent-runsList the authenticated user's audit runs, newest first.
Query parameters
limitintegerdefault: 20Page size (1–100).
offsetintegerdefault: 0Number of items to skip.
statusstringAvailable options: pending, running, completed, failed, cancelled
mode"audit" | "audit-fix" | "fix" | "recommend"Available options: audit, audit-fix, fix, recommend
websiteIdstringResponses
Paginated list of audit runs.
runsobject[]requiredAudit run as returned by the list endpoint. Also the shared base for the single-run `AuditRun` schema, which composes this plus `userId`/`orgId` via `allOf` — so the common fields live in exactly one place. Nullable fields are unset until the run progresses.
totalintegerrequiredhasMorebooleanrequiredcurl --request GET \
--url "https://api.squirrelscan.com/v1/agent-runs"{
"runs": [],
"total": 123,
"hasMore": true
}