Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.nexalayer.net/llms.txt

Use this file to discover all available pages before exploring further.

余额

创建订单或续费前,请先确认账户余额。

仪表盘余额

curl -X GET "https://api.wanyuagent.com/api/open/app/dashboard/info/v2" \
  -H "Authorization: Bearer <token>"
该接口返回当前用户的仪表盘概览,其中包含余额和资源统计。

当前用户余额

curl -X GET "https://api.wanyuagent.com/api/open/app/user/balance/current" \
  -H "Authorization: Bearer <token>"
只需要当前登录用户余额时,使用该接口。

管理员查询指定用户

管理员在权限允许时可以通过仪表盘接口查询指定用户:
curl -X GET "https://api.wanyuagent.com/api/open/app/dashboard/info/v2?target_user_id=1001" \
  -H "Authorization: Bearer <token>"
如果余额不足,创建订单或续费接口会返回非 0 code 或 HTTP 错误,提示通常为 用户余额不足目标用户余额不足