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
  • URL: https://api.connic.co/v1/projects/{project_id}/approvals
  • Auth: HTTP bearer

Path parameters

project_idstring uuid required

ID of the project the API key belongs to.

Query parameters

environment_idstring uuid required

Environment to list approval requests from.

run_idstring 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_namestring nullable

Only requests from this agent.

limitinteger

Maximum number of requests to return.

offsetinteger

Number of requests to skip.

Response

Successful Response

totalinteger required

Approval requests matching the filters across all pages.

Changes

No recorded changes to this operation across all 1 revision of this API.