---
title: "Get all budgets"
method: GET
path: "/budgets"
---

# Get all budgets

`GET /budgets`

Retrieves all synthetic performance budgets for a team, and the data used to evaluate the budget. This endpoint will only retrieve budgets from dashboards that are visible to the entire team. Budgets in private dashboards are not included in the response.

## Query parameters

- `deploy_id` integer

## Response `200`

200

- object
  - `budgets` object[]
    - `budget_id` integer
    - `metric` string
    - `metric_full_name` string
    - `metric_type` string
    - `metric_suffix` string
    - `absolute_threshold` number
    - `relative_threshold` unknown
    - `alert_after_n_tests` integer
    - `modified_at` integer
    - `created_at` integer
    - `notifications_enabled` boolean
    - `chart` object
      - `chart_id` integer
      - `title` string
      - `chart_type` string
      - `metric` string[]
      - `correlation_metrics` unknown[]
        - unknown
      - `correlation_stat` string
      - `stat` string
      - `site_ids` integer[]
      - `label` string[]
      - `region` string[]
      - `hostname` unknown[]
        - unknown
      - `con` unknown[]
        - unknown
      - `test_profile_name` string[]
      - `customer_data` unknown[]
        - unknown
      - `dashboard` object
        - `dashboard_id` integer
        - `name` string
    - `status` string
    - `largest_crossing` object
      - `status` string
      - `name` string
      - `latest_data` object[]
        - `x` integer
        - `y` number
        - `deploy_ids` unknown[]
          - unknown
        - `test_id` unknown
        - `aggregated_test_count` integer
      - `difference_from_threshold` number
    - `crossings` object[]
      - `status` string
      - `name` string
      - `latest_data` object[]
        - `x` integer
        - `y` number
        - `deploy_ids` unknown[]
          - unknown
        - `test_id` unknown
        - `aggregated_test_count` integer
      - `difference_from_threshold` number
  - `links` object
    - `self` string
    - `prev` unknown
    - `next` string
    - `last` string
  - `total` integer

---

[API](https://skmtc.net/speedcurve/apis/speedcurve-api.md) · [All operations](https://skmtc.net/speedcurve/apis/speedcurve-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/speedcurve/speedcurve-api/versions/bb573d4fb28a/schema)
