fleet-memory/hindsight-api/hindsight_api/api
Chris Bartholomew d6ff191198
Fix stats endpoint missing tenant authentication (#134)
The /v1/default/banks/{bank_id}/stats endpoint was missing the
request_context parameter and tenant authentication call, causing
it to query the public schema instead of the tenant's schema.

This resulted in stats always returning zeros for multi-tenant
deployments since the data lives in tenant-specific schemas.

Added request_context dependency and _authenticate_tenant() call
to properly set the tenant schema before querying stats.
2026-01-08 20:38:35 +01:00
..
__init__.py misc: add mcp integration tests and increase test coverage (#98) 2026-01-05 11:16:55 +01:00
http.py Fix stats endpoint missing tenant authentication (#134) 2026-01-08 20:38:35 +01:00
mcp.py fix(mcp): add back bank list and create_bank tools (#123) 2026-01-08 14:02:28 +01:00