Skip to main content
objectCcusageAgentUsage

Fields

agentId
ID!

Identifier of the related agent.

agentName
String!

The agent name associated with this Claude Code usage agent usage.

hostname
String!

Host name reported by this Claude Code usage agent usage.

sources
[String!]!

Sources associated with this Claude Code usage agent usage.

inputTokens
Float!

The input tokens associated with this Claude Code usage agent usage.

outputTokens
Float!

The output tokens associated with this Claude Code usage agent usage.

cacheCreationTokens
Float!

The cache creation tokens associated with this Claude Code usage agent usage.

cacheReadTokens
Float!

The cache read tokens associated with this Claude Code usage agent usage.

totalTokens
Float!

The total tokens associated with this Claude Code usage agent usage.

totalCost
Float!

The total cost associated with this Claude Code usage agent usage.