---
title: "List notification events"
method: GET
path: "/v1/ai-cost-management/notification-events"
tags: ["budgets"]
---

# List notification events

`GET /v1/ai-cost-management/notification-events`

## Request

- Base URL: `https://global.api.konghq.com`
- URL: `https://global.api.konghq.com/v1/ai-cost-management/notification-events`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Returns a page of the organization's threshold events, newest first unless the request sets `sort`. Each event is a recorded threshold crossing of a budget's notification rule. `budget` is a reference unless the request sends `expand=budget`, which renders the full budget, so a list can show each budget's name and scope without reading the budget. Channel tests are notification events too, but this list never includes them.

Events with the same `fired_at` are ordered by `budget.id`, then by `threshold.percent`, then by `value`. Filters on `deliveries.status` and `deliveries.channel.id` select events with at least one matching delivery. When both are present, they must match the same delivery.

For a caller whose access covers only particular principals or groups, the list holds only the threshold events of the budgets that caller can read. A caller who sees only their own derived budget reads only that derived budget's events, and none on a budget with `each` set to `subject_id`.

## Query parameters

- `filter` AICostNotificationEventFilterParameters: Filters on the threshold events' fields. Every filter must match, and a bare value means `eq`. - `fired_at`: `eq`, `gt`, `gte`, `lt`, and `lte`. - `budget.id`, `deliveries.status`, and `deliveries.channel.id`: `eq`, `neq`, and `oeq`. A delivery filter matches an event when at least one of its deliveries matches, and `deliveries.status` and `deliveries.channel.id` together must match the same delivery. Any other filter key fails with `400`. UUIDs compare case-insensitively, and `deliveries.status` accepts only the exact values `pending`, `delivered`, and `failed`.
  - `fired_at` union: Filters on the given datetime (RFC-3339) field value.
    - object
      - `eq` string, date-time, required: Value strictly equals given RFC-3339 formatted timestamp in UTC
    - object
      - `lt` string, date-time, required: Value is less than the given RFC-3339 formatted timestamp in UTC
    - object
      - `lte` string, date-time, required: Value is less than or equal to the given RFC-3339 formatted timestamp in UTC
    - object
      - `gt` string, date-time, required: Value is greater than the given RFC-3339 formatted timestamp in UTC
    - object
      - `gte` string, date-time, required: Value is greater than or equal to the given RFC-3339 formatted timestamp in UTC
  - `budget.id` UuidFieldFilter: Filter using **one** of the following operators: `eq`, `oeq`, `neq`
    - `eq` string: The field exactly matches the provided value.
    - `oeq` string: The field matches any of the provided values.
    - `neq` string: The field does not match the provided value.
  - `deliveries.status` union: Filters a field by its value with `eq`, `neq`, or `oeq`. Accepts `pending`, `delivered`, and `failed`. A bare value means `eq`.
    - 'pending' | 'delivered' | 'failed': The progress of one message to one channel: - `pending`: the message is queued, being sent, or waiting for a retry. - `delivered`: 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. - `failed`: the message couldn't be delivered, and `error` says why.
    - AICostNotificationDeliveryStatusFieldEqualsFilter: Matches a value equal to the given one.
      - `eq` 'pending' | 'delivered' | 'failed', required: The value to match.
    - AICostNotificationDeliveryStatusFieldNEQFilter: Matches a value other than the given one.
      - `neq` 'pending' | 'delivered' | 'failed', required: The value to exclude.
    - StringFieldOEQFilter: Returns entities that exact match any of the comma-delimited phrases in the filter string.
      - `oeq` string, required
  - `deliveries.channel.id` UuidFieldFilter: Filter using **one** of the following operators: `eq`, `oeq`, `neq`
    - `eq` string: The field exactly matches the provided value.
    - `oeq` string: The field matches any of the provided values.
    - `neq` string: The field does not match the provided value.
- `sort` string
- `page[size]` integer
- `page[after]` string
- `page[before]` string
- `expand` string

## Response `200`

A page of threshold events.

