Retrieve Historical Tracking Metrics
get
/ic/api/integration/v1/monitoring/history
This API fetches historical tracking metrics. These are the metrics collected since the environment was created.
Request
Supported Media Types
- application/json; charset=utf-8
Query Parameters
-
frequency: string
Time frequency by which the metrics are to be grouped by. Valid values: hourly and daily.
Example:
Retrieves hourly metrics for past 24 hours.
/history?frequency=hourly
Retrieves daily metrics for past 30 days.
/history?frequency=daily
-
q: string
Filter parameter.
- timewindow: 1h, 6h, 1d, 2d, 3d, RETENTIONPERIOD.
- startdate: Custom time range start date/time in UTC format for filtering metrics. If the start date is not mentioned and end date is specified, then it considers 30 days before the end date as the start date.
- enddate: Custom time range end date/time in UTC format for filtering metrics. If the end date is not mentioned and start date is specified, then it considers current date as the end date.
Response
Supported Media Types
- application/json; charset=utf-8
200 Response
Successful operation
400 Response
Malformed parameters
500 Response
Server error