Get billing AI credit usage report for an organization
Gets a report of AI credit usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.
Note: Only data from the past 24 months is accessible via this endpoint.
Path parameters
The organization name. The name is not case sensitive.
Query parameters
If specified, only return results for a single year. The value of year is an integer with four digits representing a year. For example, 2025. Default value is the current year.
If specified, only return results for a single month. The value of month is an integer between 1 and 12. Default value is the current month. If no year is specified the default year is used.
If specified, only return results for a single day. The value of day is an integer between 1 and 31. If no year or month is specified, the default year and month are used.
The user name to query usage for. The name is not case sensitive.
The model name to query usage for. The name is not case sensitive.
The product name to query usage for. The name is not case sensitive.
Response
Response when getting a billing AI credit usage report