- object
  - `data` AICostNotificationThresholdEvent[], required: The threshold events on this page, in `sort` order. Channel tests never appear in this list.
    - `id` string, uuid, required: Contains a unique identifier used for this resource.
    - `budget` union, required: The limit budget whose threshold was crossed: a reference by default, or the full budget when the request sends `expand=budget`.
      - AICostLimitBudget: A limit budget sets a spending limit on the usage in its scope for each budget window. It has a balance, and it can have a notification rule that alerts as spend reaches shares of the limit.
        - `id` string, uuid, required: Contains a unique identifier used for this resource.
        - `name` string, required: A human-readable name for the budget.
        - `labels` Labels, required: Key-value metadata on the budget. The budget list can filter by label. Balances and notification rules ignore labels.
        - `managed_by` ManagedBy, required: Identifies the tool that manages this resource, such as `{"tool": "terraform-provider-konnect"}`. The service stores the value and never acts on it.
        - `scope` object, required: The usage the budget covers.
          - `filters` AICostBudgetScopeFilter[], required: The filters that select the usage the budget counts. Usage must match every filter. An empty list covers all of the organization's usage.
            - union: One filter in a budget scope: a predicate on one usage field, or a group that combines filters with `and` or `or`.
              - …
          - `each` union, required: The field that splits the budget. With `each`, the limit applies separately to every value of that field, such as each subject. Each value gets its own derived budget, and usage without a value for the field belongs to none of them. A fixed usage field or `tags.<key>`. `null` for a pooled budget, whose limit applies to all its usage together, and always `null` on an exemption.
            - 'subject_type' | 'subject' | 'subject_id' | 'group' | 'team' | 'model' | 'provider' | 'request_mode': A usage field that a budget scope can filter on, and that `each` can split a budget by: - `subject`: the subject reference, such as `principal/{uuid}`. Equal identifiers from different identity systems stay distinct. - `subject_id`: the subject's identifier without its type, which pools equal identifiers across identity systems. - `subject_type`: the subject's identity system: `principal`, `consumer`, or `oidc`. - `group`: the usage's group references. Usage can carry several groups. `eq` and `in` match when any of them matches. `neq` and `nin` match only usage with at least one group, and exclude it when any of its groups matches. - `team`: the usage's Kong Identity team references, with the membership rules of `group`. - `model`: the model that the provider reports as served. - `provider`: the provider that served the invocation. - `request_mode`: how the invocation was served: `stream`, `oneshot`, or `realtime`. A scope can also use `tags.<key>` for the value of one tag.
            - string
        - `priority` integer, required: The budget's priority, from 1 (highest) to 100 (lowest). You can filter and sort the budget list by it.
        - `created_by` string, uuid, nullable, required: The `id` of the user or system account that created the budget, which the server records. A person with a budget of their own can replace and delete only the budgets they created. `null` for a budget created before the service recorded creators.
        - `created_at` string, date-time, required: An ISO-8601 timestamp representation of entity creation date.
        - `updated_at` string, date-time, required: An ISO-8601 timestamp representation of entity update date.
        - `effect` 'limit', required: Always `limit` for a limit budget, which carries its settings in `limit`, `window`, and `posture`.
        - `limit` AICostMoney, required: The spending limit for each budget window. With `each`, every derived budget gets this 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`.
        - `window` object, required: The budget window: the period the limit applies to, such as a calendar month. When one window ends, the next starts.
          - `type` 'fixed', required: The kind of budget window. Always `fixed`: windows of length `interval` follow each other, aligned to `anchored_at`.
          - `interval` string, required: The length of each budget window, as an ISO 8601 duration such as `P1M` for a month or `P1D` for a day.
          - `anchored_at` string, required: A time when a budget window starts. Windows start a whole number of intervals before or after it. The intervals count in the local time of its time zone, so calendar units such as months stay aligned to the calendar. A window that would start on a day its month doesn't have, such as the 31st, starts on the month's last day. A date-time with a UTC offset and an IANA time zone in brackets, such as `2026-01-01T00:00:00+01:00[Europe/Budapest]`.
        - `posture` 'advisory' | 'enforce', required: How the budget responds when spend reaches its limit.
        - `validity` 'null', nullable, required: Always `null`, because only an exemption has `validity`.
      - AICostBudgetReference: A reference to one of the organization's budgets by its `id`.
        - `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
    - `kind` 'threshold', required: Always `threshold` for a threshold event.
  - `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.
- `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.

## 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/notification-events/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)
