tickets

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.

get/tickets/summary

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

prioritystring

low | normal | high | urgent

assigneestring

assignee account id

unassignedboolean

true = assignee IS NULL

requesterstring

requester account id

requester_group_idstring uuid

only tickets whose requester is a member of this group; 404 group_not_found if the group is not visible to you

sourcestring

exact source: api | support_contact | automated | email

qstring

same semantics as GET /tickets

tenant_idstring uuid

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

all_tenantsboolean

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

successboolean

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.