Reports API — Generate and Schedule Analytics Reports
Generate on-demand performance reports or schedule recurring reports for call analytics, QA, compliance, and agent coaching from NeuronLens.
The Reports API lets you generate structured, exportable reports from your NeuronLens data — either on demand for ad-hoc analysis or on a recurring schedule delivered to your inbox. Reports can be exported as JSON for further processing, CSV for spreadsheet tools, or PDF for sharing with stakeholders and compliance teams.
POST /reportsSubmits a report generation request. Report generation is asynchronous — you receive a report_id immediately and poll for completion using GET /reports/{id}.
How often to regenerate the report. One of: daily, weekly, monthly. The reporting period shifts automatically with each run — a weekly report always covers the 7 days ending the day before the run; a monthly report covers the previous full calendar month.
Day of the week to run a weekly report. One of: monday, tuesday, wednesday, thursday, friday, saturday, sunday. Defaults to monday. Ignored for daily and monthly frequencies.
Day of the month (1–28) to run a monthly report. Defaults to 1. Using values above 28 is not supported — to run on the last day of the month, use 28. Ignored for daily and weekly frequencies.
UTC time of day at which the report should be generated, in HH:MM 24-hour format. Example: "06:00" for 6:00 AM UTC. Defaults to "00:00" (midnight UTC) if not specified.
Email address to deliver the completed report to. A signed download link is included in the email body. Only one recipient address is supported per scheduled report — for multiple recipients, use GET /reports/{id} to retrieve the download URL programmatically and distribute it via your own notification system.
GET /reports/{id}Returns the status and results of a report. For csv and pdf formats, a signed download_url is included once the report is ready. For json format, the full report data is embedded inline.
Download URLs for PDF and CSV reports are signed and expire after 24 hours. Store the file to your own storage before the URL expires. To regenerate a download URL for an expired report, call this endpoint again — a fresh signed URL is issued as long as the report file is still on VInfer’s servers (retained for 90 days).
DELETE /reports/{id}/scheduleCancels the recurring schedule for a report. The report itself (and any previously generated runs) are preserved and still accessible via GET /reports/{id}. Only future scheduled runs are cancelled.
Every Monday at 06:00 UTC, VInfer will automatically regenerate this report for the previous week and email it to qa-team@yourcompany.com. Cancel the schedule at any time with DELETE /reports/rpt_9Yk4nM2sT/schedule.