List API-key budgets
List configured key budgets with current-month usage and estimated spend. An API-key or OAuth caller sees only keys in its own environment; a dashboard session sees the whole workspace.
/api/v2/budgetsAuthorizationBearer token (Anlyon API key) · headerrequiredWorkspace API key sent as Authorization: Bearer <key>.
better-auth.session_tokenAPI key · cookierequiredBrowser session used by dashboard-only operations.
X-Request-IdstringOptional caller correlation ID. Unsafe or oversized values are replaced.
Budgets returned.
successbooleanrequiredtruedataBudget[]requiredShow propertiesHide properties
BudgetworkspaceIdstring<uuid>requiredapiKeyIdstring<uuid>requiredmonthlyCostCentsCapinteger | nullrequireddimensionCapsBudgetDimensionsrequiredShow propertiesHide properties
messagesintegereventPublishesintegercacheLookupsintegermemoryOpsintegeractionInvokesintegeralertThresholdnumberrequiredenabledbooleanrequiredusageobjectrequiredShow propertiesHide properties
messagesintegerrequiredeventPublishesintegerrequiredcacheLookupsintegerrequiredmemoryOpsintegerrequiredactionInvokesintegerrequiredestimatedCostCentsnumberrequiredreconciliationRequiredbooleanrequiredLegacy current-month usage is unknown. Budgeted admissions return 503 BUDGET_RECONCILIATION_REQUIRED until an operator imports a verified usage floor; displayed usage is incomplete while true.
alertedAtstring<date-time> | nullrequiredUnauthorized - Invalid or missing API key
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectAuthenticated credential lacks the required scope or workspace access.
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectToo Many Requests - Rate limit exceeded
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobject
