> For the complete documentation index, see [llms.txt](https://docs.blockbrain.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blockbrain.ai/de/for-users/api-zugriff.md).

# API-Zugriff

Erstellen Sie persönliche Zugriffstokens, um Blockbrain über Ihre eigenen Skripte und Tools zu verwenden, zum Beispiel über die LLM-API.

<figure><img src="https://1293758209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIabFtGTeQzwfWCzp8vd6%2Fuploads%2Fsh4AoLXgw82wwbDz5ixU%2Fc-api-access.jpg?alt=media&amp;token=c10ad76f-319a-4e43-937c-a6ee9a128f16" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Ein Token handelt in Ihrem Namen. Es kann das tun, was Sie tun können, und seine Nutzung wird auf Ihr Compute-Block-Limit angerechnet.
{% endhint %}

#### Ein Token erstellen

**Um ein Token zu erstellen:**

1. Klicken Sie oben rechts auf Ihr Profilsymbol und wählen Sie **API-Zugriff**.
2. Klicken Sie **Token erstellen**.
3. Geben Sie einen **Name**ein, zum Beispiel „CI-Pipeline“.
4. Optional einen **Ablauf** Datum fest. Ohne Ablaufdatum läuft das Token nie ab.
5. Klicken Sie **Token erstellen**.
6. Kopieren Sie das Token und bewahren Sie es an einem sicheren Ort auf.

{% hint style="warning" %}
Sie können das Token nur einmal kopieren. Speichern Sie es sofort, Sie werden es später nicht mehr sehen können.
{% endhint %}

#### Verwalten Sie Ihre Tokens

Die Liste zeigt jedes Token mit seinem **Name**, den letzten Zeichen seines **Schlüssel**, seinem **Status** (Aktiv, abgelaufen oder deaktiviert), wann es **Erstellt** und wann es **Abläuft**.

Ein Token kann nicht bearbeitet werden. Um ein Token zu ersetzen, erstellen Sie ein neues und löschen Sie das alte.

**Um ein Token zu löschen:**

1. Klicken Sie in der Zeile des Tokens auf das Löschsymbol.
2. Bestätigen Sie mit **Löschen**.

Alle Clients, die das Token noch verwenden, funktionieren nicht mehr. Das kann nicht rückgängig gemacht werden.

#### Ein Compute-Block-Limit festlegen

Sie können begrenzen, wie viele Compute Blocks ein Token verwenden darf. Klicken Sie auf **Ein Limit festlegen** in der **CB-Limit** Spalte, geben Sie die Zahl ein und klicken Sie auf **Speichern**. Die Spalte zeigt dann an, wie viel des Limits verwendet wurde.

Das Limit kann nicht höher sein als Ihr eigenes verfügbares Budget. Es funktioniert nur, wenn Compute-Block-Limits für Ihre Organisation aktiviert sind. Siehe [Limit festlegen](https://docs.blockbrain.ai/de/for-admins/cost-control/limit-festlegen.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.blockbrain.ai/de/for-users/api-zugriff.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
