Reference
Claude Code Usage
Reports usage of Claude Code
Part of the Anthropic inventory.
Scan settings
| Default scanning interval | Allowed scanning intervals | Data removal during incremental scan |
|---|---|---|
| Daily | Daily, Weekly, Bi-Weekly, Monthly, Never, Initial | Yes |
Properties
| Property | Type | Description | Automation placeholder |
|---|---|---|---|
| User | Claude User | User who used Claude Code. | {{ClaudeCodeUsage.ActorUser}} |
| User Name | String | User who used Claude Code. | {{ClaudeCodeUsage.ActorUserName}} |
| Key | String | Internal. | {{ClaudeCodeUsage.ApiKeyEncrypted}} |
| Commits By Claude Code | Int32 | Number of commits. | {{ClaudeCodeUsage.CommitsByClaudeCode}} |
| Initially Scanned | DateTime | Shows when this object was initially found in a scan. | {{ClaudeCodeUsage.CreatedTime}} |
| Display Name | String | {{ClaudeCodeUsage.DisplayName}} | |
| Estimated Cost | Double | Amount of estimated costs. | {{ClaudeCodeUsage.EstimatedCostAmount}} |
| Estimated Cost Currency | String | Currency of estimated costs. | {{ClaudeCodeUsage.EstimatedCostCurrency}} |
| Last scan update | DateTime | Shows when this object was last updated in a scan. If an object is found during a scan but no property has been changed this date will not change. | {{ClaudeCodeUsage.LastModifiedTime}} |
| Lines Of Code Added | Int32 | Number of added lines. | {{ClaudeCodeUsage.LinesOfCodeAdded}} |
| Lines Of Code Removed | Int32 | Number of removed lines. | {{ClaudeCodeUsage.LinesOfCodeRemoved}} |
| Organization | Claude Organization | Parent Organization of the User. | {{ClaudeCodeUsage.Organization}} |
| Organization Name | String | Parent Organization of the User. | {{ClaudeCodeUsage.OrganizationName}} |
| Pull Requests By Claude Code | Int32 | Number of pull requests. | {{ClaudeCodeUsage.PullRequestsByClaudeCode}} |
| Risk Score | Int32 | Stores risk score | {{ClaudeCodeUsage.RiskScore}} |
| Risk Score Update | DateTime | Stores risk score update | {{ClaudeCodeUsage.RiskScoreLastUpdate}} |
| Risk Score Value | String | Stores risk score value like Low_Low | {{ClaudeCodeUsage.RiskScoreValue}} |
| Usage at | DateTime | Datetime string indicating the usage date. | {{ClaudeCodeUsage.UsageDate}} |
Relations
| Relation | Service | Description |
|---|---|---|
| Claude Organization | Anthropic | All Claude organizations |
| Claude User | Anthropic | All Claude users |
Segments
This object does currently not have any segments.
Actions
This object does currently not have any actions.