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

# Lokale API aufrufen

> Ermittle den lokalen Port und sende eine authentifizierte Suchanfrage.

Suski stellt eine lokale API bereit. Der übliche Port ist 3333. Falls er belegt ist, findest du den aktiven API-Port im Startprotokoll der Desktop-App.

## Eine Suchanfrage senden

```bash theme={null}
port=3333
api_token=$(cat "$HOME/.fillfox/api-token")
curl -fsS "http://127.0.0.1:$port/health"
curl -fsS -H "Authorization: Bearer $api_token" \
  "http://127.0.0.1:$port/search?q=budget"
```

Die Suche liefert ein Array `results` und die Trefferzahl `count`. Halte den lokalen Token geheim.

## Endpunkte

| Ziel | Endpunkt |
| - | - |
| Prüfen, ob Suski läuft | `GET /health` |
| Den erfassten Speicher durchsuchen | `GET /search?q=...` |
| Originale öffnen | `GET /snapshots` |
| Wiki-Liste lesen | `GET /wiki/list` |
| Erinnerungen auflisten | `GET /reminders` |
| Lokale Daten exportieren | `GET /export` |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.