GET
/v6/reports
Reports list
This endpoint returns a list of reports configured in ThousandEyes in the context of the user’s current account group. This endpoint requires the View Reports
permission be assigned to the role of the user accessing this endpoint. Use this data to find a report in your account, which is then used in other endpoint to access aggregated data.
WARNING: The v6 reports API is deprecated. Please use the dashboards API instead.
Parameters
format=json|xml
optional, specifies the format of output requested. See Output Formats for more informationaid={aid}
optional and requires the user to be assigned to the target account group, specifies the account group context of the request, obtained from the/account-groups
endpoint. Specifying this parameter without the user being assigned to the target account will result in an error response. See Account group context for more information
Request
- no request body
Example
$ curl https://api.thousandeyes.com/v6/reports.json \
-u {email}:{authToken}
Response
Sends back an array of reports configured in the current account group. Each report contains the following fields:
Field Name | Data Type | Notes |
---|---|---|
reportId | string | unique Id of the report |
reportName | string | name of the report |
builtIn | boolean | 1 for built-in reports, 0 for user-created reports |
apiLinks | array of apiLink objects | a list of links which can be followed to pull more information |
Header
HTTP/1.1 200 OK
Server: nginx
Date: Mon, 21 Nov 2016 16:04:24 GMT
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Cache-Control: no-store
X-Organization-Rate-Limit-Limit: 970
X-Organization-Rate-Limit-Remaining: 968
X-Organization-Rate-Limit-Reset: 1492076520
Strict-Transport-Security: max-age=31536000
X-Server-Name: 1-2
Body
{
"reports: [
{
"apiLinks": [...],
"builtIn": 1,
"reportId": "2",
"reportName": "ThousandEyes Built-in: HTTP Server"
},
{
"apiLinks": [...],
"builtIn": 1,
"reportId": "1",
"reportName": "ThousandEyes Built-in: Network Layer"
},
...
]
}
For error responses, see the response status codes documentation.