POST /v6/snapshot Create a new snapshot

Creates a new snapshot in ThousandEyes, based on properties provided in the POST data. This endpoint requires the Create snapshot shares permission be assigned to the role of the user accessing this endpoint.

Regular users are blocked from using any of the POST-based methods.

Important notes related to snapshot creation using this endpoint:

  • There is a creation limit of 100 snapshots per Organization per day.
  • Snapshots created using this endpoint will expire after 30 days.
  • The time range specified with from and to must be one of the following: 1, 2, 4, 6, 12, 24, 48, 96 hours.

Optional (Querystring) Parameters

  • format=json|xml optional, specifies the format of output requested. See Output Formats for more information
  • aid={aid} optional and requires the user to be assigned to the target account group, specifies the account group context of the request, obtained from the /account-groups endpoint. Specifying this parameter without the user being assigned to the target account will result in an error response. See Account group context for more information


  • request body containing the following fields:
FieldData TypeRequired/OptionalUnitsNotes
displayNamestringRequiredn/aTitle of the snapshot
fromdateTimeRequiredyyyy-MM-dd hh:mm:ssThe date/time when the snapshot will start
isPublicintegerOptionaln/a0 for saved event, 1 for share link. Defaults to 0
testIdintegerRequiredn/aThe ID of the test you wish to create a snapshot
todateTimeRequiredyyyy-MM-dd hh:mm:ssThe date/time when the snapshot will end


$ curl \ -d '{ "testId": 19955, "displayName": "Snapshot created through API", "from": "2018-10-06T00:00:00", "to": "2018-10-06T01:00:00", "isPublic": 1 }' \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -u


If the snapshot is successfully created, an HTTP/201 CREATED response will be returned, and the snapshot details will be returned. See the example below:


{ "link": { "displayName": "Snapshot created through API", "endRoundId": 1538787600, "extraParams": "", "linkId": "wdiac", "roundId": 1538784000, "shareDate": "2018-10-19 03:02:01", "sourceTestId": 19955, "startRoundId": 1538784000, "testId": 58856, "uid": 5784, "viewUrl": "" }, "test": [] }

For error responses, see the response status codes documentation.