monitoring
integrations

getMonitoringTimeSeriesV2

Changed on

Get time-series aggregated event counts from the unified erp_monitoring_v2 table. Returns bucketed counts for chart rendering.

post/v2/integrations/{integrationId}/monitoring/time-series

Request

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

Path parameters

integrationIdstring uuid required

The integration ID

Request body

from_datestring date-time required

Start of the time range (required)

to_datestring date-time

End of the time range (defaults to now)

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

Time bucket interval

use_case_type'inbound' | 'outbound' | 'file_proxy' | 'managed_call' | 'secure_proxy'

Filter by use case type

group_by'use_case_type' | 'use_case'

Field to group the bucket breakdown by

Example request

{
  "from_date": "2025-01-01T00:00:00Z",
  "to_date": "2025-01-31T23:59:59Z"
}

Response

Time-series data retrieved successfully

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

The bucket interval

from_datestring date-time
to_datestring date-time

Changes

    • info

      added the non-success response with the status

    • info

      added the optional property // to the response with the status

    • info

      response property buckets/items/breakdown/items/skipped_count deprecated

    • info

      response property buckets/items/skipped_count deprecated

    • info

      added the required property //// to the response with the status