AI Gateway

Get an AI Gateway budget's current period

Get the active accounting window, enforced capacity, and current spend.

get/api/v2/budgets/{id}/current-period

Request

Path parameters

idstring uuid required

Budget UUID.

Response

OK

Example response

{
  "data": {
    "attributes": {
      "budget_id": "11111111-1111-1111-1111-111111111111",
      "current_spend_microcents": 25000000,
      "default_capacity_microcents": 100000000,
      "effective_capacity_microcents": 120000000,
      "monitor_id": 12345678,
      "window_end": "2026-08-28T00:00:00Z",
      "window_start": "2026-08-27T00:00:00Z"
    },
    "id": "11111111-1111-1111-1111-111111111111",
    "type": "budget-periods"
  }
}

Changes

Changes to this operation have not been checked yet.