Cysora Developers
← All recipes
Public API

Embed agent stats in your internal dashboard

Who this is for: You run an internal BI dashboard (Retool, Metabase, a custom app) and want Cysora numbers in it.

Outcome: Your dashboard calls the analytics + pipeline read APIs and renders the same numbers Cysora shows on Home.

1. Read the metrics read-model

The analytics metrics endpoint returns visitors, started conversations, completions, and daily trends for a date range.

GET /api/v1/analytics/metrics

2. Read the pipeline for conversion

Pull CRM leads to compute booked/won counts and revenue-adjacent numbers over the same window.

GET /api/v1/leads/crm

3. Cache and render

Cache responses for a few minutes (these are read-model aggregates, not live counters) and render them in your dashboard.

Tips

Need the exact request and response shapes? Open the API reference →