Skip to main content
GET
Get Approval Count
This endpoint counts pending approvals. With user isolation enabled, non-admin requests are scoped to the user ID in the JWT even when user_id is supplied. Authentication failures can return 401, and databases without approval support can return 503; the current OpenAPI operation declares only 200 and 422.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

user_id
string | null

Response

Successful Response

Response model for pending approval count.

count
integer
required