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

# Get a budget's notification rule

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

## Request

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

Returns a limit budget's notification rule: the thresholds at which it fires, the channels that receive the alerts, and the wording of its messages. A budget has at most one rule.

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`. An exemption has no rule, so if the budget is an exemption, the request fails with `400`.

## Path parameters

- `budgetId` string, uuid, required

## Response `200`

The notification rule.

- AICostNotificationRule
  - `budget` AICostBudgetReference, required: The budget the rule belongs to.
    - `id` string, uuid, required: The `id` of the budget, which the budget operations take as `budgetId`.
  - `thresholds` AICostNotificationThreshold[], required: The shares of the limit at which the rule fires. Each threshold fires at most once per budget window, derived budget, and limit, and changing the limit lets the thresholds fire again. Ordered by `percent`, lowest first.
    - `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.
  - `channels` object[], required: The channels that receive the rule's alerts. At most 10 channels, each listed once. Reads return them ordered by channel name.
    - `id` string, uuid, required: The identifier of one of the organization's notification channels.
  - `message` object, nullable, required: The wording of the rule's alerts, or `null` when the rule uses the built-in wording.
    - `subject` string, required: The subject line of the rule's alerts, as plain text that can contain placeholders such as `{{budget.name}}`.
    - `body` string, required: The text of the rule's alerts, as plain text that can contain placeholders such as `{{budget.name}}`. Blank lines separate paragraphs.
  - `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.
  - `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.

## Other responses

- `400`: The budget is an exemption, which has no notification rule. `invalid_parameters` names `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/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)
