Get Real-Time Timeseries

GET {{baseUrl}}/data/v1/realtime/metrics/:REALTIME_METRIC_ID/timeseries

Gets Time series information for a specific metric along with the number of concurrent viewers. This API is now deprecated, please use the Get Monitoring Timeseries API.

Request Params

KeyDatatypeRequiredDescription
filters[]stringLimit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter.

To exclude rows that match a certain condition, prepend a ! character to the dimension.

Possible filter names are the same as returned by the List Monitoring Dimensions endpoint.

Example:

  • filters[]=operating_system:windows&filters[]=!country:US | | filters[] | string | | Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter.

To exclude rows that match a certain condition, prepend a ! character to the dimension.

Possible filter names are the same as returned by the List Monitoring Dimensions endpoint.

Example:

  • filters[]=operating_system:windows&filters[]=!country:US | | timestamp | number | | Timestamp to use as the start of the timeseries data. This value must be provided as a unix timestamp. Defaults to 30 minutes ago. |

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"data":[{"concurrent_viewers":2790,"date":"2021-01-08T15:31:20Z","value":2790},{"concurrent_viewers":2788,"date":"2021-01-08T15:31:25Z","value":2788},{"concurrent_viewers":2791,"date":"2021-01-08T15:31:30Z","value":2791},{"concurrent_viewers":2791,"date":"2021-01-08T15:31:35Z","value":2791},{"concurrent_viewers":2792,"date":"2021-01-08T15:31:40Z","value":2792}],"timeframe":[1610119880,1610121675],"total_row_count":1}