v29

latestOpenAPI 3.1.0raw.githubusercontent.com2026-02-0286184235.0 KB
Calls

Calls Usage

Compute aggregated usage for multiple root calls, with descendant rollup.

post/calls/usage

Request body

project_idstring required
call_idsstring[] required

Root call IDs to aggregate. Each result key corresponds to one input call ID.

include_costsboolean

If true, include cost calculations in the usage.

limitinteger

Maximum number of calls to process across all traces. Acts as a safety limit to prevent unbounded memory usage.

Response

Successful Response

call_usageobject