API reference
Get agent policy
Returns the current agent policy for the organization and environment, or the default policy if none exists.
GET
/v1/agent/policyAuthorization
bearerAuth AuthorizationBearer <token>
Paste your API key from the dashboard (no sk_ prefix required).
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/agent/policy"{
"id": "string",
"allowed_tools": [
"string"
],
"per_action_limit": "string",
"daily_limit": "string",
"require_approval": true,
"created_at": "string",
"updated_at": "string"
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}