approvals

List approvals

List tool-call approval requests in an environment, pending requests first, then newest first.

Pending requests whose run has already ended are left out.

Required permission: approvals.view.

get/v1/projects/{project_id}/approvals

Request

  • Base URL
    https://api.connic.co
  • Auth
    HTTP bearer

Path parameters

project_id, string uuid required

ID of the project the API key belongs to.

Query parameters

environment_id, string uuid required

Environment to list approval requests from.

run_id, string uuid nullable

Only requests from this agent run.

status, 'pending' | 'approved' | 'rejected' | 'timeout' nullable

Only requests with this status. timeout covers requests that expired or whose run ended first.

agent_name, string nullable

Only requests from this agent.

limit, integer

Maximum number of requests to return.

offset, integer

Number of requests to skip.

Response

Successful Response

PublicApprovalListResponse required
approvals, ApprovalResponse[] required

Approval requests on this page, pending ones first.

total, integer required

Approval requests matching the filters across all pages.

Changes

No recorded changes to this operation across all 17 revisions of this API.