# get_agent_run **One sweep in full** One sweep and the documents it protected. This is the ONLY tool that returns decisions[] in full for a run: the per-file record of what the agent chose NOT to protect and why. Also returns unreadableGroups[], the metadata-only summary of files it could not open. decisions[] is consent-gated, so an absent array means the customer never opted in to sending it, NOT that nothing was excluded. Read-only. - Access: read-only - Calls: `/api/v1/agent/runs/` ## Arguments | Name | Type | Required | Description | |---|---|---|---| | `runId` | string | **yes** | The immut id of the run, from list_agent_runs | | `docPage` | number | no | Page of the joined document list | | `docLimit` | number | no | Page size, max 100 (default 50) | ## Tool contract ```json { "name": "get_agent_run", "title": "One sweep in full", "description": "One sweep and the documents it protected. This is the ONLY tool that returns decisions[] in full for a run: the per-file record of what the agent chose NOT to protect and why. Also returns unreadableGroups[], the metadata-only summary of files it could not open. decisions[] is consent-gated, so an absent array means the customer never opted in to sending it, NOT that nothing was excluded. Read-only.", "access": "read", "destructive": false, "hostedOnProduction": true, "restEndpoint": "/api/v1/agent/runs/", "arguments": { "runId": { "type": "string", "required": true, "description": "The immut id of the run, from list_agent_runs" }, "docPage": { "type": "number", "required": false, "description": "Page of the joined document list" }, "docLimit": { "type": "number", "required": false, "description": "Page size, max 100 (default 50)" } } } ```