Skip to main content

Get Current Allocation

GET /v1/credits/allocation

Get user's current credit allocation.

Returns allocation details if available, or empty allocation data with zero credits if the user has no active allocation. Always returns 200 status code.

Parameters

NameTypeRequiredDescription
X-API-KeystringNo

Responses

200

Successful Response

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

422

Validation Error

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