v27

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-08-01304498.9 KB
models

List MaaS Models

Lists available large language models in OpenAI-compatible format. Incoming HTTP headers on this request are forwarded to the upstream MaaS API unchanged (aside from Content-Type and Authorization, which the BFF sets for the outbound call). Callers may send headers understood by maas-api (for example X-MaaS-Return-All-Models).

get/api/v1/models

Response

List of models

Example response

{
  "data": {
    "object": "list",
    "data": [
      {
        "created": 1672531200,
        "id": "llama-2-7b-chat",
        "object": "model",
        "owned_by": "model-namespace/llama-2-7b-chat",
        "ready": true,
        "url": "https://api.example.com/v1/models/llama-2-7b-chat",
        "modelDetails": {
          "displayName": "Llama 2 7B Chat",
          "description": "A large language model optimized for chat use cases",
          "genaiUseCase": "chat",
          "contextWindow": "4096"
        },
        "kind": "LLMInferenceService",
        "subscriptions": [
          {
            "name": "premium-subscription",
            "displayName": "Premium Subscription",
            "description": "Premium subscription with higher rate limits"
          }
        ]
      }
    ]
  }
}