input_tokens: Integer

The number of input tokens used by the agent.

formatint64
input_tokens_details: InputTokensDetails{ cached_tokens}

A breakdown of the agent’s input token usage.

cached_tokens: Integer

The number of input tokens retrieved from the prompt cache.

formatint64
output_tokens: Integer

The number of output tokens generated by the agent.

formatint64
output_tokens_details: OutputTokensDetails{ reasoning_tokens}

A breakdown of the agent’s output token usage.

reasoning_tokens: Integer

The number of output tokens used for reasoning.

formatint64
total_tokens: Integer

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

formatint64