v1

latestOpenAPI 3.1.02026-07-22128346287.7 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
unfinished_call_idsstring[]