Expand description
Foundational shared types: ModelId, Role, Usage, StopReason.
Structs§
- Cache
Creation Breakdown - Per-TTL breakdown of cache-creation tokens.
- ModelId
- Identifier for a Claude model.
- Server
Tool UseUsage - Counters for server-side tool invocations billed on this request.
- Usage
- Token usage and related counters returned on every response.
Enums§
- Role
- Conversation role for a message.
- Service
Tier - Service tier reported on a response.
- Stop
Reason - Why the model stopped producing output.