Get API test results by agent and round
GET {{baseUrl}}/test-results/:testId/api/agent/:agentId/round/:roundId?aid=1234
Returns test results for API for a given agent and round.
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
{"results":[{"date":"2022-07-17T22:00:54Z","roundId":1384309800,"_links":{"appLink":{"href":"https://app.thousandeyes.com/view/tests?__a=105\u0026testId=195\u0026roundId=1692916680\u0026agentId=125"}},"startTime":1384309800,"endTime":1384309800,"agent":{"agentId":"281474976710706","agentName":"thousandeyes-stg-va-254","countryId":"US","location":"San Francisco Bay Area"},"apiTransactionTime":990.1,"completion":100,"errorType":"None","errorDetails":"Connection error","requests":[{"apiCallTime":900.9,"assertErrorCount":0,"blockedTime":49.9,"connectTime":12.1,"completion":100,"dnsTime":11.1,"name":"First Step to Acquire Token","processingTime":59.9,"receiveTime":224.1,"responseTime":440.8,"sendTime":8.1,"stepNumber":1,"stepTime":990.1,"url":"https://api.thousandeyes.com/v7/status","waitTime":18.1,"assertions":[{"step":1,"hasFailed":false},{"step":1,"hasFailed":false}]},{"apiCallTime":900.9,"assertErrorCount":0,"blockedTime":49.9,"connectTime":12.1,"completion":100,"dnsTime":11.1,"name":"First Step to Acquire Token","processingTime":59.9,"receiveTime":224.1,"responseTime":440.8,"sendTime":8.1,"stepNumber":1,"stepTime":990.1,"url":"https://api.thousandeyes.com/v7/status","waitTime":18.1,"assertions":[{"step":1,"hasFailed":false},{"step":1,"hasFailed":false}]}]},{"date":"2022-07-17T22:00:54Z","roundId":1384309800,"_links":{"appLink":{"href":"https://app.thousandeyes.com/view/tests?__a=105\u0026testId=195\u0026roundId=1692916680\u0026agentId=125"}},"startTime":1384309800,"endTime":1384309800,"agent":{"agentId":"281474976710706","agentName":"thousandeyes-stg-va-254","countryId":"US","location":"San Francisco Bay Area"},"apiTransactionTime":990.1,"completion":100,"errorType":"None","errorDetails":"Connection error","requests":[{"apiCallTime":900.9,"assertErrorCount":0,"blockedTime":49.9,"connectTime":12.1,"completion":100,"dnsTime":11.1,"name":"First Step to Acquire Token","processingTime":59.9,"receiveTime":224.1,"responseTime":440.8,"sendTime":8.1,"stepNumber":1,"stepTime":990.1,"url":"https://api.thousandeyes.com/v7/status","waitTime":18.1,"assertions":[{"step":1,"hasFailed":false},{"step":1,"hasFailed":false}]},{"apiCallTime":900.9,"assertErrorCount":0,"blockedTime":49.9,"connectTime":12.1,"completion":100,"dnsTime":11.1,"name":"First Step to Acquire Token","processingTime":59.9,"receiveTime":224.1,"responseTime":440.8,"sendTime":8.1,"stepNumber":1,"stepTime":990.1,"url":"https://api.thousandeyes.com/v7/status","waitTime":18.1,"assertions":[{"step":1,"hasFailed":false},{"step":1,"hasFailed":false}]}]}],"test":{"interval":60,"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"}]},"et_d":"aute Duis irure","proident_52_":"tempor mollit elit eiusmod"},"_links":{"previous":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":true,"type":"consectetur","deprecation":"in laboris aliquip","name":"nisi","profile":"occaecat eu laboris ullamco","title":"magna elit nisi","hreflang":"quis fugiat"},"next":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":false,"type":"nulla cillum adipisicing Lorem qui","deprecation":"sit amet nulla","name":"non aliqua est deserunt","profile":"ex tempor exercitation","title":"officia pariatur aliqua","hreflang":"dolor occaecat"},"self":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":true,"type":"dolor","deprecation":"aliquip veniam","name":"eu enim pariatur dolor id","profile":"id do aliquip","title":"ut irure culpa minim","hreflang":"do"}}}