Skip to main content
GET
Get an agent's grants

Authorizations

Authorization
string
header
required

API key obtained from the dashboard or GET /user/api-key

Path Parameters

agentId
string
required

Response

The agent's grant set

An agent's full grant set — returned by grant reads and by every grant write.

agentId
string
mode
enum<string>

Always grants on current servers. The all value is wire compatibility with older self-hosted releases — never branch behavior on it.

Available options:
all,
grants
connections
object[]
secrets
object[]