monitoring
integrations

getMonitoringStats

Changed on

Deprecated and no longer implemented. This endpoint aggregated 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 zeroed counters and never reads any data.

Use POST /v2/integrations/{integrationId}/monitoring/stats instead.

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

Request

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

Path parameters

integrationIdstring uuid required

The integration ID

Request body

from_datestring date-time

Start date for statistics period (inclusive)

to_datestring date-time

End date for statistics period (inclusive)

inbound_group_bystring[]

Fields to group inbound statistics by

outbound_group_bystring[]

Fields to group outbound statistics by

Example request

{
  "from_date": "2025-01-01T00:00:00Z",
  "to_date": "2025-01-31T23:59:59Z",
  "inbound_group_by": [
    "use_case_id",
    "status"
  ],
  "outbound_group_by": [
    "event_name",
    "status"
  ]
}

Response

Monitoring statistics retrieved successfully

Changes