List all subscriptions¶
GET /api/v1/all-subscriptions
Returns all MaaSSubscription resources across the cluster. K8s calls: GET /k8s/v1/maassubscription
Authorization¶
Responses¶
| Status | Description | Response body |
|---|---|---|
200 OK | List of subscriptions | object
|
401 Unauthorized | Unauthorized | None |
403 Forbidden | Forbidden. Insufficient permissions to list subscriptions. | None |
500 Internal Server Error | Internal Server Error |
|
200 OK response body
| Property | Type | Required | Description |
|---|---|---|---|
data | array of MaaSSubscription | No |
Example request¶
Example response¶
200 OK, application/json
{
"data": [
{
"name": "premium-team-sub",
"namespace": "maas-system",
"phase": "Active",
"inferencePriority": 10,
"owner": {
"groups": [
{
"name": "premium-users"
}
]
},
"modelRefs": [
{
"name": "llama-2-7b-chat",
"namespace": "maas-models",
"tokenRateLimits": [
{
"limit": 100000,
"window": "24h"
}
]
}
],
"creationTimestamp": "2025-03-01T10:00:00Z"
}
]
}