Agent and policy
Get the policy
Get the policy assigned to the agent.
GET
/v1/agent-api/policyResponses
200Assigned policy
404No policy assigned
Response fields
policyobjectRequiredpolicy.idstringRequiredpolicy.namestringRequiredpolicy.descriptionstringRequiredpolicy.capabilitiesarray of stringRequiredpolicy.accountAccessobject or nullRequiredAccounts the policy permits for each capability; null when the policy is invalid
policy.rulesobject or nullRequiredEvery 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 nullRequiredWhy the stored policy cannot be read as account access and scoped rules; null when it can
policy.versionnumberRequiredpolicy.kind"base" | "override"Requiredpolicy.expiresAtstringOptional