Dashboard
Get total count for raw logs query
Changed onReturns the total event count matching the MV-compatible subset of /raw-logs filters, served from the event_daily_stats materialized view for sub-second latency. Exact event_id and conversation_id filters are not supported. The frontend issues this in parallel with /raw-logs so the page renders immediately and the total fills in when ready.
Returns {"total_count": null} when the filter set cannot be answered by the materialized view (search query, client_config, connection_type, or arbitrary metadata keys other than event_type).
post/dashboard/api/raw-logs/count
Request
- Base URLhttps://api.agnost.ai
- URLhttps://api.agnost.ai/dashboard/api/raw-logs/count
- Auth
- HTTP bearer and API key in header x-org-id
- or API key in header x-api-key
Request body
Response
Total count, or null if filters are MV-incompatible
Changes
- info
endpoint added
- info