Skip to main content

Get Usage History

GET /v1/credits/usage

Get user's credit usage history.

Parameters

NameTypeRequiredDescription
periodstringNo
usage_typestringNo
limitintegerNo
X-API-KeystringNo

Responses

200

Successful Response

{
"type": "array",
"items": {
"$ref": "#/components/schemas/CreditUsageResponse"
},
"title": "Response Get Usage History V1 Credits Usage Get"
}

422

Validation Error

{
"$ref": "#/components/schemas/HTTPValidationError"
}