squirrelscan
GitHub

List audit runs

List your audit runs

GET/v1/agent-runs

List the authenticated user's audit runs, newest first.

Query parameters

limitintegerdefault: 20

Page size (1–100).

offsetintegerdefault: 0

Number of items to skip.

statusstring

Available options: pending, running, completed, failed, cancelled

mode"audit" | "audit-fix" | "fix" | "recommend"

Available options: audit, audit-fix, fix, recommend

websiteIdstring

Responses

Paginated list of audit runs.

runsobject[]required

Audit 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.

totalintegerrequired
hasMorebooleanrequired
curl --request GET \
  --url "https://api.squirrelscan.com/v1/agent-runs"
{
  "runs": [],
  "total": 123,
  "hasMore": true
}

Type to search…

↑↓ navigate openesc close