---
title: "List a notification rule's firings"
method: GET
path: "/v1/ai-cost-management/budgets/{budgetId}/notification-rule/firings"
tags: ["budgets"]
---

# List a notification rule's firings

`GET /v1/ai-cost-management/budgets/{budgetId}/notification-rule/firings`

## Request

- Base URL: `https://global.api.konghq.com`
- URL: `https://global.api.konghq.com/v1/ai-cost-management/budgets/{budgetId}/notification-rule/firings`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Returns 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`.

## Path parameters

- `budgetId` string, uuid, required

## Query parameters

- `sort` string
- `page[size]` integer
- `page[after]` string
- `page[before]` string

## Response `200`

A page of firings.

- object
  - `data` object[], required: The firings on this page, in `sort` order.
    - `id` string, uuid, required: Contains a unique identifier used for this resource.
    - `budget` AICostBudgetReference, required: The budget whose threshold was crossed.
      - `id` string, uuid, required: The `id` of the budget, which the budget operations take as `budgetId`.
    - `threshold` AICostNotificationThreshold, required: The threshold that was reached.
      - `percent` integer, required: The share of the limit, as a whole percent. A value above 100 fires on spend beyond the limit. 1 to 1000.
    - `value` string, nullable, required: The value of the `each` field whose derived budget crossed the threshold, or `null` for a pooled budget.
    - `window` AICostTimeWindow, required: The budget window the evaluation measured. A crossing recorded after its window ended, such as one that late usage causes, has a `fired_at` at or after `window.ends_at`.
      - `starts_at` string, date-time, required: When the budget window starts, as an RFC 3339 timestamp in UTC.
      - `ends_at` string, date-time, required: When the budget window ends and the next one starts, as an RFC 3339 timestamp in UTC.
    - `limit` AICostMoney, required: The budget's limit when the crossing was recorded.
      - `value` string, required: The amount in major units of `currency`, as a canonical decimal string such as `4125.5` or `0.004372`: at most 9 fractional digits, no trailing fractional zeros, no exponent, and a leading `-` only when the amount is negative.
      - `currency` 'USD', required: The currency of `value`.
    - `consumed` AICostMoney, required: The spend that the evaluation counted when it recorded the crossing. With `each`, it's the spend of the derived budget in `value`. It can be higher than the threshold's share of the limit.
      - `value` string, required: The amount in major units of `currency`, as a canonical decimal string such as `4125.5` or `0.004372`: at most 9 fractional digits, no trailing fractional zeros, no exponent, and a leading `-` only when the amount is negative.
      - `currency` 'USD', required: The currency of `value`.
    - `fired_at` string, date-time, required: When the crossing was recorded, as an RFC 3339 timestamp in UTC.
    - `deliveries` union[], required: The deliveries of this firing: one message to each channel the rule listed when the firing was recorded, with its status. Channels deleted since then are left out. Only the highest threshold crossed so far sends alerts. The list is empty when a higher threshold fired before or together with this one for the same budget window, derived budget, and limit, or when the rule had no channels.
      - union
        - AICostNotificationDeliveryPending: A delivery of one firing's message to one channel, still in progress.
          - `channel` AICostNotificationChannelSummary, required: The channel the message goes to.
            - `id` string, uuid, required: The `id` of the channel, which the notification channel operations take as `channelId`.
            - `name` string, required: The channel's human-readable name.
            - `type` 'email' | 'slack', required: Whether the channel sends email or posts to Slack.
          - `updated_at` string, date-time, required: An ISO-8601 timestamp representation of entity update date.
          - `status` 'pending', required: The message is queued, being sent, or waiting for a retry.
          - `error` 'null', nullable, required: `null`, because the delivery hasn't failed.
        - AICostNotificationDeliveryDelivered: A delivery of one firing's message to one channel that Slack accepted, or that was queued for every email recipient.
          - `channel` AICostNotificationChannelSummary, required: The channel the message goes to.
            - `id` string, uuid, required: The `id` of the channel, which the notification channel operations take as `channelId`.
            - `name` string, required: The channel's human-readable name.
            - `type` 'email' | 'slack', required: Whether the channel sends email or posts to Slack.
          - `updated_at` string, date-time, required: An ISO-8601 timestamp representation of entity update date.
          - `status` 'delivered', required: Slack's webhook answered with a `2xx` status, or the email was queued for every recipient at Konnect's email service. A later rejection, suppression, or bounce by the email service doesn't change this status.
          - `error` 'null', nullable, required: `null`, because the delivery hasn't failed.
        - AICostNotificationDeliveryFailed: A delivery of one firing's message to one channel that failed.
          - `channel` AICostNotificationChannelSummary, required: The channel the message goes to.
            - `id` string, uuid, required: The `id` of the channel, which the notification channel operations take as `channelId`.
            - `name` string, required: The channel's human-readable name.
            - `type` 'email' | 'slack', required: Whether the channel sends email or posts to Slack.
          - `updated_at` string, date-time, required: An ISO-8601 timestamp representation of entity update date.
          - `status` 'failed', required: The message couldn't be delivered. `error` says why.
          - `error` union, required: Why the delivery failed.
            - 'slack_no_service' | 'slack_channel_not_found' | 'slack_channel_is_archived' | 'slack_action_prohibited' | 'slack_invalid_payload' | 'slack_user_not_found' | 'slack_team_disabled' | 'slack_invalid_token' | 'slack_redirected' | 'slack_invalid_target' | 'email_invalid_target' | 'mailbox_publish_failed' | 'email_render_failed' | 'transport_error' | 'attempts_exhausted' | 'window_ended'
            - string
  - `meta` CursorMeta, required: Pagination metadata.
    - `page` CursorMetaPage, required
      - `first` string, path: URI to the first page
      - `last` string, path: URI to the last page
      - `next` string, path, nullable, required: URI to the next page
      - `previous` string, path, nullable, required: URI to the previous page
      - `size` number, required: Requested page size

## Other responses

- `400`: A query parameter is invalid. `invalid_parameters` names each invalid parameter. An exemption also fails with this status, with `invalid_parameters` naming `budgetId`.
- `401`: The request has no valid access token. The token is missing, malformed, or expired, or it fails another check, and the response doesn't say which.
- `403`: The access token is valid, but its principal lacks the permission this operation requires. For an operation on one resource, the response doesn't reveal whether that resource exists.
- `404`: The organization has no budget with this identifier that the caller can see, or the budget has no notification rule.

## Changes

- **2026-11-19** `3b071797f6e4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/konnect-api-go-sdk/changes/v1/ai-cost-management/budgets/:budgetId/notification-rule/firings/get.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api-go-sdk.md) - [All operations](https://skmtc.dev/kong/apis/konnect-api-go-sdk/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4?raw)
