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 and authorization failures can return 401 or 403. Databases without approval support return 503.

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