> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paradime.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ConsumptionBudget

> A monthly cap on consumption. A person's DinoAI use counts against their `USER` budget, then their workspace's and the company's; an agent's against its `AGENT` budget, then `ALL_AGENTS`, the workspace's and the company's. Use stops when any budget on its path runs out, on companies where DinoAI budgets are turned on. A target with no budget is unlimited.



**Kind**: `object`

## Fields

**`unit`**: `ConsumptionUnit!`

What the budget counts.

---

**`scope`**: `ConsumptionBudgetScope!`

What the budget caps.

---

**`workspace`**: `Workspace`

The workspace it caps; null for `PLATFORM`.

---

**`userUid`**: `String`

The uid of the person it caps, for `USER`. It names the target even when that person has never been a member of the workspace; `user` is then null.

---

**`user`**: `User`

The person it caps, for `USER`; null for other scopes, or when the person has never been a member of the workspace. Needs `users:admin:read`.

---

**`agentSlug`**: `String`

The slug runs name the agent it caps by, for `AGENT`. It names the target even while no agent of the workspace is defined with it yet; `agent` is then null.

---

**`agent`**: `DinoAiAgentDefinition`

The agent it caps, for `AGENT`; null for other scopes, or while no agent of the workspace is defined with the slug runs name it by. Needs `dinoai:admin:read`.

---

**`monthlyAllowance`**: `BigInt`

How many units the target may spend in a month; null when the target has no budget.

---

**`updatedAt`**: `DateTime`

When the budget was last set; null when it has none.



## Related topics

- [Administration API: DinoAI](https://docs.paradime.io/developers/graphql-api/admin-api/dinoai.md)
- [Budget & Consumption](https://docs.paradime.io/products/dino-ai/budget-and-consumption.md)
- [Budget & Consumption for DinoAI credits](https://docs.paradime.io/changelog/2026-07-29/budget-and-consumption.md)
- [Budgets](https://docs.paradime.io/products/radar/cost-management/budgets.md)
- [Administration API: Usage](https://docs.paradime.io/developers/graphql-api/admin-api/usage.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.