Get a budget and its usage for the current month.
Arguments
budgetIdID!requiredBudget ID. A budget you cannot manage is masked as missing and fails with resource-not-found (404).
Responses
query Budget($budgetId: ID!) { budget(budgetId: $budgetId) { id scope { kind projectId userId apiKeyId } monthlyLimitCredits monthlyLimitUsd status { used remaining resetsAt } createdAt updatedAt }}{ "data": { "budget": { "id": "string", "scope": { "kind": "string", "projectId": "string", "userId": "string", "apiKeyId": "string" }, "monthlyLimitCredits": 0, "monthlyLimitUsd": 0, "status": { "used": 0, "remaining": 0, "resetsAt": "string" }, "createdAt": "string", "updatedAt": "string" } }}The Budget! in data.budget.