Skip to main content

AppComputeBudgetInfo

An app's compute allowance in units per minute, spanning the expression engine and both WASM tiers. Absent when no allowance has been set for the app, in which case the app is measured against the platform reference allowance and is never refused.

type AppComputeBudgetInfo {
appId: BigInt!
unitsPerMinute: BigInt!
enforce: Boolean!
note: String
updatedAt: DateTime!
}

Fields

AppComputeBudgetInfo.appId ● BigInt! non-null scalar

The app the allowance belongs to.

AppComputeBudgetInfo.unitsPerMinute ● BigInt! non-null scalar

Compute units this app may consume per minute.

AppComputeBudgetInfo.enforce ● Boolean! non-null scalar

When false the allowance is observed and recorded and nothing is refused (the ship default). When true, exceeding it refuses further model invokes until the minute rolls. Enforcement additionally requires the fleet kill switch to be in its default position, so a true here can still be observing.

AppComputeBudgetInfo.note ● String scalar

Why this number was chosen. Recorded because an allowance with no stated basis is a number the next operator cannot safely change.

AppComputeBudgetInfo.updatedAt ● DateTime! non-null scalar

When the allowance was last written.

Returned By

appComputeBudget query ● setAppComputeBudget mutation