Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
取得目前使用者資訊及帳戶餘額
cURL
curl --request GET \ --url https://aihubmix.com/api/user/self \ --header 'Authorization: Bearer <token>'
import requests url = "https://aihubmix.com/api/user/self" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
{ "data": { "username": "your_name", "display_name": "your_name", "role": 1, "status": 1, "email": "you@example.com", "quota": 29071257, "used_quota": 286403484, "request_count": 614422, "group": "default", "aff_code": "XXXX", "notify": true, "quota_remind_threshold": 10000000, "notify_email": "you@example.com", "ext": "" }, "message": "", "success": true }