中文
获取用户信息,包括余额和状态
curl --request GET \ --url https://api.siliconflow.cn/v1/user/info \ --header 'Authorization: Bearer <token>'
{ "code": 20000, "message": "OK", "status": true, "data": { "id": "userid", "name": "username", "image": "user_avatar_image_url", "email": "user_email_address", "isAdmin": false, "balance": "0.88", "status": "normal", "introduction": "user_introduction", "role": "user_role", "chargeBalance": "88.00", "totalBalance": "88.88" } }
Use the following format for authentication: Bearer <your api key>
Show child attributes