Query parameters

  • modelType string

    Filter models by type (text or image)

    Values are TEXT or IMAGE.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • success boolean
    • code integer(int32)
    • message string
    • data array[object]
      Hide data attributes Show data attributes object
      • modelId string
      • modelName string
      • displayName string
      • enabled boolean
      • default boolean
      • modelType string

        Values are TEXT or IMAGE.

GET /models
curl \
 --request GET 'http://localhost:8080/api/models' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "success": true,
  "code": 200,
  "message": "string",
  "data": [
    {
      "modelId": "string",
      "modelName": "string",
      "displayName": "string",
      "enabled": true,
      "default": true,
      "modelType": "TEXT"
    }
  ]
}