Example: Get a report for Origin Performance

Origin Performance reporting provides insight into performance characteristics observed by Akamai edge servers when making requests to your origin servers.

Metrics are collected as a request travels from the edge servers to your origin, and the associated response travels from your origin to the edge servers. The request/response represents an exchange between the edge servers and your origin.

This reporting API provides traffic data for those exchanges. You can filter this performance data by whether or not the content is cacheable, and what HTTP response codes were returned by your origin.

The most recent version of the Origin Performance report is 2, as listed in Available reports.

Construct a GET query for Origin Performance report like:

/reporting-reports-executor-api/v1/reports/opresponses-by-time/versions/2/report-data
?start=2016-11-01T00%3A00
&end=2017-01-15T00%3A00
&interval=DAY
&metrics=avgResponseTime%2CminOriginResponseTime
&filters=ca%3Dnon_cacheable%2Cca%3Dcacheable
&objectType=cpcode
&objectIds=78959

ūüďė

Timestamps in the example are URL encoded. Decode these timestamps for clients that don't support encoded timestamps.