Approvals
What is waiting on you, and what you have already allowed
Scoped to the caller's team+user, not to a key: the person deciding owns every key they hold, and this list is read by a human.
Scoped to the caller's team+user, not to a key: the person deciding owns every key they hold, and this list is read by a human.
Authorization
ApiKeyAuth AGENTBOX-API-KEY<token>
In: header
Response Body
application/json
curl -X GET "https://approvals"{ "pending": [ { "id": "string", "principal": { "team": "string", "user": "string", "keyId": "string" }, "sessionId": "string", "operation": "string", "onceOnly": true, "method": "string", "path": "string", "summary": "string", "createdAt": "2019-08-24T14:15:22Z", "expiresAt": "2019-08-24T14:15:22Z", "status": "pending", "scope": "once", "decidedBy": "string", "decidedAt": "2019-08-24T14:15:22Z" } ], "grants": [ { "id": "string", "principal": { "team": "string", "user": "string", "keyId": "string" }, "scope": "session", "sessionId": "string", "operation": "string", "createdAt": "2019-08-24T14:15:22Z", "expiresAt": "2019-08-24T14:15:22Z", "grantedBy": "string" } ]}