input_tokens: int

The number of input tokens used by the agent.

formatint64
input_tokens_details: InputTokensDetails

A breakdown of the agent’s input token usage.

cached_tokens: int

The number of input tokens retrieved from the prompt cache.

formatint64
output_tokens: int

The number of output tokens generated by the agent.

formatint64
output_tokens_details: OutputTokensDetails

A breakdown of the agent’s output token usage.

reasoning_tokens: int

The number of output tokens used for reasoning.

formatint64
total_tokens: int

The total number of input and output tokens used by the agent.

formatint64