Developer API
Get Available Plans
Retrieve available API plans and your current plan details
Authorization
ApiKeyAuth X-API-Key<token>
API key for authentication. Get yours from the Developer Dashboard.
In: header
Response Body
application/json
curl -X GET "https://api.brainus.lk/api/v1/dev/plans"{
"current_plan": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "Free",
"description": "string",
"rate_limit_per_minute": 10,
"rate_limit_per_day": 1000,
"monthly_quota": 10000,
"price_lkr": 0,
"allowed_models": [
"string"
]
},
"available_plans": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "Free",
"description": "string",
"rate_limit_per_minute": 10,
"rate_limit_per_day": 1000,
"monthly_quota": 10000,
"price_lkr": 0,
"allowed_models": [
"string"
]
}
]
}Empty