Ticket counts by status
Counts the caller-visible tickets per status under the SAME filters as GET /tickets (status itself is ignored — every status is reported). One query, no page cap: ?unassigned=true&source=support_contact is the true human queue depth, however deep it is.
Request
- Base URL: https://api.instruxi.dev/api/v1/enforcer
- URL: https://api.instruxi.dev/api/v1/enforcer/tickets/summary
- Auth: one of:
- API key in header Authorization
- API key in header X-API-Key
Query parameters
low | normal | high | urgent
assignee account id
true = assignee IS NULL
requester account id
only tickets whose requester is a member of this group; 404 group_not_found if the group is not visible to you
exact source: api | support_contact | automated | email
same semantics as GET /tickets
list this tenant instead of your own (default: the caller's own tenant, platform admins included). Another tenant requires the cross_tenant grant — 403 otherwise
list EVERY tenant (platform-wide admin view). Requires the cross_tenant grant — 403 otherwise. Mutually exclusive with tenant_id (400 conflicting_tenant_scope)
Response
OK
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.