---
type: api
title: Get a budget for the organization.
description: Retrieves a budget for the specified organization. Admins receive any budget in the organization. Non-admins receive organization-scoped budgets with 403 Forbidden; cloud-resource-scoped budgets are returned only when all scope values are instances they can access, otherwise 403 Forbidden.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-billing/operation/operation-getbudgetv1
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-billing/operation/operation-getbudgetv1
products:
  - Elastic Cloud Hosted
---

# Get a budget for the organization.

- Server: `https://cloud.elastic.co` (Public)

## Paths

- `GET` `/api/v1/billing/organization/{organization_id}/budgets/{budget_id}`

#### Path Parameters

- `organization_id` (string)
  The organization ID
- `budget_id` (integer)
  The budget ID

## Description

Retrieves a budget for the specified organization. Admins receive any budget in the organization. Non-admins receive organization-scoped budgets with 403 Forbidden; cloud-resource-scoped budgets are returned only when all scope values are instances they can access, otherwise 403 Forbidden.

## Responses

#### `200`

Budget successfully retrieved

`application/json`

- `active` (boolean)
- `alerts` ([] BudgetAlert)
  - `created_at` (string)
  - `id` (integer)
  - `last_exceeded_at` (string)
  - `operator` (enum)
    Values: `gte`
  - `threshold` (integer)
  - `threshold_type` (enum)
    Values: `percentage`
- `amount` (integer)
- `created_at` (string)
- `id` (integer)
- `name` (string)
- `period` (enum)
  Values: `monthly`
- `recipient_group` ([] enum)
  Values: `organization-admins`, `billing-admins`, `resource-viewers`, `resource-editors`, `resource-admins`
- `scope_type` (enum)
  Values: `organization`, `cloud_resource`
- `scope_values` ([] string)
- `window` ({} BudgetWindow)
  Recurring budget window. Allowed (repeat_unit, repeat_every) pairs: daily (day, 1), weekly (week, 1), monthly (month, 1), quarterly (month, 3), yearly (year, 1). Windows reset at 00:00 UTC; spend is counted from the later of the window start and the budget creation time.
  - `repeat_every` (integer)
  - `repeat_unit` (enum)
    Values: `day`, `week`, `month`, `year`
  - `reset_on` ({} BudgetResetOn)
    The user's reset selection. Only the fields required by the window frequency are set: weekly uses weekday, monthly uses day, quarterly uses month, yearly uses month and day. Days 29-31 clamp to the last day of shorter months, recomputed every period from this selection (day 31 resets on Jan 31, Feb 28, Mar 31, Apr 30; Feb 29 resets on Feb 28 in non-leap years).
    - `day` (integer)
      Day of the month, 1 to 31.
    - `month` (enum)
      Values: `jan`, `feb`, `mar`, `apr`, `may`, `jun`, `jul`, `aug`, `sep`, `oct`, `nov`, `dec`
    - `weekday` (enum)
      Values: `mon`, `tue`, `wed`, `thu`, `fri`, `sat`, `sun`
  - `start_date` (string)
    Read-only. Start of the current window as a UTC date (YYYY-MM-DD), computed by the server from reset_on.
#### `403`

Not allowed to read this budget

#### `404`

Budget not found

#### `500`

Internal server error

## Code Examples

#### Console

```console
GET /api/v1/billing/organization/{organization_id}/budgets/{budget_id}
```

#### curl

```curl
curl -X GET "https://cloud.elastic.co/api/v1/billing/organization/{organization_id}/budgets/{budget_id}"
```

