Skip to main content
GET
/
applications
/
{application_id}
/
models
List application models
curl --request GET \
  --url https://api.trymaitai.ai/api/v1/applications/{application_id}/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"
    }
  ]
}

Authorizations

X-Maitai-Api-Key
string
header
required

Your Maitai API key from the Portal.

Path Parameters

application_id
integer
required

Response

200 - application/json

List application models.

data
object[]