Response Formats

The ThousandEyes API v7 supports the JSON (JavaScript Object Notation) format for responses.

It is possible to control the output of the API's results using the following options, in descending order of precedence.

Samples requests:

$ curl https://api.thousandeyes.com/v7/tests -H "Authorization: Bearer $BEARER_TOKEN"
$ curl -H "Accept: application/json" https://api.thousandeyes.com/v7/tests -H "Authorization: Bearer $BEARER_TOKEN"