v1

latestOpenAPI 3.0.02026-07-142351,1971.3 MB
Synthetics

Fetch uptime for multiple tests

Fetch uptime for multiple Synthetic tests by ID.

post/api/v1/synthetics/tests/uptimes

Request body

from_tsinteger required

Timestamp in seconds (Unix epoch) for the start of uptime.

public_idsstring[] required

An array of Synthetic test IDs you want uptimes for.

to_tsinteger required

Timestamp in seconds (Unix epoch) for the end of uptime.

Example request

{
  "public_ids": []
}

Response

OK.

from_tsinteger

Timestamp in seconds for the start of uptime.

public_idstring

A Synthetic test ID.

to_tsinteger

Timestamp in seconds for the end of uptime.

Example response

[
  {
    "overall": {
      "group": "name",
      "history": [
        [
          1579212382,
          0
        ]
      ],
      "span_precision": 2,
      "uptime": 99.99
    },
    "public_id": "abc-def-123"
  }
]