> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aihubmix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Current User Info

> Retrieve current user information and account balance

This endpoint is used to query the basic information and balance of the currently logged-in user.

## Request Parameters

### Request Headers (headers)

<ResponseField type="string" required>
  Authentication for the request. This API uses the AIHubMix Manage Key for authentication.
</ResponseField>

<ResponseField type="string">
  Content type of the request. This parameter must be set to application/json.
</ResponseField>

## Response Parameters

<ResponseField name="data" type="object">
  User information object, including basic profile, balance quota, and alert settings.

  <ResponseField name="username" type="string">
    Username.
  </ResponseField>

  <ResponseField name="display_name" type="string">
    User display name.
  </ResponseField>

  <ResponseField name="role" type="integer">
    User role identifier (a higher value means higher privileges, e.g. administrator).
  </ResponseField>

  <ResponseField name="status" type="integer">
    Account status (1 means normal).
  </ResponseField>

  <ResponseField name="email" type="string">
    Email.
  </ResponseField>

  <ResponseField name="quota" type="integer">
    Account balance; the actual amount (USD) is: quota / 500000.
  </ResponseField>

  <ResponseField name="used_quota" type="integer">
    Used quota; the actual amount (USD) is: used\_quota / 500000.
  </ResponseField>

  <ResponseField name="request_count" type="integer">
    Total number of requests.
  </ResponseField>

  <ResponseField name="group" type="string">
    Account group.
  </ResponseField>

  <ResponseField name="aff_code" type="string">
    Invitation code.
  </ResponseField>

  <ResponseField name="notify" type="boolean">
    Whether to receive low balance alerts.
  </ResponseField>

  <ResponseField name="quota_remind_threshold" type="integer">
    Receive email alerts when balance falls below quota\_remind\_threshold / 500000.
  </ResponseField>

  <ResponseField name="notify_email" type="string">
    Email address that receives alerts.
  </ResponseField>

  <ResponseField name="ext" type="string">
    Extension field (reserved, usually an empty string).
  </ResponseField>
</ResponseField>

<ResponseField name="message" type="string">
  Detailed information on request failure. This parameter will not be returned if the request is successful.
</ResponseField>

<ResponseField name="success" type="boolean">
  Indicates success.
</ResponseField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "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
  }
  ```
</ResponseExample>

***

Last updated: 2026-06-26
