跳轉到主要內容
GET
/
api
/
token
/
search
搜尋 KEY
curl --request GET \
  --url https://aihubmix.com/api/token/search \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>",
  "data": [
    {
      "id": 123,
      "user_id": 123,
      "key": "<string>",
      "status": 123,
      "name": "<string>",
      "created_time": 123,
      "accessed_time": 123,
      "expired_time": 123,
      "remain_quota": 123,
      "unlimited_quota": true,
      "used_quota": 123,
      "models": "<string>",
      "subnet": "<string>"
    }
  ]
}

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.

請求參數

請求標頭

請求的身份驗證。本 API 使用 AIHubMix Manage Key 進行身份驗證。
請求的內容類型。此參數必須設定為 application/json。

查詢參數

keyword
string
必填
搜尋關鍵字(通常會比對 KEY 名稱等欄位)。

回應參數

success
boolean
表示請求是否成功。
message
string
訊息(可能為空)。如果請求失敗,會傳回失敗原因。
data
array
搜尋結果清單。陣列中的每個元素皆為一個 KEY 物件。
id
integer
Key ID。
user_id
integer
使用者 ID。
key
string
Key 字串(用於呼叫/身份驗證)。
status
integer
Key 狀態。0 表示停用,1 表示啟用。
name
string
Key 名稱。
created_time
integer
Key 建立時間(UNIX 時間戳記)。
accessed_time
integer
Key 最後存取時間(UNIX 時間戳記)。
expired_time
integer
Key 到期時間(UNIX 時間戳記);-1 表示永不過期。
remain_quota
integer
剩餘額度;-1 表示無限制。
unlimited_quota
boolean
表示額度是否無限制。true 表示無限制;false 表示有額度限制。
used_quota
integer
已使用額度。實際使用量計算方式:used_quota / 500000。
models
text
目前 Key 可使用的受限模型(空字串表示無限制或未設定)。
subnet
text
IP 限制(空字串表示無限制或未設定)。

最後更新:2026-06-01