fleet-memory/hindsight-api/hindsight_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
..
admin feat: run db migrations offline (optionally) (#114) 2026-01-07 15:49:51 +01:00
alembic misc: add mcp integration tests and increase test coverage (#98) 2026-01-05 11:16:55 +01:00
api Fix stats endpoint missing tenant authentication (#134) 2026-01-08 20:38:35 +01:00
engine feat: add configs for database connection (#128) 2026-01-08 16:37:08 +01:00
extensions Add operation validator extension support with proper HTTP error handling (#86) 2026-01-01 20:19:52 -05:00
__init__.py feat: extensions (#54) 2025-12-22 11:05:23 +01:00
banner.py fix: doc build and lint files (#34) 2025-12-16 13:49:09 +01:00
config.py feat: add configs for database connection (#128) 2026-01-08 16:37:08 +01:00
daemon.py feat: refactor hindsight-embed architecture (#66) 2025-12-22 22:02:40 +01:00
main.py feat: add configs for database connection (#128) 2026-01-08 16:37:08 +01:00
mcp_local.py feat: extensions (#54) 2025-12-22 11:05:23 +01:00
metrics.py feat: add metrics for llm call latency (#120) 2026-01-08 11:40:34 +01:00
migrations.py feat: configurable embedding dimensions + OpenAI Embeddings (#101) 2026-01-05 14:43:05 +01:00
models.py feat: configurable embedding dimensions + OpenAI Embeddings (#101) 2026-01-05 14:43:05 +01:00
pg0.py feat: backup/restore (#110) 2026-01-07 11:29:50 +01:00
server.py fix: doc build and lint files (#34) 2025-12-16 13:49:09 +01:00