Get Kpi Snapshots
GET /api/v1/kpi/snapshots
Query KPI daily snapshots for the current tenant.
Returns snapshots within the date range, optionally filtered by category. Annotations are included inline when present.
Args: start_date: Start of date range (inclusive). end_date: End of date range (inclusive). category: Optional category filter. user: Authenticated user context. db: Async database session.
Returns: List of KPISnapshotResponse objects.
Raises: HTTPException: 400 if start_date > end_date.
Authorizations
Parameters
Query Parameters
Responses
200
Successful Response
Response model for a single KPI daily snapshot.
Used by the /api/kpi/snapshots endpoint and consumed by the briefing page and KPI trend charts.
object
A single AI-generated annotation on a KPI metric.
Created by the CEO agent during the morning brief think() step. Each annotation explains a notable change in a specific metric and suggests a follow-up action.
object
object
422
Validation Error