Generate and Retrieve a Report
A 2-step recipe with Assembled. We can help you get access.
Recipe · 2 steps
Generate and Retrieve a Report
with Assembled
Start a report job and fetch the result, branching on its status.
- Kick off generation of the structured report for the supplied window and queue filters.
- Retrieve the report by ID. Branches on whether the report is complete or still pending/running so the caller knows whether to poll again.
What you'll need to have ready
- apiKey: Assembled API key (sk_live_...) used as the HTTP Basic Auth username.
- reportType: Type of report to generate (adherence, ticket_stats, handle_time).
- startTime: Report window start (ISO 8601 date-time).
- endTime: Report window end (ISO 8601 date-time).
- queueIds: Optional queue IDs to scope the report.
- granularity: Aggregation granularity (interval, day, week, month).
For your developer
Arazzo workflow assembled:generate-report, 2 operations: startReport → getReport. Specs on APIs.io.