Get Usage by Workflow
Find out which workflows use the most tasks, highest first, and how embedded usage splits across installations.
Headers
Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. A key can also act in its child organizations, and, with "Use this key across all of your organizations" on, in every organization its creator can open in the app. List them with GET /v2/companies. Every response's X-Company-Id header names the organization it acted in. See Organizations.
Query
First day of the window (YYYY-MM-DD). Defaults to 29 days before "to".
Last day of the window (YYYY-MM-DD). Defaults to today. Windows are capped at 45 days.
Response fields
workflowIdstringThe workflow.
namestringIts name.
tasksnumberTasks it used in the window.
installationsarray of objectsEmbedded usage per installation, highest first: installationId, name (the installation label), integrationId, integrationName, and tasks. Empty for workflows that did not run under an installation. Installation tasks add up to at most the workflow tasks; the remainder ran outside an installation or before meta.installationsFrom, the first day with installation detail.
installationIdstringThe installation.
namestringThe installation label: the integration label template when one is set, otherwise "email - name" of the end user, otherwise the raw id.
integrationIdstringThe embedded integration the installation belongs to.
integrationNamestringThat integration's name.
tasksnumberTasks the installation used in the window.