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

# Call the local API

> Find the active loopback address and make an authenticated search request.

Suski serves a local API. The usual port is 3333. If it is already in use, check the API port in the desktop startup log.

## Make a search request

```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"
```

The search response contains a `results` array and its `count`. Keep the local token private.

## Endpoints

| Goal | Endpoint |
| - | - |
| Check whether Suski is running | `GET /health` |
| Search captured memory | `GET /search?q=...` |
| Open original captures | `GET /snapshots` |
| Read the wiki list | `GET /wiki/list` |
| List reminders | `GET /reminders` |
| Export local data | `GET /export` |


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