Agent

What the agent decided NOT to protect, across every sweep

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

Required scope: documents:read

decisions[] otherwise lives inside a single run, so this is the route for "what did my agent leave alone last month, and why". Consent-gated: read meta.consent before reporting an empty list as a clean sweep.

Read decisions. Requires scope documents:read.

Parameters

NameInRequiredDescription
decisionquerynoone of the 11 decision codes; an unknown code returns 400 rather than an empty list
docTypequerynofilter by doc type
docStatequerynofilter by doc state
workspacequerynoworkspace id
objectivequerynothe objective the sweep served
fromquerynoISO 8601, filters on the sweep finish time
toquerynoISO 8601, filters on the sweep finish time
searchquerynomatches the file path and the reason
pagequerynodefault 1
limitquerynodefault 50, max 100

Responses

StatusMeaning
200Success Returns: per row: path, decision, reason, docType, docState, servesObjective, confidence, folderConfidence, plus runId and sweptAt (when that sweep finished). meta.consent is reported
400BadRequest
401Unauthorized
403Forbidden
429RateLimited

Example

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

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