Skip to content

List pending approvals

GET
/api/v1/approvals

Returns all actions awaiting human approval for the authenticated tenant, ordered by creation time.

Authorizations

Parameters

Query Parameters

limit

Maximum number of approvals to return

integer
default: 20 >= 1 <= 100

Maximum number of approvals to return

offset

Number of approvals to skip

integer

Number of approvals to skip

Responses

200

Successful Response

Envelope response for the approval list endpoint.

Attributes: data: The approval list payload. meta: Standard response metadata.

object
data
required

Inner data payload for the approval list response.

Attributes: approvals: List of pending approval items. total: Total number of pending approvals.

object
approvals
Array<object>

A single pending approval in the queue.

Attributes: id: Unique identifier for this approval item. agent_role: The agent that requested the action. action_type: Machine-readable action identifier. description: Human-readable description of the proposed action. reasoning: Why the engine decided this needs approval. urgency: How time-sensitive this approval is. estimated_impact: Estimated business impact of the action. created_at: When this item was added to the queue. source: Origin queue (“decision” | “workflow_gate”). workflow_run_id: Workflow run UUID when source is workflow_gate.

object
action_type
required
string
agent_role
required
string
created_at
required
string format: date-time
description
required
string
estimated_impact
object
key
additional properties
Any of:
string
id
required
string
reasoning
string
""
source
string
default: decision
urgency
string
default: normal
workflow_run_id
Any of:
string
total
integer
meta

Standard metadata included in every API response.

Attributes: request_id: Unique identifier for this request. timestamp: When the response was generated.

object
request_id

Unique identifier for this request

string
timestamp

When the response was generated

string format: date-time

422

Validation Error

object
detail
Array<object>
object
ctx
object
input
loc
required
Array
msg
required
string
type
required
string