cURL
curl --request GET \ --url https://api.trymaitai.ai/api/v1/models \ --header 'X-Maitai-Api-Key: <api-key>'
{ "data": [ { "id": 10, "model_name": "gpt-4o", "model_type": "base", "status": "ENABLED" }, { "id": 11, "model_name": "ft:gpt-4o-mini:maitai::abc123", "model_type": "finetuned", "status": "ENABLED" } ] }
List enabled models for your company. Optionally filter by model_type.
model_type
Your Maitai API key from the Portal.
Filter by model type (can be specified multiple times).
List models.
Show child attributes
Was this page helpful?