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

# GET /api/indexer/{path}

> Proxies arbitrary requests to the upstream HyperAuth indexer service, stripping the /api/indexer prefix and forwarding the remaining path.

Proxies requests to the upstream indexer service. The `/api/indexer` prefix is stripped and the remainder is forwarded.

## Allowed downstream paths

| Path            |
| --------------- |
| `/api/dids`     |
| `/api/aliases`  |
| `/api/accounts` |
| `/api/stats`    |
| `/api/events`   |
| `/health`       |

Requests to any other path return `404`. The upstream is resolved via the `INDEXER` service binding (if configured) or the `INDEXER_URL` environment variable.

## Status codes

| Code  | Condition                                                 |
| ----- | --------------------------------------------------------- |
| `404` | Path not in allowlist                                     |
| `503` | Neither `INDEXER` binding nor `INDEXER_URL` is configured |
| `*`   | Upstream status forwarded as-is                           |
