List a notification rule's firings
Changed onReturns a page of the firings of a budget's notification rule, newest first unless the request sets sort. A firing is a threshold crossing that the rule recorded. It has the fields of a threshold event, except that budget holds only the budget's id and there's no kind. Firings are kept for as long as the rule exists.
A caller who sees only their own derived budget reads only that derived budget's firings, and none on a budget with each set to subject_id.
If the budget has no rule, the organization has no budget with this identifier that the caller can see, or the identifier isn't a valid UUID, the request fails with 404. If the budget is an exemption, the request fails with 400.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
The id of the budget.
Query parameters
The order of the results, as a comma-separated list of fields in priority order. Each field can be followed by a space and asc or desc, and sorts in ascending order without one. The service breaks ties so that the order is unique.
Sortable fields: fired_at. Defaults to fired_at desc.
The number of results on each page.
1 to 100. Defaults to 20.
A cursor for the page after an earlier response's page. Clients take it from that response's meta.page.next link, which also carries the request's other parameters, and don't build or change it.
A request can't send both page[after] and page[before].
A cursor for the page before an earlier response's page. Clients take it from that response's meta.page.previous link, which also carries the request's other parameters, and don't build or change it.
A request can't send both page[after] and page[before].
Response
A page of firings.
The firings on this page, in sort order.
Pagination metadata.
Example response
{
"data": [
{
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"deliveries": [
{
"updated_at": "2022-11-04T20:10:06.927Z"
}
]
}
],
"meta": {
"page": {
"size": 10
}
}
}Changes
- info
endpoint added
- info