cURL
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": "", "role": "", "chargeBalance": "88.00", "totalBalance": "88.88" } }
Get user information including balance and status
Use the following format for authentication: Bearer <your api key>
Successful response
The response is of type object.
object