curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.computer.stateset.app/api/v1/approvals' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tool_name": "string",
"tool_input": {},
"reasoning": "string",
"screenshot_key": "string",
"status": "pending",
"review_comment": "string",
"expires_at": "2026-08-31T14:22:05Z",
"created_at": "2026-08-31T14:22:05Z",
"updated_at": "2026-08-31T14:22:05Z"
}
]
List Approvals V1
List approval requests for the calling tenant. Approvals fire when a job hits an action gated by an approval policy (typically destructive operations on…
GET
/
api
/
v1
/
approvals
curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.computer.stateset.app/api/v1/approvals' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tool_name": "string",
"tool_input": {},
"reasoning": "string",
"screenshot_key": "string",
"status": "pending",
"review_comment": "string",
"expires_at": "2026-08-31T14:22:05Z",
"created_at": "2026-08-31T14:22:05Z",
"updated_at": "2026-08-31T14:22:05Z"
}
]
Confirm your deployment before running this request. This page describes an API contract;
a published reference does not establish hosted availability. Check the dated
host report and obtain your deployment URL and credentials.
Replace the example host if your provisioned service uses a different URL.
awaiting_approval status until a reviewer calls
/approvals/{id}/approve or /reject.
Query parameters
boolean
When true (default) only return rows still awaiting review. Pass
false to include approved/rejected/expired rows for audit dashboards.Response
ApprovalSummary[] — each element:
string
required
string
required
string
required
object
required
string,null
required
string,null
required
string
required
string,null
required
string,null
required
string
required
string
required
Status codes
| Code | Meaning |
|---|---|
200 | Successful Response |
422 | Validation Error |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.computer.stateset.app/api/v1/approvals' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tool_name": "string",
"tool_input": {},
"reasoning": "string",
"screenshot_key": "string",
"status": "pending",
"review_comment": "string",
"expires_at": "2026-08-31T14:22:05Z",
"created_at": "2026-08-31T14:22:05Z",
"updated_at": "2026-08-31T14:22:05Z"
}
]
Last modified on September 21, 2026