···7474- `GET /filter`: get the current filter configuration.
7575- `PATCH /filter`: update the filter configuration.
76767777+#### ingestion control
7878+7979+- `GET /ingestion`: get the current ingestion status.
8080+ - returns `{ "crawler": bool, "firehose": bool }`.
8181+- `PATCH /ingestion`: enable or disable ingestion components at runtime without restarting.
8282+ - body: `{ "crawler"?: bool, "firehose"?: bool }` — only provided fields are updated.
8383+ - when disabled, the component pauses at the next idle point and resumes immediately when re-enabled.
8484+8585+#### database operations
8686+8787+- `POST /db/train`: train zstd compression dictionaries for the `repos`, `blocks`, and `events` keyspaces. dictionaries are written to disk; a restart is required to apply them. ingestion is paused for the duration and restored on completion.
8888+- `POST /db/compact`: trigger a full major compaction of all database keyspaces in parallel. ingestion is paused for the duration and restored on completion.
8989+7790#### filter mode
78917992the `mode` field controls what gets indexed: