Skip to main content
GET
https://aihubmix.com
/
api
/
models
Get a List of All Available Models
curl --request GET \
  --url https://aihubmix.com/api/models \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>",
  "data": {
    "* (channel_id / group)": [
      {
        "id": "<string>",
        "name": "<string>",
        "channel": "<string>",
        "type": "<string>",
        "description": "<string>"
      }
    ]
  }
}

Request Parameters

Request Headers

Authentication for the request. This API uses the AIHubMix Manage Key for authentication.
Content type of the request. This parameter must be set to application/json.

Response Parameters

success
boolean
Indicates whether the request was successful.
message
string
Informational message (may be empty). Returns the reason for failure if the request fails.
data
object
Collection of models. Typically a mapping structure from “group/channel” to “array of models” (fields are subject to actual return), for example: channel_id -> model[] or group -> model[].
* (channel_id / group)
array
List of models under a specific group (each element in the array is a model object).
id
string
Model identifier (e.g., deepinfra-gemma-3-12b-it).
name
string
Display name of the model (if this field is available in the API).
channel
string
Associated channel/source (if this field is available in the API).
type
string
Model type (e.g., chat / embedding / image, etc., if this field is available in the API).
description
string
Description of the model (if this field is available in the API).