Create a snapshot

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

post/accounts/{account_id}/snapshots

Request

  • Base URL
    https://api.speedcurve.com/v2
  • URL
    https://api.speedcurve.com/v2/accounts/{account_id}/snapshots
  • Auth
    HTTP basic

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"
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.