Agent

The sweep history for this organisation

GEThttps://backend.immut.io/api/v1/agent/runs

Required scope: documents:read

Filterable by mode, objective, protectedOnly, from/to. Omits decisions[] for size; use the single-run route for those.

Parameters

NameInRequiredDescription
workspacequerynoworkspace id
modequerynointeractive | unattended (any other value is ignored)
objectivequerynothe objective the sweep served
protectedOnlyquerynotrue excludes sweeps that protected nothing
fromquerynoISO 8601, filters on finishedAt
toquerynoISO 8601, filters on finishedAt
pagequerynodefault 1
limitquerynodefault 20, max 100

Responses

StatusMeaning
200Success Returns: the full run MINUS decisions[]: runId, startedAt, finishedAt, mode, objective, trigger, counts, coverage, connectorsReached, connectorsUnreachable, unreadableGroups, network, noOp, decisionsReported, decisionsTruncated. decisions[] is omitted here for size; use GET /agent/runs/{id} for one run, or GET /agent/decisions to query across runs. meta carries page, limit, total, totalPages.
400BadRequest
401Unauthorized
403Forbidden
429RateLimited

Example

curl -X GET "https://backend.immut.io/api/v1/agent/runs" \
  -H "Authorization: Bearer $IMMUT_API_KEY"

Generated from the immut API contract, version 1.14.0. Machine-readable: this page as markdown · everything in one file · OpenAPI