Analytics

The following endpoints allow you to get analytics data for your organization. Make uses the analytics data to create analytics dashboards.

Get organization analytics

get

Gets analytics data for the specified organization. You can get analytics data only for organizations where you have the "Owner" organization role. Otherwise, you get the 403 error.

The data entries in the response are sorted by the amount of operations used by a scenario in ascending order. Specify different sorting with the sortBy parameter. You can use query parameters (like timeframe[dateFrom], timeframe[dateTo] or teamId) to refine the results and pagination to navigate through a large number of entries.

Make keeps the analytics data for a maximum of one year. One year is also the default time frame for the analytics data you get the response.

Authorizations
Path parameters
organizationIdintegerRequired

The ID of the organization.

Example: 11
Query parameters
teamIdone ofOptional

IDs of the teams for which you want to get the analytics data.

integerOptionalExample: 1
or
integer[]OptionalExample: [1,2,3]
folderIdone ofOptional

IDs of the scenario folders for which you want to get the analytics data.

integerOptionalExample: 1
or
integer[]OptionalExample: [1,2,3]
statusone ofOptional

You can use the status parameter to get analytics data about scenarios with specific scenario statuses. The available scenario statuses are:

  • active: scenario is enabled
  • inactive: scenario is disabled
  • invalid: scenario is disabled due to errors
string · enumOptionalExample: activePossible values:
or
timeframe[dateFrom]string · date-timeOptional

Use the timeframe[dateFrom] parameter to get analytics data from the specified date. Specify the date and time in the ISO 8601 compliant format.

The default is the date since one year from today. You can't use a date older than a year from today.

Example: 2020-03-20T05:53:27.368Z
timeframe[dateTo]string · date-timeOptional

Use the timeframe[dateTo] parameter to get analytics data until the specified date. Specify the date and time in the ISO 8601 compliant format.

The default is to get data until today.

Example: 2020-03-27T05:53:27.368Z
pg[offset]integerOptional

The number of entities you want to skip before getting entities you want.

pg[limit]integerOptional

The maximum number of entities you want to get in the response.

pg[last]integerOptional

The last retrieved key. In response, you get only entries that follow after the key.

Example: 10
pg[sortBy]string · enumOptional

Specify which property Make will use to sort the analytics entries in the response. The default is operations.

Possible values:
pg[sortDir]string · enumOptional

The sorting order. It accepts the ascending and descending direction specifiers.

Possible values:
pg[returnTotalCount]booleanOptional

Set to true to get also the total number of analytics entries in the response.

Example: true
Responses
200
Analytics entries for the specified organization.
application/json
get
GET /api/v2/analytics/{organizationId} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
200

Analytics entries for the specified organization.

{
  "total": {
    "executions": 1000,
    "operations": 5000,
    "errors": 1,
    "errorRate": 0.1,
    "executionsChange": 0,
    "operationsChange": -10,
    "errorsChange": 100,
    "errorRateChange": 100
  },
  "analytics": [
    {
      "imtId": "1632371803593_1234",
      "id": 1234,
      "name": "Scenario 1",
      "status": "active",
      "teamId": 1,
      "teamName": "My Team",
      "executions": 10,
      "operations": 60,
      "errors": 0,
      "errorRate": 0,
      "executionsChange": 0,
      "operationsChange": 0,
      "errorsChange": -100,
      "errorRateChange": -100
    }
  ],
  "pg": {
    "sortBy": "operations",
    "sortDir": "desc",
    "offset": 0,
    "limit": 100,
    "returnTotalCount": true,
    "totalCount": 60
  }
}