端點(Endpoint):Documentation Index
Fetch the complete documentation index at: https://docs.aihubmix.com/llms.txt
Use this file to discover all available pages before exploring further.
GET /v1/models
- 有用戶登入獲取用戶分組下的可用列表,無用戶登入獲取 default 分組下的可用列表。
- header 中有 Authorization 欄位 則查詢 key 對應的 token 下配置的模型列表。
返回結果
| 狀態碼 | 狀態碼含義 | 說明 | 資料模型 |
|---|---|---|---|
| 200 | OK | none | Inline |
返回資料結構
狀態碼 200| 名稱 | 類型 | 必選 | 約束 | 中文名 | 說明 |
|---|---|---|---|---|---|
| » data | [object] | true | none | none | |
| »» id | string | true | none | 模型 ID | none |
| »» object | string | true | none | model | none |
| »» created | integer | true | none | 創建時間 | none |
| »» owned_by | string | true | none | 開發者 | none |
| »» permission | [object]¦null | true | none | none | |
| »»» id | string | true | none | none | |
| »»» object | string | true | none | none | |
| »»» created | integer | true | none | none | |
| »»» allow_create_engine | boolean | true | none | none | |
| »»» allow_sampling | boolean | true | none | none | |
| »»» allow_logprobs | boolean | true | none | none | |
| »»» allow_search_indices | boolean | true | none | none | |
| »»» allow_view | boolean | true | none | none | |
| »»» allow_fine_tuning | boolean | true | none | none | |
| »»» organization | string | true | none | none | |
| »»» group | null | true | none | none | |
| »»» is_blocking | boolean | true | none | none | |
| »» root | string | true | none | 模型名稱 | none |
| »» parent | null | true | none | 父節點 | none |