Skip to content
Console
Browse documentation
Reference

Connected agent approvals

List and revoke agent approvals for your current workspace.

On this page

Approval lifecycle

Each approval connects one agent client to one workspace. Its access is limited by your current workspace role, the supported agent permissions and the permissions you approved. Removing workspace membership or revoking the approval stops access. Reconnecting creates a new approval; it never restores a revoked one.

List and revoke

Use GET /api/v1/account/agent-connections to list your approvals. Optional limit (1–200, default 100) and offset paginate the result. Use DELETE /api/v1/account/agent-connections/{id} to revoke one. These endpoints require a signed-in person with oauth:connections; agent credentials and API keys cannot manage approvals. Administrators with members:write may add org_wide=true to list or revoke any approval in their current workspace.

Client labels are supplied by the client and are not verified identities. The list includes the client identifier and host, workspace and person identifiers, recorded granted permissions, approval status, creation time and last-use time. Permissions may be further limited by the current workspace role. See Revoke an agent approval for the Console and CLI steps. Deleting a project also revokes existing agent approvals in its workspace; approve a fresh connection when access is needed again.

Agent budgets

Connection budgets use GET /api/v1/agent-budgets?credential_kind=oauth_connection&credential_id=<connection-id> and PUT /api/v1/agent-budgets. Own reads need activity:read; other connections need audit:read. Setting a connection policy needs an owner or admin role, api_key:write and members:write. See Manage agent budgets.

OAuth approval capacity

Capacity counts durable OAuth approvals: active approvals, pending reservations and capacity awaiting confirmed cleanup. It does not count management keys, browser sessions, network sockets or observed agent runs. Sharing a credential does not establish how many agent runtimes use it.

A new approval must reserve workspace capacity before consent succeeds. At capacity, consent returns 429 with error: "plan_limit_reached" and sanitized plan_refusal facts. Counts and plan revision are decimal strings; keep them as strings. Remedies are to revoke an approval through human controls, wait for confirmed cleanup or change plan when an upgrade is available. Raising an agent operation budget cannot change plan capacity. There is no calendar reset or promised retry time for capacity.

A lost approval response can resume the same verified request without consuming a second slot. A new grant or changed workspace or permission selection is a new approval. Revocation stops authority immediately; capacity may remain reserved until cleanup is confirmed. Reconnecting creates new authority. Existing admitted approvals and their refresh credentials remain valid after a downgrade unless independently revoked. An incomplete capacity check returns temporary unavailability, without new credentials. Provisional approval capacities are Free 2, Solo 5, Pro 25 and Scale 100. After a downgrade, new approvals are refused while usage remains at or above the current cap. See agent plan headroom for the current catalog and qualification limits.