List Agent to Server tests
GET {{baseUrl}}/tests/agent-to-server?aid=1234
Returns a list of Agent to Server tests and saved events.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
aid | number | A unique identifier associated with your account group. You can retrieve your AccountGroupId from the /account-groups endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"tests":[{"interval":60,"server":"www.thousandeyes.com","alertsEnabled":true,"enabled":true,"createdBy":"user@user.com","createdDate":"2022-07-17T22:00:54Z","description":"ThousandEyes Test","liveShare":false,"modifiedBy":"user@user.com","modifiedDate":"2022-07-17T22:00:54Z","savedEvent":false,"testId":"281474976710706","testName":"ThousandEyes Test","type":"agent-to-server","_links":{"self":{"href":"https://api.thousandeyes.com/v7/tests/{type}/281474976710706"},"testResults":[{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}]},"bandwidthMeasurements":true,"continuousMode":false,"fixedPacketRate":25,"mtuMeasurements":false,"numPathTraces":3,"pathTraceMode":"classic","port":49153,"probeMode":"auto","protocol":"tcp","dscp":"Best Effort (DSCP 0)","dscpId":"0","ipv6Policy":"use-agent-policy","pingPayloadSize":85,"networkMeasurements":false,"bgpMeasurements":true,"usePublicBgp":true},{"interval":60,"server":"www.thousandeyes.com","alertsEnabled":true,"enabled":true,"createdBy":"user@user.com","createdDate":"2022-07-17T22:00:54Z","description":"ThousandEyes Test","liveShare":false,"modifiedBy":"user@user.com","modifiedDate":"2022-07-17T22:00:54Z","savedEvent":false,"testId":"281474976710706","testName":"ThousandEyes Test","type":"agent-to-server","_links":{"self":{"href":"https://api.thousandeyes.com/v7/tests/{type}/281474976710706"},"testResults":[{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}]},"bandwidthMeasurements":true,"continuousMode":false,"fixedPacketRate":25,"mtuMeasurements":false,"numPathTraces":3,"pathTraceMode":"classic","port":49153,"probeMode":"auto","protocol":"tcp","dscp":"Best Effort (DSCP 0)","dscpId":"0","ipv6Policy":"use-agent-policy","pingPayloadSize":681,"networkMeasurements":false,"bgpMeasurements":true,"usePublicBgp":true}],"_links":{"self":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":true,"type":"qui","deprecation":"nisi ea officia","name":"Duis exercitation ut dolor","profile":"sed sit laborum labore irure","title":"commodo sint laborum exercitation","hreflang":"ad enim"}}}