Skip to main content

Usage

Access this class through the composio.usage property:

Methods

breakdown()

Usage for one metering entity type, grouped by a dimension. Experimental — shape may change in future releases.
Parameters Returns Promise<UsageBreakdownResponse> — Totals plus per-group rows Example

summary()

Usage totals per metering entity type for a time range. Experimental — shape may change in future releases.
Parameters Returns Promise<UsageSummaryResponse> — Totals keyed by entity type and the exact USD Instant charge Example