List Agent to Agent tests
GET {{baseUrl}}/tests/agent-to-agent?aid=1234
Returns a list of Agent to Agent 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,"targetAgentId":"2954","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":true,"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"}]},"direction":"to-target","dscp":"Best Effort (DSCP 0)","dscpId":"0","mss":100,"numPathTraces":3,"pathTraceMode":"classic","port":49153,"protocol":"tcp","throughputMeasurements":false,"throughputDuration":10000,"throughputRate":10,"fixedPacketRate":50,"bgpMeasurements":true,"usePublicBgp":true},{"interval":60,"targetAgentId":"2954","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":true,"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"}]},"direction":"to-target","dscp":"Best Effort (DSCP 0)","dscpId":"0","mss":100,"numPathTraces":3,"pathTraceMode":"classic","port":49153,"protocol":"tcp","throughputMeasurements":false,"throughputDuration":10000,"throughputRate":10,"fixedPacketRate":50,"bgpMeasurements":true,"usePublicBgp":true}],"_links":{"self":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":true,"type":"commodo labore culpa","deprecation":"consectetur minim cillum","name":"deserunt elit qui officia ve","profile":"in laborum id enim officia","title":"ut Ut","hreflang":"Duis ea irure"}}}