Skip to main content

Module types

Module types 

Source
Expand description

Type definitions for Anthropic usage API responses.

This module defines the structures that map to the JSON response from the Anthropic OAuth usage API.

Structsยง

ExtraUsage
Extra usage billing information.
UsageData
Main usage data returned by get_usage().
UsagePeriod
Usage data for a specific time period.