Approve an agent action
Approve a pending StableOps Agent action by ID, allowing the controlled operation to proceed while retaining a separate record of its subsequent execution.
/v1/agent/actions/{id}/approveAuthorization
bearerAuth Paste your API key from the dashboard.
In: header
Path Parameters
Agent action id.
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/{id}/approve" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "string",
"agent_session_id": "string",
"tool": "string",
"input": "string",
"status": "string",
"approver_id": "string",
"decided_at": "string",
"executed_at": "string",
"result": "string",
"error_message": "string",
"created_at": "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
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.
Reject an agent action POST
Reject a pending StableOps Agent action with an optional reason, preventing an unwanted operation while preserving a reviewable decision in the approval flow.