# Inspection Endpoints

Endpoints for usage, logs and other read-only inspection.

| Method | Path | Description |
|---|---|---|
| `GET` | `/v1/torii/error` | **local** — read the tool-error memory store. `keyword` alone decides the mode: without it the store is listed (`?tool=` narrows that listing to one tool, `?limit=` defaults to 50); with it the records are searched (`?limit=` defaults to 16). Before v1.0.1 a bare `?tool=` fell through to the search path and came back empty |
| `PATCH` | `/v1/torii/error` | **local** — `{id, action}`, both required. Replaces the recorded action of one error-memory record and returns it under `record`; 404 when the id does not exist |

The `/v1/toriidb` HTTP gate was removed in v0.35.3. Since ToriiDB v0.6.2 every process talks to the store over ToriiDB's own socket, so tool cache, chat vectors, error memory and pending liveness are shared without an HTTP hop.
