Troupeby AliveDocsSign in

Reference

usage

Metered usage of an org, per period. Index · shared schemas · errors.

ProcedureSummaryRESTMCP toolStability
usage.getAn org's (or one project's) usage for a calendar month, per dimensionGET—experimental

usage.get

An org's (or one project's) usage for a calendar month, per dimension

RESTGET /v1/usage/get (input as query parameters)
RPC/rpc/v2/usage/get
MCPnot a tool (a cloud platform procedure; the cloud MCP surface is the curated device tools); hints: read-only, idempotent
Authusage:read
Tenancyorg
Troupe Cloudanswered by the control plane
Stabilityexperimental, since 1.0

Input:

TypeScript
{ orgId: OrgId; projectId?: ProjectId; month?: Month }

Output:

TypeScript
{
  orgId: OrgId
  projectId?: ProjectId
  month: string
  periodStart: Timestamp
  periodEnd: Timestamp
  lines: { dimension: string; unit: string; quantity: Decimal }[]
}

Errors: U, NOT_FOUND.

Named types: Decimal, Month, OrgId, ProjectId, Timestamp.

esc

    Type to search every page, the protocol reference and the cloud API.