v1

latestOpenAPI 3.0.22026-07-173834119.9 KB
Model Invocation

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

get/model/list_models

Response

Successful Response

{"stackTrail":"paths:/model/list_models:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}