Tickets
List_ only aggregates
Returns the distinct values, with hit counts, that the given field_keys take across the tickets matching the filter, for populating filter inputs. At most 1000 distinct values come back per field key, no tickets are returned alongside them, and a field key that matches nothing fails the whole call.
GET
/api/{tenant:minlength(2)}/v{version:apiVersion}/tickets/aggregate
Request arguments
| Name | Type | Source |
|---|---|---|
| field_keys | String[] | Query |
| filter | DTO_ticket_filter | Query |
Request body example
Response
Response body example
DTO_ticket_filter
| Name | Type | ReadOnly | Description |
|---|---|---|---|
| include_hidden | Boolean | Include hidden | |
| include_soft_deleted | Boolean | Include soft deleted | |
| status | String | Status | |
| sort_by_key | String | Sort by key | |
| response_field_keys | String[] | Response field keys | |
| filters | String[] | Filters | |
| include_aggregations | Boolean | Include aggregations | |
| include_imported | Boolean | Include imported | |
| search | String | Search | |
| sort_order | ENUM sort_order | Sort order | |
| take | Int32 | Take | |
| page | Int32 | Page |
ENUM sort_order
| Value | Name | Description |
|---|---|---|
| 0 | ASC | ASC |
| 1 | DESC | DESC |
Generated Aug 4, 2026 18:37