Schemas
Usage
Response and request schema
Schema
object
Current financial usage summary plus recent operational activity, ordered newest date first and then by endpoint. The current reporting period is the UTC calendar month; recent activity covers the most recent 30 UTC calendar dates, including today.
Additional properties: false.
| Field | Type | Description |
|---|---|---|
balance_milli_credits | integer (int64) · required | Credits currently available for new billable requests. |
current_period | UsagePeriod · required | Additional properties: |
recent_activity | array of UsageActivity · required |
Related schemas: UsagePeriod, UsageActivity
Complete OpenAPI definition
{
"additionalProperties": false,
"description": "Current financial usage summary plus recent operational activity, ordered newest date first and then by endpoint. The current reporting period is the UTC calendar month; recent activity covers the most recent 30 UTC calendar dates, including today.",
"properties": {
"balance_milli_credits": {
"description": "Credits currently available for new billable requests.",
"format": "int64",
"type": "integer"
},
"current_period": {
"$ref": "#/components/schemas/UsagePeriod"
},
"recent_activity": {
"items": {
"$ref": "#/components/schemas/UsageActivity"
},
"type": "array"
}
},
"required": [
"balance_milli_credits",
"current_period",
"recent_activity"
],
"type": "object"
}