budget(budgetId: ID!): Budget!Arguments
Response
ReturnsBudget!. Open the type for its fields and nested types.
Types marked with
! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Get a budget and its usage for the current month.
budget(budgetId: ID!): Budget!| Argument | Type | Required | Description |
|---|---|---|---|
budgetId | ID! | Yes | Budget ID. A budget you cannot manage is masked as missing and fails with resource-not-found (404). |
Budget!. Open the type for its fields and nested types.
| Field | Type |
|---|---|
id | ID! |
scope | BudgetScope! |
monthlyLimitCredits | Float! |
monthlyLimitUsd | Float! |
status | BudgetStatus! |
createdAt | String! |
updatedAt | String! |
! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
query Budget($budgetId: ID!) {
budget(budgetId: $budgetId) {
id
createdAt
updatedAt
monthlyLimitCredits
monthlyLimitUsd
}
}
{
"budgetId": "00000000-0000-4000-8000-000000000001"
}