v29

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

Trace Usage

Compute per-call usage for a trace, with descendant rollup.

post/trace/usage

Request body

project_idstring required
include_costsboolean

If true, include cost calculations in the usage.

limitinteger

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

Response

Successful Response

call_usageobject