Skip to main content
PUT
Replaces the entire policy for an agent. Unlike PATCH, this requires all fields and will reset any fields not provided.

Path Parameters

string
required
The agent ID (e.g., agt_abc123)

Request

number
required
Maximum cost allowed per single API call (in USD cents). Use 0 for no limit.
number
required
Maximum total spend allowed per day (in USD cents). Use 0 for no limit.
array
required
List of capabilities this agent can use. Use empty array [] to allow all capabilities.

Response

Returns the new policy object.