Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/observability / / CostScope

Type Alias: CostScope

ts
type CostScope = "run" | "session" | "agent" | "user";

Defined in: packages/observability/src/cost/types.ts:17

Aggregation scope used by CostTracker.usage. The framework tracks four canonical scopes; deployments needing additional dimensions can build them by registering listeners on CostTracker.onRollup(...).

Stable