Update agent policy
Partially update an agent’s policy. Only provided fields will be updated; omitted fields retain their current values. Policy changes take effect immediately. The spending limits currency is immutable; attempting to change it returns a 400 response.
Authorizations
API token authentication using format <api token id>:<api client secret>
Path Parameters
System-generated unique agent identifier
Body
Partial update to an agent's policy. Only provided fields will be updated; omitted fields retain their current values.
Updated list of permissions. Replaces the entire permissions list when provided.
Permission granted to an agent that determines what actions it can perform. VIEW_TRANSACTIONS: Can list and retrieve transactions and account balances. CREATE_QUOTES: Can create quotes. EXECUTE_QUOTES: Can execute quotes. MANAGE_EXTERNAL_ACCOUNTS: Can create and manage external accounts. RECEIVE_FUNDS: Can create deposit targets for receiving funds. MANAGE_IDENTITY: Can read and update customer identity information and start verification. MANAGE_CARDS: Can read, tighten, and freeze its cards, and issue, reveal, and close purchase cards.
VIEW_TRANSACTIONS, CREATE_QUOTES, EXECUTE_QUOTES, MANAGE_EXTERNAL_ACCOUNTS, RECEIVE_FUNDS, MANAGE_IDENTITY, MANAGE_CARDS Execution mode controlling whether agent actions require human approval. AUTO: The agent can execute actions autonomously without explicit approval. APPROVAL_REQUIRED: All agent actions require explicit human approval before execution.
AUTO, APPROVAL_REQUIRED Partial update to spending limits. Only provided fields will be updated; omitted fields retain their current values.
Optional restrictions that limit the agent to specific accounts or override policy per account.
Thresholds that force approval for high-value transactions, overriding the default execution mode. The threshold currency must equal the policy's spending limits currency. When a transaction is denominated in a different currency, Grid converts it to the policy currency at evaluation time.
Response
Agent policy updated successfully
A programmatic agent with scoped permissions and a spending policy, used to automate payment workflows.
System-generated unique identifier for the agent.
"Agent:019542f5-b3e7-1d02-0000-000000000001"
Human-readable name for the agent.
"Payroll Automation Agent"
The ID of the customer this agent operates on behalf of.
"Customer:019542f5-b3e7-1d02-0000-000000000001"
Whether the agent is currently paused. Paused agents cannot initiate any actions.
false
Whether the agent has been installed and connected (i.e., its device code has been redeemed).
true
Policy governing what an agent can do, how it executes actions, and its spending boundaries.
Real-time counters tracking the agent's spending and transaction activity against its policy limits.
Creation timestamp.
"2025-07-21T17:32:28Z"
Last update timestamp.
"2025-07-21T17:32:28Z"