Agent and policy

Get the policy

Get the policy assigned to the agent.

GET/v1/agent-api/policy

Responses

200
Assigned policy
404
No policy assigned

Response fields

policyobjectRequired
policy.idstringRequired
policy.namestringRequired
policy.descriptionstringRequired
policy.capabilitiesarray of stringRequired
policy.accountAccessobject or nullRequired
Accounts the policy permits for each capability; null when the policy is invalid
policy.rulesobject or nullRequired
Every rule that limits sends and transfers, each scoped to one account or to all of the capability's accounts together; null when the policy is invalid
policy.invalidReasonstring or nullRequired
Why the stored policy cannot be read as account access and scoped rules; null when it can
policy.versionnumberRequired
policy.kind"base" | "override"Required
policy.expiresAtstringOptional
Updated October 29, 2026 Generated from the agent API's published OpenAPI document View as Markdown