List available models for both chat and inference.
curl --request GET \
--url https://api.example.com/api/v1/list-available-models/ \
--header 'Authorization: Bearer <token>'{
"models": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"provider": "<string>",
"is_chat_model": true,
"is_inference_model": true
}
]
}curl --request GET \
--url https://api.example.com/api/v1/list-available-models/ \
--header 'Authorization: Bearer <token>'{
"models": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"provider": "<string>",
"is_chat_model": true,
"is_inference_model": true
}
]
}