---
title: "List Models"
method: GET
path: "/model/list_models"
tags: ["Model Invocation"]
---

# List Models

`GET /model/list_models`

### Endpoint to List Supported Models and Their Model Names and Model IDs

***

#### Returns
- **List[Dict[str, str]]**: A list of supported models with their names and IDs.

***

#### Response Body

{
    "text_models": [
        {
            "model_name": "model_name",
            "model_id": "model_id"
            }
    ],
    "embed_models": [
        {
            "model_name": "model_name",
            "model_id": "model_id"
        }
    ]
}

***

#### Errors

- **500 Internal Server Error**: If there is an unexpected error listing the models.

***

#### Notes

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/aws-samples/apis/generative-ai-foundational-platform-api.md) · [All operations](https://skmtc.dev/aws-samples/apis/generative-ai-foundational-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aws-samples/generative-ai-foundational-platform-api/revisions/8831d08902e9/schema)
