Retrieve dashboard snapshot data

GET {{baseUrl}}/dashboard-snapshots/:snapshotId/widgets/:widgetId?aid=1234

Returns actual metrics used in the generation of a dashboard snapshot.

Request Params

KeyDatatypeRequiredDescription
aidnumberA 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

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"groupLabels":[{"groupProperty":"AGENT","groupLabels":[{"groupId":"2565","groupLabel":"San Francisco, CA"},{"groupId":"2565","groupLabel":"San Francisco, CA"}]},{"groupProperty":"AGENT","groupLabels":[{"groupId":"2565","groupLabel":"San Francisco, CA"},{"groupId":"2565","groupLabel":"San Francisco, CA"}]}],"binSize":3600,"data":{"cards":[{"cardId":"lrxxr","startDate":"2023-05-16T10:14:28Z","endDate":"2023-05-16T10:14:28Z","previousValue":500,"binSize":3600,"timestamp":1567620000,"numberOfDataPoints":24192,"value":100,"status":"No data","alertSuppressionWindows":[{"id":"281474976710662","name":"Test dashboards","testIds":["281474976710661"],"startTimes":["2023-05-16T10:14:28Z"],"durationInSeconds":7200,"repeat":"custom","repeatEvery":5,"repeatUnit":"week"},{"id":"281474976710662","name":"Test dashboards","testIds":["281474976710661"],"startTimes":["2023-05-16T10:14:28Z"],"durationInSeconds":7200,"repeat":"custom","repeatEvery":5,"repeatUnit":"week"}]},{"cardId":"lrxxr","startDate":"2023-05-16T10:14:28Z","endDate":"2023-05-16T10:14:28Z","previousValue":500,"binSize":3600,"timestamp":1567620000,"numberOfDataPoints":24192,"value":100,"status":"No data","alertSuppressionWindows":[{"id":"281474976710662","name":"Test dashboards","testIds":["281474976710661"],"startTimes":["2023-05-16T10:14:28Z"],"durationInSeconds":7200,"repeat":"custom","repeatEvery":5,"repeatUnit":"week"},{"id":"281474976710662","name":"Test dashboards","testIds":["281474976710661"],"startTimes":["2023-05-16T10:14:28Z"],"durationInSeconds":7200,"repeat":"custom","repeatEvery":5,"repeatUnit":"week"}]}],"columns":[{"columnId":"938to","binSize":3600,"points":[{"timestamp":1567620000,"numberOfDataPoints":23304,"value":100,"groups":[{"groupProperty":"COUNTRY","groupValue":"US"},{"groupProperty":"COUNTRY","groupValue":"US"}]},{"timestamp":1567620000,"numberOfDataPoints":23304,"value":100,"groups":[{"groupProperty":"COUNTRY","groupValue":"US"},{"groupProperty":"COUNTRY","groupValue":"US"}]}],"status":"No data","alertSuppressionWindows":[{"id":"281474976710662","name":"Test dashboards","testIds":["281474976710661"],"startTimes":["2023-05-16T10:14:28Z"],"durationInSeconds":7200,"repeat":"custom","repeatEvery":5,"repeatUnit":"week"},{"id":"281474976710662","name":"Test dashboards","testIds":["281474976710661"],"startTimes":["2023-05-16T10:14:28Z"],"durationInSeconds":7200,"repeat":"custom","repeatEvery":5,"repeatUnit":"week"}]},{"columnId":"938to","binSize":3600,"points":[{"timestamp":1567620000,"numberOfDataPoints":23304,"value":100,"groups":[{"groupProperty":"COUNTRY","groupValue":"US"},{"groupProperty":"COUNTRY","groupValue":"US"}]},{"timestamp":1567620000,"numberOfDataPoints":23304,"value":100,"groups":[{"groupProperty":"COUNTRY","groupValue":"US"},{"groupProperty":"COUNTRY","groupValue":"US"}]}],"status":"No data","alertSuppressionWindows":[{"id":"281474976710662","name":"Test dashboards","testIds":["281474976710661"],"startTimes":["2023-05-16T10:14:28Z"],"durationInSeconds":7200,"repeat":"custom","repeatEvery":5,"repeatUnit":"week"},{"id":"281474976710662","name":"Test dashboards","testIds":["281474976710661"],"startTimes":["2023-05-16T10:14:28Z"],"durationInSeconds":7200,"repeat":"custom","repeatEvery":5,"repeatUnit":"week"}]}],"points":[{"timestamp":1567620000,"numberOfDataPoints":23304,"value":100,"groups":[{"groupProperty":"COUNTRY","groupValue":"US"},{"groupProperty":"COUNTRY","groupValue":"US"}]},{"timestamp":1567620000,"numberOfDataPoints":23304,"value":100,"groups":[{"groupProperty":"COUNTRY","groupValue":"US"},{"groupProperty":"COUNTRY","groupValue":"US"}]}],"tests":[{"testId":"68256","testName":"Http Test Name","target":"www.google.com","testType":"Web - HTTP Server","alertCount":398,"isShared":true,"graphlets":[{"metric":"Availability","testId":"68257","points":[{"x":1580403900,"y":128.249},{"x":1580403900,"y":128.249}]},{"metric":"Availability","testId":"68257","points":[{"x":1580403900,"y":128.249},{"x":1580403900,"y":128.249}]}]},{"testId":"68256","testName":"Http Test Name","target":"www.google.com","testType":"Web - HTTP Server","alertCount":398,"isShared":false,"graphlets":[{"metric":"Availability","testId":"68257","points":[{"x":1580403900,"y":128.249},{"x":1580403900,"y":128.249}]},{"metric":"Availability","testId":"68257","points":[{"x":1580403900,"y":128.249},{"x":1580403900,"y":128.249}]}]}],"startRound":1384309800,"alertSuppressionWindows":[{"id":"281474976710662","name":"Test dashboards","testIds":["281474976710661"],"startTimes":["2023-05-16T10:14:28Z"],"durationInSeconds":7200,"repeat":"custom","repeatEvery":5,"repeatUnit":"week"},{"id":"281474976710662","name":"Test dashboards","testIds":["281474976710661"],"startTimes":["2023-05-16T10:14:28Z"],"durationInSeconds":7200,"repeat":"custom","repeatEvery":5,"repeatUnit":"week"}],"totalAlerts":500,"activeAlerts":483,"alerts":[{"alertId":"2004945","testId":"56512","ruleId":"281724","alertSource":"Http Test","alertRule":"Http Test Rule","alertType":"dns-plus-server","startTime":"2023-06-02T08:54:00Z","durationInSeconds":25,"active":true},{"alertId":"2004945","testId":"56512","ruleId":"281724","alertSource":"Http Test","alertRule":"Http Test Rule","alertType":"dns-server","startTime":"2023-06-02T08:54:00Z","durationInSeconds":25,"active":true}],"summary":{"online":10,"offline":2,"disabled":3},"agents":[{"agentId":"6522","status":"online","ipInfo":{"publicIp":"172.58.92.31","privateIp":"172.58.92.31","ipv6":"sit ullamco sint","operativeSystemVersion":"proident id reprehen"},"agentName":"0c3898000117","location":{"latitude":37.77493,"longitude":-122.41942,"locationName":"San Francisco, California, US"}},{"agentId":"6522","status":"online","ipInfo":{"publicIp":"172.58.92.31","privateIp":"172.58.92.31","ipv6":"laboris dolor Ut do mollit","operativeSystemVersion":"culpa laborum"},"agentName":"0c3898000117","location":{"latitude":37.77493,"longitude":-122.41942,"locationName":"San Francisco, California, US"}}],"status":"No data"},"startDate":"2022-07-17T22:00:54Z","endDate":"2022-07-18T22:00:54Z","_links":{"self":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":true,"type":"veniam","deprecation":"veniam laboris et","name":"cupidatat","profile":"dolore","title":"esse consequat","hreflang":"Lorem"}}}