v1

latestOpenAPI 3.1.02026-07-2637098.0 KB

Create a snapshot

Add a set of tests for one or multiple sites, or custom URL(s)

post/accounts/{account_id}/snapshots

Path parameters

account_idinteger required

Account ID

Request body

test_runsinteger

Number of runs (checks) for each test (default 3; max 10)

forceboolean

Skip the testing in progress check for the site(s) (accepts true/false or 1/0), default false

Response

200

Example response

{
  "data": [
    {
      "snapshot_id": 123456789,
      "site_id": 123,
      "timestamp": 1710822413,
      "tests": [
        {
          "test_id": "240319_WS_d12345abc67890bca3a205a4e7e1e6"
        }
      ]
    }
  ]
}