Expand description
Admin inspection routes (runs, events, storage, health, cache, capabilities).
Constants§
- ADMIN_
CACHE_ STATS_ PATH - Route path reporting plan-cache statistics.
- ADMIN_
CAPABILITY_ REPORT_ PATH - Route path reporting key and capability configuration.
- ADMIN_
EVENTS_ PATH - Route path listing all recorded gateway events.
- ADMIN_
MODEL_ HEALTH_ PATH - Route path reporting backend and registered-model health.
- ADMIN_
RUNS_ PATH - Route path listing all recorded gateway runs.
- ADMIN_
RUN_ RETRIEVAL_ PREFIX - Path prefix stripped to extract a run id from a run-retrieval request.
- ADMIN_
RUN_ RETRIEVAL_ ROUTE - Route template for retrieving a single run by id.
- ADMIN_
STORAGE_ STATS_ PATH - Route path reporting storage object counts and latency stats.
Functions§
- handle_
admin_ cache_ stats - Handles the admin plan-cache statistics report.
- handle_
admin_ capability_ report - Handles the admin capability report (admin capability id, key count, and anonymous capability grants).
- handle_
admin_ events - Handles the admin events listing, returning every recorded event as JSON.
- handle_
admin_ model_ health - Handles the admin model-health report over the registered runners.
- handle_
admin_ run_ get - Handles admin retrieval of a single run by the id embedded in the path.
- handle_
admin_ runs - Handles the admin runs listing, returning every recorded run as JSON.
- handle_
admin_ storage_ stats - Handles the admin storage-stats report (object counts and latencies).