Skip to main content
QUERY
runUsage(runId: ID!): RunUsageSummary

Arguments

runId
ID!
required

Identifier of the run.

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

Model usages associated with this run usage summary.

toolCalls

Tool calls associated with this run usage summary.

Query
Variables
Response