Skip to content

PolicyInfoResponse

Detailed policy information with related model ref summaries

Type: object

Properties

Property Type Required Description
policy MaaSAuthPolicy Yes
modelRefs array of MaaSModelRefSummary Yes

MaaSModelRef resources referenced by this policy

Example

{
  "policy": {
    "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"
  },
  "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"]
    }
  ]
}