跳轉到主要內容
GET
目前使用者資訊
此端點用於查詢目前已登入使用者的基本資訊與餘額。

請求參數

請求標頭(headers)

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

回應參數

data
object
使用者資訊物件,包含基本資料、餘額額度與提醒設定。
username
string
使用者名稱。
display_name
string
使用者顯示名稱。
role
integer
使用者角色識別(數值越大權限越高,如管理員)。
status
integer
帳戶狀態(1 為正常)。
email
string
電子郵件。
quota
integer
帳戶餘額,實際金額(美元)為: quota / 500000。
used_quota
integer
已使用額度,實際金額(美元)為: used_quota / 500000。
request_count
integer
累計請求次數。
group
string
帳戶分組。
aff_code
string
邀請碼。
notify
boolean
是否接收低餘額提醒。
quota_remind_threshold
integer
餘額低於 quota_remind_threshold / 500000 時接收郵件提醒。
notify_email
string
接收提醒的電子郵件地址。
ext
string
擴充欄位(保留,通常為空字串)。
message
string
請求失敗的詳細資訊。請求成功時不會傳回此參數。
success
boolean
是否成功。

最後更新:2026-06-26