Skip to content

List available models

GET /api/v1/models

Returns the model configurations available in your MATVIS instance, in OpenAI list shape. Use the returned id values as the model field for chat completions.

Example request

export MATVIS_URL="https://<your-matvis-host>"
export MATVIS_API_KEY="<your-firewall-api-key>"

curl -X GET "$MATVIS_URL/api/v1/models" \
  -H "Authorization: $MATVIS_API_KEY"

Responses

200 OK

OpenAI list shape (OpenAIModelEndpointResponse):

Field Type Description
object string Always "list".
data object[] The available models.

Each entry in data:

Field Type Description
id string Model configuration name; use this as the model field elsewhere.
object string Always "model".
created string When the model configuration was created, as an ISO 8601 date and time.
owned_by string Always "custom".
{
  "object": "list",
  "data": [
    { "id": "MATVIS_Model_Openai", "object": "model", "owned_by": "custom", "created": "2026-03-03T12:38:49.786416" },
    { "id": "MATVIS_Model_Ollama", "object": "model", "owned_by": "custom", "created": "2026-03-03T12:38:49.786416" },
    { "id": "MATVIS_Model_Anthropic", "object": "model", "owned_by": "custom", "created": "2026-03-03T12:38:49.786416" }
  ]
}