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
Name | Type | Required | Description |
---|---|---|---|
X-API-Key | string | No |
Responses
200
Successful Response
{
"$ref": "#/components/schemas/CreditAllocationResponse"
}
422
Validation Error
{
"$ref": "#/components/schemas/HTTPValidationError"
}