Get approval statistics
GET
Get statistics about approval requests
header
X-API-Key<token>API key authentication using X-API-Key header
Default Response
application/json- response
Approval request counts by status
success*booleanmessage*stringstats*Approval request counts by status
curl -X GET 'http://localhost:3003/v1/approval/stats'Example Response
{ "success": true, "message": "string", "stats": { "pending": 0, "approved": 0, "rejected": 0, "expired": 0, "auto_approved": 0, "totalRequests": 0 }}