v1

latestOpenAPI 3.1.0Serval License2026-07-26202952779.1 KB
Approval Request API

Search Approval Requests

Search approval requests with filters such as resource type, result status, and date range.

post/v2/approval-requests/search

Request body

teamIdstring

The ID of the team. Required.

resourceType'APPROVAL_REQUEST_RESOURCE_TYPE_UNSPECIFIED' | 'APPROVAL_REQUEST_RESOURCE_TYPE_ACCESS_ALLOCATION' | 'APPROVAL_REQUEST_RESOURCE_TYPE_WORKFLOW_RUN'
resultsSvflowCommonModelsApprovalRequestResult[]

Filter by result statuses (multiple allowed).

createdAfterstring nullable

Filter by requests created after this timestamp (RFC3339 format).

createdBeforestring nullable

Filter by requests created before this timestamp (RFC3339 format).

pageSizeinteger nullable

Maximum number of results to return. Default is 1000, maximum is 5000.

pageTokenstring nullable

Token for pagination. Leave empty for the first request.

Response

Success

nextPageTokenstring nullable

Token for retrieving the next page of results. Empty if no more results.