> ## 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.

# Aktuelle Benutzerinformationen

> Aktuelle Benutzerinformationen und Kontostand abrufen

Dieser Endpunkt dient zur Abfrage der Basisinformationen und des Kontostands des aktuell angemeldeten Benutzers.

## Anfrageparameter

### Anfrage-Header (headers)

<ResponseField type="string" required>
  Authentifizierung der Anfrage. Diese API verwendet den AIHubMix Manage Key zur Authentifizierung.
</ResponseField>

<ResponseField type="string">
  Content-Type der Anfrage. Dieser Parameter muss auf application/json gesetzt werden.
</ResponseField>

## Antwortparameter

<ResponseField name="data" type="object">
  Benutzerinformationsobjekt mit Basisdaten, Guthaben und Benachrichtigungseinstellungen.

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

  <ResponseField name="display_name" type="string">
    Anzeigename des Benutzers.
  </ResponseField>

  <ResponseField name="role" type="integer">
    Rollenkennung des Benutzers (höherer Wert bedeutet höhere Berechtigungen, z. B. Administrator).
  </ResponseField>

  <ResponseField name="status" type="integer">
    Kontostatus (1 bedeutet normal).
  </ResponseField>

  <ResponseField name="email" type="string">
    E-Mail.
  </ResponseField>

  <ResponseField name="quota" type="integer">
    Kontostand; der tatsächliche Betrag (USD) ist: quota / 500000.
  </ResponseField>

  <ResponseField name="used_quota" type="integer">
    Verbrauchtes Guthaben; der tatsächliche Betrag (USD) ist: used\_quota / 500000.
  </ResponseField>

  <ResponseField name="request_count" type="integer">
    Gesamtzahl der Anfragen.
  </ResponseField>

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

  <ResponseField name="aff_code" type="string">
    Einladungscode.
  </ResponseField>

  <ResponseField name="notify" type="boolean">
    Ob Benachrichtigungen bei niedrigem Guthaben empfangen werden.
  </ResponseField>

  <ResponseField name="quota_remind_threshold" type="integer">
    E-Mail-Benachrichtigung erhalten, wenn das Guthaben unter quota\_remind\_threshold / 500000 fällt.
  </ResponseField>

  <ResponseField name="notify_email" type="string">
    E-Mail-Adresse, die Benachrichtigungen erhält.
  </ResponseField>

  <ResponseField name="ext" type="string">
    Erweiterungsfeld (reserviert, normalerweise eine leere Zeichenfolge).
  </ResponseField>
</ResponseField>

<ResponseField name="message" type="string">
  Detaillierte Informationen bei Anfragefehlern. Dieser Parameter wird nicht zurückgegeben, wenn die Anfrage erfolgreich ist.
</ResponseField>

<ResponseField name="success" type="boolean">
  Gibt den Erfolg an.
</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>

***

Zuletzt aktualisiert: 2026-06-26
