GET /api/licensing/status
Returns the current license tier and usage statistics for an organisation.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
organisation_id | string (UUID) | Yes | Organisation to check |
Authentication
Requires a valid session.
Response
Status: 200 OK
json
{
"license": {
"is_active": true,
"is_expired": false,
"tier": "pro"
},
"usage": {
"projects": {
"used": 2,
"limit": 5,
"at_capacity": false
},
"ai_tokens": {
"used": 12400,
"limit": 50000,
"at_capacity": false
},
"users": {
"used": 1,
"limit": 2,
"at_capacity": false
}
}
}Errors
| Status | Cause |
|---|---|
| 400 | Missing organisation_id |
| 401 | No valid session |