# Decisions the human made in immut that this agent must apply `GET /agent/instructions` **Required scope:** `documents:read` CALL THIS AT THE START OF EVERY SWEEP. Defaults to status=pending and excludes expired rows. `protect` means upload that path on this sweep; `reject` means leave it and record decision `declined_by_human`. Mark each one applied with PATCH once you have actually acted. ## 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/instructions" \ -H "Authorization: Bearer $IMMUT_API_KEY" ``` ## OpenAPI fragment ```json { "/agent/instructions": { "get": { "operationId": "getagentinstructions", "summary": "Decisions the human made in immut that this agent must apply. CALL THIS AT THE START OF EVERY SWEEP. Defaults to status=pending and excludes expired rows. `protect` means upload that path on this sweep; `reject` means leave it and record decision `declined_by_human`. Mark each one applied with PATCH once you have actually acted.", "description": "Decisions the human made in immut that this agent must apply. CALL THIS AT THE START OF EVERY SWEEP. Defaults to status=pending and excludes expired rows. `protect` means upload that path on this sweep; `reject` means leave it and record decision `declined_by_human`. Mark each one applied with PATCH once you have actually acted.", "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" } } } ```