Skip to content

Account and API tokens

Your account page is your account hub. It shows your identity, API tokens, data sources, and history. To open it, select Account in the top-right corner, or go to /profile.

Quota

Your remaining quota appears only in the account popover, as N searches remaining. See Quotas and limits.

Your account

  1. Select Account in the top-right corner.

  2. Use the left navigation to open Identity, API tokens, Data sources, or History.

Generate an API token

Use API tokens to access the Malva search API from scripts and notebooks without the browser sign-in.

  1. Open your account and select API tokens.
  2. Select Generate token. A new token is shown once.
  3. Copy the token and store it in a safe place. For security, it is not shown again.
  4. Use it either on the sign-in page with Use an API token, or as a Bearer header:

    curl -H "Authorization: Bearer <token>" https://malva.mdc-berlin.de/api/...
    
The API tokens tab in the Malva account page, with the token status card and Generate token button.
Figure 1. The API tokens tab in the account page.

Revoke a token

If a token is compromised or no longer needed, revoke it from the same section on your account page. Revocation takes effect immediately for new requests.

Tokens are secret

Treat your token like a password. Do not commit it to version control or paste it into notebooks you share publicly.