---
updatedAt: 2026-03-01T18:29:07.000Z
---

# List performance reports

```curl cURL
start="2016-03-09T00:00:00Z"
end="2016-03-12T01:00:00Z"

egcurl --eg-section default --request GET \
  --url "https://$hostname/sla-api/v1/tests/{slaTestId}/reports/performance?start=$start&end=$end" \
  --header "Accept: application/json"
```

```node Node
const EdgeGrid = require("akamai-edgegrid");
const os = require("os");
const edgercPath = os.homedir + "/.edgerc.txt";
const edgercSection = "default";
const eg = new EdgeGrid({
  path: edgercPath,
  section: edgercSection,
});

eg.auth({
  path: `/sla-api/v1/tests/{slaTestId}/reports/performance`,
  method: "GET",
  headers: {
    Accept: "application/json",
  },
  qs: {
    start: "2016-03-09T00:00:00Z",
    end: "2016-03-12T01:00:00Z",
  },
});
eg.send(function (error, response, body) {
  console.log(JSON.stringify(JSON.parse(body), null, 2));
});
```

```python Python
import requests
import json
from akamai.edgegrid import EdgeGridAuth, EdgeRc
from urlparse import urljoin

edgerc = EdgeRc('~/.edgerc.txt')
section = 'default'
baseurl = 'https://%s' % edgerc.get(section, 'host')

session = requests.Session()
session.auth = EdgeGridAuth.from_edgerc(edgerc, section)
 

path = '/sla-api/v1/tests/{}/reports/performance'.format(slaTestId)
headers = {
  
  "Accept": "application/json"} 
querystring = {
  "start": "2016-03-09T00:00:00Z",
  "end": "2016-03-12T01:00:00Z"
}  

result = session.get(urljoin(baseurl, path), headers=headers, querystring=querystring)
print(result.status_code)
print(json.dumps(result.json(), indent=2))
```

```json Response Example
{
  "data": [
    {
      "date": "2016-03-09",
      "averageAkamaiPerformanceGain": 1.2573270808909731,
      "numberOfAkamaiTests": 1385,
      "numberOfOriginTests": 1385,
      "averageResponseTimeOrigin": 2145,
      "averageResponseTimeAkamai": 1706
    },
    {
      "date": "2016-03-10",
      "averageAkamaiPerformanceGain": 1.1373414230557088,
      "numberOfAkamaiTests": 1329,
      "numberOfOriginTests": 1329,
      "averageResponseTimeOrigin": 2062,
      "averageResponseTimeAkamai": 1813
    },
    {
      "date": "2016-03-11",
      "averageAkamaiPerformanceGain": 1.3577405857740585,
      "numberOfAkamaiTests": 1245,
      "numberOfOriginTests": 1245,
      "averageResponseTimeOrigin": 1947,
      "averageResponseTimeAkamai": 1434
    }
  ]
}
```

# Set up authorization

<!-- curl@4 -->
<!-- node@1-9 -->
<!-- python@1-11 -->

Before you can use this API, you need to [Create authentication credentials](https://techdocs.akamai.com/developer/docs/set-up-authentication-credentials). 

Then, you can use these code samples to apply the token values to your requests.

# Select a test configuration



Run the [List test configuration](https://techdocs.akamai.com/sla/reference/get-test-configs) operation and store the relevant `slaTestId` URL parameter value. Make sure the test configuration type is `PERFORMANCE`.

# Specify a time range



Specify a `start` and `end` range of time you want data for. Format these values as ISO–8601 UTC timestamps.

# Form the request



Take the `slaTestId`, `start`, and `end` values and form the URL for the API call.

# Call the API



Make a GET request to `/sla-api/v1/tests/{slaTestId}/reports/performance{?start,end}`.

# Get the response



The response returns an array of the results of performance tests run in the specified time period.

Note the time portion of the start and end dates are truncated, so the effective time is `T00:00:00Z`, regardless of the actual hours, minutes, and seconds you specify. Therefore, the results include *all* tests run on the start date and *none* of the tests run on the end date.

For details about the results, expand the **[RESPONSE](https://techdocs.akamai.com/sla/reference/get-performance-reports)** to see the response body objects.