Query
Variables
Response
Queries
runUsage
Returns a run usage summary, or null when it cannot be found.
QUERY
runUsage(runId: ID!): RunUsageSummaryArguments
runId
ID!
required
Identifier of the run.
Returns
inputTokens
Int!
The input tokens associated with this run usage summary.
outputTokens
Int!
The output tokens associated with this run usage summary.
reasoningTokens
Int!
The reasoning tokens associated with this run usage summary.
cacheReadTokens
Int!
The cache read tokens associated with this run usage summary.
cacheWriteTokens
Int!
The cache write tokens associated with this run usage summary.
toolCallCount
Int!
Number of tool calls.
estimatedCost
Float
The estimated cost associated with this run usage summary. May be null when unavailable or not applicable.
modelUsage
[RunModelUsage!]!
Model usages associated with this run usage summary.
toolCalls
[RunToolCall!]!
Tool calls associated with this run usage summary.
Query
Variables
Response