Monitor

Return aggregate counts of your monitors.

Counts every monitor across all statuses, broken down by status and then by processor and run frequency (e.g. '1h', '1d') within each status. Statuses, processors, and frequencies with zero monitors are omitted. Use this instead of paginating List Monitors when only counts are needed.

get/v1/monitors/stats

Request

  • Base URL
    https://api.parallel.ai
  • Auth
    API key in header x-api-key

Response

Aggregate monitor counts.

totalinteger required

Total number of monitors across all statuses and processors.

processor_countsobject required

Number of monitors per run frequency (e.g. '1h', '1d'), keyed by status and processor. Statuses, processors, and frequencies with zero monitors are omitted.

Example response

{
  "processor_counts": {
    "active": {
      "base": {
        "1d": 12
      },
      "lite": {
        "1d": 5,
        "1h": 25
      }
    },
    "cancelled": {
      "lite": {
        "1h": 7
      }
    }
  }
}

Changes