Get workflow analytics by owner, team or source
The headline numbers per owner, team, source or source group, one dimension per call. truncated is true when there were more rows than returned; overlapping is true when a record counts in several rows (teams). A row with a null id is the unassigned bucket. Requires workflows:read.
The numbers cover the whole workspace, so only managers' tokens and API keys get them; tokens of users with restricted record access get 403 ANALYTICS_RESTRICTED. Leave out both dates for the last 90 days, ending today in the workspace's timezone; the span is at most 730 days. While the analytics replica is being prepared: 503 ANALYTICS_NOT_READY with Retry-After: 60.
Parameters
idstringrequiredpathWorkflow ID from GET /v4/workflows
from_ datestringqueryYYYY-MM-DD, with to_date
to_ datestringqueryYYYY-MM-DD, with from_date
owner_ idsstringqueryComma-separated user IDs, at most 100
team_ idsstringqueryComma-separated team IDs, at most 100
source_ idsstringqueryComma-separated source IDs, at most 100
source_ group_ idsstringqueryComma-separated source group IDs, at most 100
type_ idsstringqueryComma-separated record type IDs, at most 100
bystringrequiredqueryowners, teams, sources or source_groups
Response
Workflow analytics breakdown
Invalid API key
Insufficient scope, or restricted record access
Workflow not found
Invalid filters
Internal server error
Analytics not ready or unavailable
Authorization
bearer_ authhttp (bearer) in headerAPI key or OAuth access token in Authorization header
Scopes: workflows:read
oauth2_ authoauth2OAuth authorization code flow with mandatory S256 PKCE.
Scopes: workflows:read
apikey_ authapiKey in queryAPI key in query string
Scopes: workflows:read
