Skip to main content
objectConsumptionBudget

Fields

What the budget counts.

What the budget caps.

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

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.

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

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

updatedAt

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