Organizations and Projects

Lists the organization's budgets, ordered by created_at then id ascending. scope_type=org returns organization-wide budgets; scope_type=project with project_id returns that project's budgets; scope_type=profile with project_id and agent_profile_id returns that profile's budgets; scope_type=agent with project_id and agent_id returns that agent's budgets. The ID filters require their scope_type.

get/orgs/{orgID}/budgets

Request

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

Path parameters

orgID, string required

Query parameters

scope_type, 'org' | 'project' | 'profile' | 'agent'
project_id, string

Project ID (proj_...).

agent_profile_id, string
agent_id, string
limit, integer

Maximum number of items to return in one page.

cursor, string

Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.

Response

Budgets matching the requested scope.

ListBudgetsResponse required
data, Budget[] required
next_cursor, string nullable required

Changes