Skip to content

SubscriptionInfoResponse

Detailed subscription information with related resources

Type: object

Properties

Property Type Required Description
subscription MaaSSubscription Yes
modelRefs array of MaaSModelRefSummary Yes

MaaSModelRef resources referenced by this subscription

authPolicies array of MaaSAuthPolicy Yes

MaaSAuthPolicy resources associated with this subscription

Example

{
  "subscription": {
    "name": "premium-team-sub",
    "displayName": "Premium Team Subscription",
    "description": "This subscription is for the premium team",
    "namespace": "maas-system",
    "phase": "Active",
    "statusMessage": "successfully reconciled",
    "reason": "Reconciled",
    "status": "True",
    "conditionType": "Ready",
    "lastTransitionTime": "2026-01-01T00:00:00Z",
    "inferencePriority": 10,
    "inferenceObjectivesReady": {
      "type": "InferenceObjectivesReady",
      "status": "True",
      "reason": "Reconciled",
      "message": "Inference objectives are ready",
      "lastTransitionTime": "2026-01-01T00:00:00Z"
    },
    "owner": {
      "groups": [
        {
          "name": "premium-users"
        }
      ]
    },
    "modelRefs": [
      {
        "name": "llama-2-7b-chat",
        "namespace": "maas-models",
        "tokenRateLimits": [
          {
            "limit": 100000,
            "window": "24h"
          }
        ],
        "billingRate": {
          "perToken": "0.0001"
        },
        "objectiveName": "maas-models-as-a-service-gold-maas-model-user-inference-pool-a1b2c3d4e5",
        "targetPool": "maas-model-user-inference-pool",
        "ready": true,
        "reason": "ObjectiveReconciled",
        "message": "InferenceObjective sets priority 10"
      }
    ],
    "tokenMetadata": {
      "organizationId": "org-123",
      "costCenter": "engineering",
      "labels": {
        "key": "string"
      }
    },
    "creationTimestamp": "2024-01-31T09:30:00Z",
    "deletionTimestamp": "2024-01-31T09:30:00Z"
  },
  "modelRefs": [
    {
      "name": "llama-2-7b-chat",
      "namespace": "maas-models",
      "displayName": "Granite 3 8B Instruct",
      "description": "IBM Granite 3 8B instruction-tuned language model.",
      "modelRef": {
        "kind": "LLMInferenceService",
        "name": "llama-2-7b-chat"
      },
      "phase": "Ready",
      "statusMessage": "string",
      "reason": "Reconciled",
      "status": "True",
      "conditionType": "Ready",
      "lastTransitionTime": "2026-01-01T00:00:00Z",
      "endpoint": "https://llama-2-7b-chat.example.com",
      "modelCapabilities": ["text-generation", "vision"]
    }
  ],
  "authPolicies": [
    {
      "name": "premium-team-sub-policy",
      "namespace": "maas-system",
      "displayName": "Premium Team Policy",
      "description": "High-priority access policy for the premium team.",
      "phase": "Active",
      "statusMessage": "successfully reconciled",
      "reason": "Reconciled",
      "status": "True",
      "conditionType": "Ready",
      "lastTransitionTime": "2026-01-01T00:00:00Z",
      "creationTimestamp": "2025-03-01T10:00:00Z",
      "modelRefs": [
        {
          "name": "llama-2-7b-chat",
          "namespace": "maas-models"
        }
      ],
      "subjects": {
        "groups": [
          {
            "name": "premium-users"
          }
        ]
      },
      "meteringMetadata": {
        "organizationId": "org-123",
        "costCenter": "engineering",
        "labels": {
          "key": "string"
        }
      },
      "deletionTimestamp": "2024-01-31T09:30:00Z"
    }
  ]
}