marketo op get stats

Get Marketo Stats

Version: 17.07

Supported Since: 17.07

Get Marketo Stats connector operation can be used to retrieve usage statistics of the Marketo API. This connector operation provides the following sub operations.

  • API usage for the day - Retrieves a list of API users and the number of calls they have consumed for the day

  • API usage for last 7 days - Retrieves a list of API users and the number of calls they have consumed in the past 7 days

  • API errors for the day - Retrieves a list of API users and a count of each error type they have encountered in the current day

  • API errors for last 7 days - Retrieves a list of API users and a count of each error type they have encountered in the past 7 days

These operations do not require any specific permission from Marketo API.

Parameters

These operations do not have any configurable parameters

Response

If one of these operations was invoked successfully, it will provide a response message with a JSON payload of the following format.

{
  "errors": [
    {
      "code": 0,
      "message": "string"
    }
  ],
  "moreResult": false,
  "nextPageToken": "string",
  "requestId": "string",
  "result": [
    {
      "count": 0,
      "date": "2017-10-29T21:18:54.007Z",
      "errors": [
        {
          "count": 0,
          "errorCode": "string"
        }
      ],
      "total": 0,
      "users": [
        {
          "count": 0,
          "userId": "string"
        }
      ]
    }
  ],
  "success": false,
  "warnings": [
    {
      "code": 0,
      "message": "string"
    }
  ]
}
In this topic
In this topic
Contact Us