API reference
Get agent policy
Retrieve the StableOps Agent policy for your organization and environment, or its default policy, to inspect allowed tools and approval rules before acting.
GET
/v1/agent/policyAuthorization
bearerAuth AuthorizationBearer <token>
Paste your API key from the dashboard.
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/agent/policy"{
"id": "string",
"allowed_tools": [
"string"
],
"require_approval": true,
"created_at": "string",
"updated_at": "string"
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}How is this guide?
Last updated
Restore an agent session POST
Restore a revoked StableOps Agent session by ID so it can request actions again within its original organization and environment, subject to the active policy.
Upsert agent policy POST
Create or update a StableOps Agent policy for the current organization and environment, configuring tool permissions and approval controls for automation.