monitoring
integrations

getMonitoringTimeSeries

Changed on

Deprecated and no longer implemented. This endpoint bucketed the retired erp_monitoring table and the webhook delivery log; both are superseded by the unified erp_monitoring_v2 table. The endpoint is kept only so existing clients do not 404; it always responds 200 with an empty bucket list and never reads any data.

Use POST /v2/integrations/{integrationId}/monitoring/time-series instead.

post/v1/integrations/{integrationId}/monitoring/timeseries

Request

  • Base URL
    https://integration-toolkit.sls.epilot.io
  • URL
    https://integration-toolkit.sls.epilot.io/v1/integrations/{integrationId}/monitoring/timeseries
  • Auth
    HTTP bearer

Path parameters

integrationIdstring uuid required

The integration ID

Request body

from_datestring date-time required

Start date for the time series (inclusive)

to_datestring date-time

End date for the time series (inclusive). Defaults to current time if not specified.

interval'5m' | '10m' | '30m' | '1h' | '3h' | '1d' required

The time bucket interval for aggregation

direction'inbound' | 'outbound' | 'both'

Filter by event direction. Defaults to both.

Example request

{
  "from_date": "2025-01-01T00:00:00Z",
  "to_date": "2025-01-31T23:59:59Z",
  "interval": "1h",
  "direction": "both"
}

Response

Time-series aggregated event counts retrieved successfully

interval'5m' | '10m' | '30m' | '1h' | '3h' | '1d' required

The time bucket interval used for aggregation

from_datestring date-time required

Start date of the time series

to_datestring date-time required

End date of the time series

Changes