Organizations and Projects

Returns one budget with its spend in the current interval.

get/orgs/{orgID}/budgets/{budgetID}

Request

  • Base URL
    https://api.omnara.com/v1
  • Auth
    • HTTP bearer
    • or API key in cookie __Host-omnara_session

Path parameters

orgID, string required
budgetID, string required

Response

The budget.

Budget required
id, string required
org_id, string required
scope, union required
interval, 'day' | 'week' | 'month' | 'lifetime' required

How often spend resets, in UTC: day at midnight, week on Monday, month on the 1st. lifetime never resets and counts spend recorded since budgets became available.

amount_usd, string required

Amount in USD as a positive decimal string.

usage, BudgetUsage

Spend in the current interval. Populated when the budget is returned by the list or get endpoint.

created_at, string date-time required
updated_at, string date-time required

Changes