Get BGP route test results by prefix
GET {{baseUrl}}/test-results/:testId/bgp/routes/prefix/:prefixId/round/:roundId?aid=1234
Returns an ordered list of networks crossed by a particular network prefix, including assigned monitors for the test and the paths taken to reach the destination. This is similar to revealing ASPath details found in a BGP Routing Information Base (rib) dump.
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"}},"monitor":{"monitorId":"281474976710706","monitorName":"Vancouver, Canada - Bell Canada (AS 6539)","countryId":"US"},"prefixId":"215","prefix":"99.128.0.0/11","isActive":true,"hops":[{"asn":852,"asName":"Telus Advanced Communications"},{"asn":852,"asName":"Telus Advanced Communications"}]},{"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"}},"monitor":{"monitorId":"281474976710706","monitorName":"Vancouver, Canada - Bell Canada (AS 6539)","countryId":"US"},"prefixId":"215","prefix":"99.128.0.0/11","isActive":true,"hops":[{"asn":852,"asName":"Telus Advanced Communications"},{"asn":852,"asName":"Telus Advanced Communications"}]}],"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":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"}]}},"_links":{"self":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":true,"type":"aliquip veniam","deprecation":"proident nulla ut non","name":"in consequat ipsum sint","profile":"et sint","title":"labore oc","hreflang":"pariatur"}}}