Request an agent action
Request a StableOps Agent tool action, inspect automatic approval for permitted read-only tools, and handle pending approval before executing controlled writes.
/v1/agent/actionsAuthorization
bearerAuth Paste your API key from the dashboard.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/agent/actions" \ -H "Content-Type: application/json" \ -d '{ "agent_session_id": "string", "tool": "get_order", "input": { "property1": null, "property2": null } }'{
"decision": "auto_allowed",
"actionId": "string"
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}How is this guide?
Last updated
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.
List agent actions GET
List StableOps Agent actions for your organization and environment, newest first, to inspect approval progress and execution records during automation reviews.