Skip to content

Reports API 🟑 BETA

The reports family holds the routes mounted for report generation and retrieval.

Developer guide map

Endpoints

Exact lines from the Generated api-reports reference; the generated page is the full table.

Method Path
GET /api/reports/billing/aging
GET /api/reports/billing/monthly
GET /api/reports/billing/payments
GET /api/reports/billing/revenue
GET /api/reports/crm/conversion
GET /api/reports/crm/forecast
GET /api/reports/crm/pipeline
GET /api/reports/crm/won-lost

Example

Minimal HTTP exchange for the first verified route (schemas are not modeled in the generated reference).

GET /api/reports/billing/aging HTTP/1.1
Host: localhost:8080
Authorization: Bearer <token>
HTTP/1.1 200 OK

What it does

Capability Verified endpoint Registered in
Billing aging GET /api/reports/billing/aging botserver/crates/botanalytics/src/reports/billing_payments.rs
Billing monthly GET /api/reports/billing/monthly botserver/crates/botanalytics/src/reports/billing_payments.rs
Billing payments GET /api/reports/billing/payments botserver/crates/botanalytics/src/reports/billing_payments.rs
Billing revenue GET /api/reports/billing/revenue botserver/crates/botanalytics/src/reports/billing_payments.rs
Crm conversion GET /api/reports/crm/conversion botserver/crates/botanalytics/src/reports/billing_payments.rs
Crm forecast GET /api/reports/crm/forecast botserver/crates/botanalytics/src/reports/billing_payments.rs
Crm pipeline GET /api/reports/crm/pipeline botserver/crates/botanalytics/src/reports/billing_payments.rs
Crm won lost GET /api/reports/crm/won-lost botserver/crates/botanalytics/src/reports/billing_payments.rs

Limits

  • The Generated api-reports reference is authoritative: no endpoint outside its table is inferred here.
  • Routes require an authenticated session unless listed in the anonymous allowlist in botsecurity-auth/src/auth_api/public_routes.rs.
  • The generated table does not model request or response fields; consult the mounted handler for them.