# The sweep history for this organisation `GET /agent/runs` **Required scope:** `documents:read` Filterable by mode, objective, protectedOnly, from/to. ## Responses | Status | Meaning | |---|---| | `200` | Success | | `400` | BadRequest | | `401` | Unauthorized | | `403` | Forbidden | | `429` | RateLimited | ## Example ```bash curl -X GET "https://backend.immut.io/api/v1/agent/runs" \ -H "Authorization: Bearer $IMMUT_API_KEY" ``` ## OpenAPI fragment ```json { "/agent/runs": { "get": { "operationId": "getagentruns", "summary": "The sweep history for this organisation. Filterable by mode, objective, protectedOnly, from/to.", "description": "The sweep history for this organisation. Filterable by mode, objective, protectedOnly, from/to.", "responses": { "200": { "description": "Success" }, "400": { "$ref": "#/components/responses/BadRequest" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" }, "429": { "$ref": "#/components/responses/RateLimited" } }, "tags": [ "Agent" ], "x-required-scope": "documents:read" } } } ```