myt AI Cloud

By Mauritius Telecom

Beta
⌘K
API reference

Models

GET /v1/models — list models available to your API key.

GET

/v1/models

Lists models exposed to your organisation and project. The response is an OpenAI-compatible model list.

Query parameters

ParameterTypeDefaultNotes
return_wildcard_routesbooleanfalseInclude wildcard model routing entries.
include_model_access_groupsbooleanfalseAttach access group names to each model entry.
only_model_access_groupsbooleanfalseReturn only models that belong to an access group.
include_metadatabooleanfalseAttach full model metadata (pricing, capabilities, context window) to each entry.

Response

{
"object": "list",
"data": [
  {
    "id": "myt/qwen3.6-35b-a3b",
    "object": "model",
    "created": 1710000000,
    "owned_by": "myt-ai-cloud"
  },
  {
    "id": "mt-compound",
    "object": "model",
    "created": 1749366600,
    "owned_by": "mauritius-telecom"
  }
]
}

Errors

StatusWhen
401API key missing or invalid
403Key does not have access to any models

Example

curl -sS --request "GET" \
  --url "$MYT_BASE_URL/models?return_wildcard_routes=false&include_model_access_groups=false&only_model_access_groups=false&include_metadata=false" \
  --header "accept: application/json" \
  --header "Authorization: Bearer $MYT_API_KEY"

Try it

On this page