todaytraffic-by-time

The following shows how to generate the todaytraffic-by-time report using either the Reporting API's Generate a report POST operation or the Get a cacheable report GET operation. Details about each report's supported products, metrics, filters, and available data intervals are also available dynamically by running the API's Get a report type operation, also shown below. See also other available reports.

Report definition

Provides hits, volume, bandwidth, and offload data for the most recent 48 hours.

This report allows you to configure the aggregation interval for each data record. Available interval values are: MONTH, WEEK, DAY, HOUR, FIVE_MINUTES.

Business object: cpcode

Data available for: 3 days

Available metrics

MetricDescription
Data metrics
bytesOffloadThe volume that was served by Akamai as a percentage of total volume served for given objects and filters.
bytesOffloadAvgThe average number of bytes that Akamai served as a percentage of total hits served for given objects and filters.
bytesOffloadMaxThe peak volume that was served by Akamai as a percentage of total volume served for given objects and filters.
bytesOffloadMinThe lowest volume that was served by Akamai as a percentage of total volume served for given objects and filters.
bytesOffloadSlopeRepresents the overall change in volume that was served by Akamai as a percentage of total volume served for the given objects and filters, a positive number if increasing or a negative number if decreasing.
edgeBitsPerSecondThe edge bandwidth for given objects and filters.
edgeBitsPerSecondMaxThe peak edge bandwidth for given objects and filters.
edgeBitsPerSecondMinThe lowest edge bandwidth for given objects and filters.
edgeBytesSlopeRepresents the overall change in volume for edge traffic for given objects and filters, a positive number if increasing or a negative number if decreasing.
edgeBytesTotalThe total volume of edge traffic for given objects and filters.
edgeHitsPerSecondThe number of edge requests per second for given objects and filters.
edgeHitsPerSecondMaxThe peak number of edge requests per second for given objects and filters.
edgeHitsPerSecondMinThe lowest number of edge requests per second for given objects and filters.
edgeHitsSlopeRepresents the overall change in the number of edge requests for given objects and filters, a positive number if increasing or a negative number if decreasing.
edgeHitsTotalThe total number of edge requests for given objects and filters.
hitsOffloadThe number of hits that Akamai served as a percentage of total hits served for given objects and filters.
hitsOffloadAvgThe average number of hits that Akamai served as a percentage of total hits served for given objects and filters.
hitsOffloadMaxThe peak number of hits that Akamai served as a percentage of total hits served for given objects and filters.
hitsOffloadMinThe lowest number of hits that Akamai served as a percentage of total hits served for given objects and filters.
hitsOffloadSlopeThe overall change in number of hits that were served by Akamai as a percentage of total hits served for given objects and filters, a positive number if increasing or a negative number if decreasing.
midgressBitsPerSecondThe bandwidth between Akamai servers for given objects and filters.
midgressBitsPerSecondMaxThe peak bandwidth measurement between Akamai servers for given objects and filters.
midgressBitsPerSecondMinThe lowest bandwidth measurement between Akamai servers for given objects and filters.
midgressBytesSlopeRepresents the overall change in traffic volume between Akamai servers over time for given objects and filters, a positive number if increasing or a negative number if decreasing.
midgressBytesTotalThe total volume for the amount of internal API traffic exchanged between Akamai edge servers.
midgressHitsPerSecondThe number of requests between Akamai servers per second for given objects and filters.
midgressHitsPerSecondMaxThe peak number of requests between Akamai servers per second for given objects and filters.
midgressHitsPerSecondMinThe lowest number of requests between Akamai servers per second for given objects and filters.
midgressHitsSlopeRepresents the overall change in traffic volume between Akamai servers over time for given objects and filters, a positive number if increasing or a negative number if decreasing.
midgressHitsTotalAll hits with all response codes delivered from Akamai's Tiered Distribution network, that is bytes served from the Akamai Tiered Distribution infrastructure to edge servers.
originBitsPerSecondThe origin bandwidth for given objects and filters.
originBitsPerSecondMaxThe peak origin bandwidth for given objects and filters.
originBitsPerSecondMinThe lowest origin bandwidth for given objects and filters.
originBytesSlopeRepresents the overall change in origin traffic volume over time for given objects and filters, a positive number if increasing or a negative number if decreasing.
originBytesTotalThe total volume of origin traffic for given objects and filters.
originHitsPerSecondThe number of origin requests per second for given objects and filters.
originHitsPerSecondMaxThe peak number of origin requests per second for given objects and filters.
originHitsPerSecondMinThe lowest number of origin requests per second for given objects and filters.
originHitsSlopeRepresents the overall change in the number of requests to origin over time for given objects and filters, a positive number if increasing or a negative number if decreasing.
originHitsTotalThe total number of origin requests for given objects and filters.

Available filters

FilterTypeDescription
Optional filters
response_classEnumerationA class of HTTP response status codes, from 0xx through 6xx.
0xx: An aborted action on the client side.
1xx: An informational response, like Continue.
2xx: A successful response.
3xx: Success, but a redirect where the thing you want is somewhere else.
4xx: Error, where there's some problem with the client request.
5xx: Error, where there's some problem with how the API server responded to the client request.
6xx: Invalid headers (defined by Akamai).
response_statusEnumerationAn indicator of whether the HTTP response resulted in success or an error.
success: Successful HTTP response status.
error: Error HTTP response status.

POST request

POST /reporting-api/v1/reports/todaytraffic-by-time/versions/1/report-data{?start,​end,​interval}

Sample: /reporting-api/v1/reports/todaytraffic-by-time/versions/1/report-data?start​=2019-10-08T13%3A40%3A00Z​&end​=2019-10-08T14%3A00%3A00Z​&interval​=FIVE_MINUTES

Query parameters

ParameterTypeSampleDescription
Required
startString2019-10-08T13:40:00ZSpecifies the end of the reported period as an ISO-8601 timestamp with optional time zone. The report excludes any data that matches the end value's timestamp.
endString2019-10-08T14:00:00ZSpecifies if unavailable reports should be shown.
intervalEnumerationFIVE_MINUTESThe duration of each data record. Available values: MONTH, WEEK, DAY, HOUR, FIVE_MINUTES.

JSON request members

MemberTypeDescription
objectIdsArraySpecifies the set of cpcode values you want to report on.
objectIdsEnumerationAs an alternative to an array of ID values, specify all as a string for unfiltered data. Either way, objectIds is required.
metricsArrayThe set of desired metrics. If omitted, the report includes all available metrics.
filtersMap of arraysSpecifies a set of custom filters, with each filter's name keying an array with each filter's set of values.

Request body:

{
    "objectIds": [
        "55232",
        "23433",
        "32433"
    ],
    "metrics": [
        "bytesOffload",
        "bytesOffloadAvg",
        "bytesOffloadMax",
        "bytesOffloadMin",
        "bytesOffloadSlope",
        "edgeBitsPerSecond",
        "edgeBitsPerSecondMax",
        "edgeBitsPerSecondMin",
        "edgeBytesSlope",
        "edgeBytesTotal",
        "edgeHitsPerSecond",
        "edgeHitsPerSecondMax",
        "edgeHitsPerSecondMin",
        "edgeHitsSlope",
        "edgeHitsTotal",
        "hitsOffload",
        "hitsOffloadAvg",
        "hitsOffloadMax",
        "hitsOffloadMin",
        "hitsOffloadSlope",
        "midgressBitsPerSecond",
        "midgressBitsPerSecondMax",
        "midgressBitsPerSecondMin",
        "midgressBytesSlope",
        "midgressBytesTotal",
        "midgressHitsPerSecond",
        "midgressHitsPerSecondMax",
        "midgressHitsPerSecondMin",
        "midgressHitsSlope",
        "midgressHitsTotal",
        "originBitsPerSecond",
        "originBitsPerSecondMax",
        "originBitsPerSecondMin",
        "originBytesSlope",
        "originBytesTotal",
        "originHitsPerSecond",
        "originHitsPerSecondMax",
        "originHitsPerSecondMin",
        "originHitsSlope",
        "originHitsTotal"
    ],
    "filters": {
        "response_class": [
            "1xx",
            "0xx"
        ],
        "response_status": [
            "success",
            "error"
        ]
    }
}

GET request

GET /reporting-api/v1/reports/todaytraffic-by-time/versions/1/report-data{?start,​end,​interval,​objectIds,​allObjectIds,​metrics,​filters}

Sample: /reporting-api/v1/reports/todaytraffic-by-time/versions/1/report-data?start​=2019-10-08T13%3A40%3A00Z​&end​=2019-10-08T14%3A00%3A00Z​&interval​=FIVE_MINUTES​&objectIds​=55232,​23433,​32433​&metrics​=bytesOffload%2CbytesOffloadAvg​&filters​=response_class%3D5xx%2Cresponse_class%3D4xx%2Cresponse_status%3Dsuccess%2Cresponse_status%3Derror

Query parameters

ParameterTypeSampleDescription
Required
startString2019-10-08T13:40:00ZSpecifies the end of the reported period as an ISO-8601 timestamp with optional time zone. The report excludes any data that matches the end value's timestamp.
endString2019-10-08T14:00:00ZSpecifies if unavailable reports should be shown.
intervalEnumerationFIVE_MINUTESThe duration of each data record. Available values: MONTH, WEEK, DAY, HOUR, FIVE_MINUTES.
Optional
allObjectIdsBooleantrueAs an alternative to objectIds, enabling this generates a report that includes all IDs available for the cpcode objectType. This parameter is ignored if the request also specifies a set of objectIds.
objectIdsString55232,​23433,​32433As an alternative to allObjectIds, specifies the set of unique IDs for the cpcode objectType you want to report on, formatted as a comma-delimited list.
metricsStringbytesOffload,​bytesOffloadAvgSpecifies a comma-separated list of metrics to include in the report, otherwise all metrics if omitted. The set of available metrics depends on the type of report. URL-encode the entire value in the GET request.
filtersStringresponse_class=​5xx,​response_class=​4xx,​response_status=​success,​response_status=​errorSpecifies criteria to filter the report's data. The set of available filters depends on the type of report. Separate each filter name and value with an equals (=) character, and separate various name/value pairs with commas (,). To specify more than one filter value, repeat the filter name. See the accompanying example for guidance. URL-encode the entire value in the GET request.

JSON response

Status 200 application/json

Response body:

{
    "metadata": {
        "name": "todaytraffic-by-time",
        "version": "1",
        "outputType": "FLAT",
        "groupBy": [
            "startdatetime"
        ],
        "interval": "FIVE_MINUTES",
        "start": "2019-10-08T13:40:00Z",
        "end": "2019-10-08T14:00:00Z",
        "availableDataEnds": null,
        "suggestedRetryTime": null,
        "rowCount": 4,
        "filters": [
            {
                "name": "response_class",
                "values": [
                    "4xx",
                    "2xx"
                ]
            },
            {
                "name": "response_status",
                "values": [
                    "success",
                    "error"
                ]
            }
        ],
        "columns": [
            {
                "name": "groupBy",
                "label": "startdatetime"
            },
            {
                "name": "bytesOffload",
                "label": "Offloaded Bytes"
            },
            {
                "name": "bytesOffloadAvg",
                "label": "Average Bytes Offload"
            },
            {
                "name": "bytesOffloadMax",
                "label": "Bytes Offload Maximum"
            },
            {
                "name": "bytesOffloadMin",
                "label": "Bytes Offload Minimum"
            },
            {
                "name": "bytesOffloadSlope",
                "label": "Bytes Offload Slope"
            },
            {
                "name": "edgeBitsPerSecond",
                "label": "Edge Bits/Sec"
            },
            {
                "name": "edgeBitsPerSecondMax",
                "label": "Edge Bits/Sec Maximum"
            },
            {
                "name": "edgeBitsPerSecondMin",
                "label": "Edge Bits/Sec Minimum"
            },
            {
                "name": "edgeBytesSlope",
                "label": "Edge Bytes Slope"
            },
            {
                "name": "edgeBytesTotal",
                "label": "Total Edge Bytes"
            },
            {
                "name": "edgeHitsPerSecond",
                "label": "Edge Hits/Sec"
            },
            {
                "name": "edgeHitsPerSecondMax",
                "label": "Edge Hits/Sec Maximum"
            },
            {
                "name": "edgeHitsPerSecondMin",
                "label": "Edge Hits/Sec Minimum"
            },
            {
                "name": "edgeHitsSlope",
                "label": "Edge Hits Slope"
            },
            {
                "name": "edgeHitsTotal",
                "label": "Total Edge Hits"
            },
            {
                "name": "hitsOffload",
                "label": "Offloaded Hits"
            },
            {
                "name": "hitsOffloadAvg",
                "label": "Average Hits Offload"
            },
            {
                "name": "hitsOffloadMax",
                "label": "Hits Offload Maximum"
            },
            {
                "name": "hitsOffloadMin",
                "label": "Hits Offload Minimum"
            },
            {
                "name": "hitsOffloadSlope",
                "label": "Hits Offload Slope"
            },
            {
                "name": "midgressBitsPerSecond",
                "label": "Midgress Bits/Sec"
            },
            {
                "name": "midgressBitsPerSecondMax",
                "label": "Midgress Bits/Sec Maximum"
            },
            {
                "name": "midgressBitsPerSecondMin",
                "label": "Midgress Bits/Sec Minimum"
            },
            {
                "name": "midgressBytesSlope",
                "label": "Midgress Bytes Slope"
            },
            {
                "name": "midgressBytesTotal",
                "label": "Total Midgress Bytes"
            },
            {
                "name": "midgressHitsPerSecond",
                "label": "Midgress Hits/Sec"
            },
            {
                "name": "midgressHitsPerSecondMax",
                "label": "Midgress Hits/Sec Maximum"
            },
            {
                "name": "midgressHitsPerSecondMin",
                "label": "Midgress Hits/Sec Minimum"
            },
            {
                "name": "midgressHitsSlope",
                "label": "Midgress Hits Slope"
            },
            {
                "name": "midgressHitsTotal",
                "label": "Total Midgress Hits"
            },
            {
                "name": "originBitsPerSecond",
                "label": "Origin Bits/Sec"
            },
            {
                "name": "originBitsPerSecondMax",
                "label": "Origin Bits/Sec Maximum"
            },
            {
                "name": "originBitsPerSecondMin",
                "label": "Origin Bits/Sec Minimum"
            },
            {
                "name": "originBytesSlope",
                "label": "Origin Bytes Slope"
            },
            {
                "name": "originBytesTotal",
                "label": "Total Origin Bytes"
            },
            {
                "name": "originHitsPerSecond",
                "label": "Origin Hits/Sec"
            },
            {
                "name": "originHitsPerSecondMax",
                "label": "Origin Hits/Sec Maximum"
            },
            {
                "name": "originHitsPerSecondMin",
                "label": "Origin Hits/Sec Minimum"
            },
            {
                "name": "originHitsSlope",
                "label": "Origin Hits  Slope"
            },
            {
                "name": "originHitsTotal",
                "label": "Total Origin Hits"
            }
        ],
        "objectType": "cpcode",
        "objectIds": [
            "55232",
            "23433",
            "32433"
        ]
    },
    "data": [
        {
            "startdatetime": "2019-10-08T13:40:00Z",
            "bytesOffload": "71",
            "bytesOffloadAvg": "70",
            "bytesOffloadMax": "49",
            "bytesOffloadMin": "74",
            "bytesOffloadSlope": "4578",
            "edgeBitsPerSecond": "2117.251794",
            "edgeBitsPerSecondMax": "2982.407392",
            "edgeBitsPerSecondMin": "522.790914",
            "edgeBytesSlope": "4235",
            "edgeBytesTotal": "1235",
            "edgeHitsPerSecond": "4656.059142",
            "edgeHitsPerSecondMax": "1676.447099",
            "edgeHitsPerSecondMin": "4825.004489",
            "edgeHitsSlope": "1434",
            "edgeHitsTotal": "4756",
            "hitsOffload": "47",
            "hitsOffloadAvg": "75",
            "hitsOffloadMax": "33",
            "hitsOffloadMin": "81",
            "hitsOffloadSlope": "1211",
            "midgressBitsPerSecond": "743.676577",
            "midgressBitsPerSecondMax": "3950.475974",
            "midgressBitsPerSecondMin": "4878.793077",
            "midgressBytesSlope": "3495",
            "midgressBytesTotal": "2708",
            "midgressHitsPerSecond": "3800.963989",
            "midgressHitsPerSecondMax": "55.059224",
            "midgressHitsPerSecondMin": "153.944419",
            "midgressHitsSlope": "4950",
            "midgressHitsTotal": "151",
            "originBitsPerSecond": "336.685512",
            "originBitsPerSecondMax": "4935.03361",
            "originBitsPerSecondMin": "4552.358495",
            "originBytesSlope": "4528",
            "originBytesTotal": "3646",
            "originHitsPerSecond": "3268.335919",
            "originHitsPerSecondMax": "2092.054914",
            "originHitsPerSecondMin": "2675.768433",
            "originHitsSlope": "2510",
            "originHitsTotal": "1375"
        },
        {
            "startdatetime": "2019-10-08T13:45:00Z",
            "bytesOffload": "71",
            "bytesOffloadAvg": "37",
            "bytesOffloadMax": "57",
            "bytesOffloadMin": "69",
            "bytesOffloadSlope": "2272",
            "edgeBitsPerSecond": "2186.296934",
            "edgeBitsPerSecondMax": "1835.457936",
            "edgeBitsPerSecondMin": "386.519319",
            "edgeBytesSlope": "4334",
            "edgeBytesTotal": "4968",
            "edgeHitsPerSecond": "4380.056245",
            "edgeHitsPerSecondMax": "143.145191",
            "edgeHitsPerSecondMin": "383.852352",
            "edgeHitsSlope": "2375",
            "edgeHitsTotal": "4026",
            "hitsOffload": "72",
            "hitsOffloadAvg": "50",
            "hitsOffloadMax": "82",
            "hitsOffloadMin": "20",
            "hitsOffloadSlope": "1742",
            "midgressBitsPerSecond": "3890.511091",
            "midgressBitsPerSecondMax": "1467.811524",
            "midgressBitsPerSecondMin": "1869.486304",
            "midgressBytesSlope": "1820",
            "midgressBytesTotal": "2746",
            "midgressHitsPerSecond": "374.553884",
            "midgressHitsPerSecondMax": "4452.8177",
            "midgressHitsPerSecondMin": "4619.576364",
            "midgressHitsSlope": "1619",
            "midgressHitsTotal": "3225",
            "originBitsPerSecond": "536.963725",
            "originBitsPerSecondMax": "2293.004248",
            "originBitsPerSecondMin": "1793.354802",
            "originBytesSlope": "2221",
            "originBytesTotal": "1752",
            "originHitsPerSecond": "4623.330994",
            "originHitsPerSecondMax": "3452.513379",
            "originHitsPerSecondMin": "3521.422768",
            "originHitsSlope": "2014",
            "originHitsTotal": "3374"
        },
        {
            "startdatetime": "2019-10-08T13:50:00Z",
            "bytesOffload": "53",
            "bytesOffloadAvg": "52",
            "bytesOffloadMax": "9",
            "bytesOffloadMin": "73",
            "bytesOffloadSlope": "4475",
            "edgeBitsPerSecond": "1482.633779",
            "edgeBitsPerSecondMax": "4926.004238",
            "edgeBitsPerSecondMin": "2460.880574",
            "edgeBytesSlope": "2225",
            "edgeBytesTotal": "1380",
            "edgeHitsPerSecond": "3708.909127",
            "edgeHitsPerSecondMax": "1545.818667",
            "edgeHitsPerSecondMin": "2121.432605",
            "edgeHitsSlope": "4969",
            "edgeHitsTotal": "1338",
            "hitsOffload": "3",
            "hitsOffloadAvg": "96",
            "hitsOffloadMax": "88",
            "hitsOffloadMin": "45",
            "hitsOffloadSlope": "2314",
            "midgressBitsPerSecond": "4094.757542",
            "midgressBitsPerSecondMax": "3606.505603",
            "midgressBitsPerSecondMin": "251.871606",
            "midgressBytesSlope": "783",
            "midgressBytesTotal": "4687",
            "midgressHitsPerSecond": "3564.318718",
            "midgressHitsPerSecondMax": "4816.625818",
            "midgressHitsPerSecondMin": "4700.453349",
            "midgressHitsSlope": "3325",
            "midgressHitsTotal": "4662",
            "originBitsPerSecond": "1611.974701",
            "originBitsPerSecondMax": "2710.674441",
            "originBitsPerSecondMin": "2608.213987",
            "originBytesSlope": "1160",
            "originBytesTotal": "2991",
            "originHitsPerSecond": "689.309769",
            "originHitsPerSecondMax": "2926.128244",
            "originHitsPerSecondMin": "4941.966341",
            "originHitsSlope": "4027",
            "originHitsTotal": "1685"
        },
        {
            "startdatetime": "2019-10-08T13:55:00Z",
            "bytesOffload": "81",
            "bytesOffloadAvg": "42",
            "bytesOffloadMax": "90",
            "bytesOffloadMin": "39",
            "bytesOffloadSlope": "2004",
            "edgeBitsPerSecond": "4026.463603",
            "edgeBitsPerSecondMax": "3660.794405",
            "edgeBitsPerSecondMin": "1346.120904",
            "edgeBytesSlope": "2136",
            "edgeBytesTotal": "982",
            "edgeHitsPerSecond": "2888.399834",
            "edgeHitsPerSecondMax": "2666.960505",
            "edgeHitsPerSecondMin": "2108.229808",
            "edgeHitsSlope": "3147",
            "edgeHitsTotal": "4504",
            "hitsOffload": "25",
            "hitsOffloadAvg": "1",
            "hitsOffloadMax": "10",
            "hitsOffloadMin": "37",
            "hitsOffloadSlope": "4334",
            "midgressBitsPerSecond": "2385.375761",
            "midgressBitsPerSecondMax": "708.359155",
            "midgressBitsPerSecondMin": "2220.669536",
            "midgressBytesSlope": "1618",
            "midgressBytesTotal": "1668",
            "midgressHitsPerSecond": "3362.028825",
            "midgressHitsPerSecondMax": "685.232306",
            "midgressHitsPerSecondMin": "3337.389063",
            "midgressHitsSlope": "1554",
            "midgressHitsTotal": "958",
            "originBitsPerSecond": "3921.627735",
            "originBitsPerSecondMax": "3181.756971",
            "originBitsPerSecondMin": "3480.173597",
            "originBytesSlope": "4609",
            "originBytesTotal": "4905",
            "originHitsPerSecond": "1647.090397",
            "originHitsPerSecondMax": "3085.04508",
            "originHitsPerSecondMin": "1861.678307",
            "originHitsSlope": "137",
            "originHitsTotal": "488"
        }
    ],
    "summaryStatistics": {}
}

CSV response

Status 200 text/csv

Response Body:

#METADATA_START
name,​todaytraffic-by-time
version,​1
source,​todaytraffic-by-time/versions/1
groupBy,​startdatetime
start,​2019-10-08T13:40:00Z
end,​2019-10-08T14:00:00Z
interval,`FIVE_MINUTES`
availableDataEnds,
suggestedRetryTime,
rowCount,​4
objectType,​cpcode
objectIds,​55232,​23433,​32433
response_class,​4xx,​2xx
response_status,​success,​error
#METADATA_END

#SUMMARYSTATISTICS_START

#SUMMARYSTATISTICS_END

#COLUMNS_START
startdatetime,​bytesOffload,​bytesOffloadAvg,​bytesOffloadMax,​bytesOffloadMin,​bytesOffloadSlope,​edgeBitsPerSecond,​edgeBitsPerSecondMax,​edgeBitsPerSecondMin,​edgeBytesSlope,​edgeBytesTotal,​edgeHitsPerSecond,​edgeHitsPerSecondMax,​edgeHitsPerSecondMin,​edgeHitsSlope,​edgeHitsTotal,​hitsOffload,​hitsOffloadAvg,​hitsOffloadMax,​hitsOffloadMin,​hitsOffloadSlope,​midgressBitsPerSecond,​midgressBitsPerSecondMax,​midgressBitsPerSecondMin,​midgressBytesSlope,​midgressBytesTotal,​midgressHitsPerSecond,​midgressHitsPerSecondMax,​midgressHitsPerSecondMin,​midgressHitsSlope,​midgressHitsTotal,​originBitsPerSecond,​originBitsPerSecondMax,​originBitsPerSecondMin,​originBytesSlope,​originBytesTotal,​originHitsPerSecond,​originHitsPerSecondMax,​originHitsPerSecondMin,​originHitsSlope,​originHitsTotal
#COLUMNS_END

#DATA_START
2019-10-08T13:40:00Z,71,​70,​49,​74,​4578,​2117.251794,​2982.407392,​522.790914,​4235,​1235,​4656.059142,​1676.447099,​4825.004489,​1434,​4756,​47,​75,​33,​81,​1211,​743.676577,​3950.475974,​4878.793077,​3495,​2708,​3800.963989,​55.059224,​153.944419,​4950,​151,​336.685512,​4935.03361,​4552.358495,​4528,​3646,​3268.335919,​2092.054914,​2675.768433,​2510,​1375
2019-10-08T13:45:00Z,71,​37,​57,​69,​2272,​2186.296934,​1835.457936,​386.519319,​4334,​4968,​4380.056245,​143.145191,​383.852352,​2375,​4026,​72,​50,​82,​20,​1742,​3890.511091,​1467.811524,​1869.486304,​1820,​2746,​374.553884,​4452.8177,​4619.576364,​1619,​3225,​536.963725,​2293.004248,​1793.354802,​2221,​1752,​4623.330994,​3452.513379,​3521.422768,​2014,​3374
2019-10-08T13:50:00Z,53,​52,​9,73,​4475,​1482.633779,​4926.004238,​2460.880574,​2225,​1380,​3708.909127,​1545.818667,​2121.432605,​4969,​1338,​3,96,​88,​45,​2314,​4094.757542,​3606.505603,​251.871606,​783,​4687,​3564.318718,​4816.625818,​4700.453349,​3325,​4662,​1611.974701,​2710.674441,​2608.213987,​1160,​2991,​689.309769,​2926.128244,​4941.966341,​4027,​1685
2019-10-08T13:55:00Z,81,​42,​90,​39,​2004,​4026.463603,​3660.794405,​1346.120904,​2136,​982,​2888.399834,​2666.960505,​2108.229808,​3147,​4504,​25,​1,10,​37,​4334,​2385.375761,​708.359155,​2220.669536,​1618,​1668,​3362.028825,​685.232306,​3337.389063,​1554,​958,​3921.627735,​3181.756971,​3480.173597,​4609,​4905,​1647.090397,​3085.04508,​1861.678307,​137,​488
#DATA_END

Get report details

This sample Get a report type operation gets the same information you need to run the todaytraffic-by-time report as provided in this reference documentation, but available dynamically to your API client application.

GET /reporting-api/v1/reports/todaytraffic-by-time/versions/1

Status 200 application/json

Response body:

{
    "name": "todaytraffic-by-time",
    "description": "Provides hits, volume, bandwidth, and offload data for the most recent 48 hours.",
    "businessObjectName": "cpcode",
    "version": 1,
    "status": "PUBLISHED",
    "deprecated": false,
    "timeBased": true,
    "outputType": "FLAT",
    "requiredProducts": [
        "Basic Traffic Reports"
    ],
    "requiredRoles": [
        "Reports - All privileges ",
        "Reports - View only",
        "OTA App User"
    ],
    "available": true,
    "metrics": [
        {
            "name": "bytesOffload",
            "description": "The volume that was served by Akamai as a percentage of total volume served for given objects and filters.",
            "label": "Offloaded Bytes",
            "unit": "RATIO",
            "summaryStatistic": false
        },
        {
            "name": "bytesOffloadAvg",
            "description": "The average number of bytes that Akamai served as a percentage of total hits served for given objects and filters.",
            "label": "Average Bytes Offload",
            "unit": "RATIO",
            "summaryStatistic": true
        },
        {
            "name": "bytesOffloadMax",
            "description": "The peak volume that was served by Akamai as a percentage of total volume served for given objects and filters.",
            "label": "Bytes Offload Maximum",
            "unit": "RATIO",
            "summaryStatistic": true
        },
        {
            "name": "bytesOffloadMin",
            "description": "The lowest volume that was served by Akamai as a percentage of total volume served for given objects and filters.",
            "label": "Bytes Offload Minimum",
            "unit": "RATIO",
            "summaryStatistic": true
        },
        {
            "name": "bytesOffloadSlope",
            "description": "Represents the overall change in volume that was served by Akamai as a percentage of total volume served for the given objects and filters, a positive number if increasing or a negative number if decreasing.",
            "label": "Bytes Offload Slope",
            "unit": "COUNT",
            "summaryStatistic": true
        },
        {
            "name": "edgeBitsPerSecond",
            "description": "The edge bandwidth for given objects and filters.",
            "label": "Edge Bits/Sec",
            "unit": "BIT_PER_SECOND",
            "summaryStatistic": false
        },
        {
            "name": "edgeBitsPerSecondMax",
            "description": "The peak edge bandwidth for given objects and filters.",
            "label": "Edge Bits/Sec Maximum",
            "unit": "BIT_PER_SECOND",
            "summaryStatistic": true
        },
        {
            "name": "edgeBitsPerSecondMin",
            "description": "The lowest edge bandwidth for given objects and filters.",
            "label": "Edge Bits/Sec Minimum",
            "unit": "BIT_PER_SECOND",
            "summaryStatistic": true
        },
        {
            "name": "edgeBytesSlope",
            "description": "Represents the overall change in volume for edge traffic for given objects and filters, a positive number if increasing or a negative number if decreasing.",
            "label": "Edge Bytes Slope",
            "unit": "COUNT",
            "summaryStatistic": true
        },
        {
            "name": "edgeBytesTotal",
            "description": "The total volume of edge traffic for given objects and filters.",
            "label": "Total Edge Bytes",
            "unit": "BYTE",
            "summaryStatistic": true
        },
        {
            "name": "edgeHitsPerSecond",
            "description": "The number of edge requests per second for given objects and filters.",
            "label": "Edge Hits/Sec",
            "unit": "COUNT_PER_SECOND",
            "summaryStatistic": false
        },
        {
            "name": "edgeHitsPerSecondMax",
            "description": "The peak number of edge requests per second for given objects and filters.",
            "label": "Edge Hits/Sec Maximum",
            "unit": "COUNT_PER_SECOND",
            "summaryStatistic": true
        },
        {
            "name": "edgeHitsPerSecondMin",
            "description": "The lowest number of edge requests per second for given objects and filters.",
            "label": "Edge Hits/Sec Minimum",
            "unit": "COUNT_PER_SECOND",
            "summaryStatistic": true
        },
        {
            "name": "edgeHitsSlope",
            "description": "Represents the overall change in the number of edge requests for given objects and filters, a positive number if increasing or a negative number if decreasing.",
            "label": "Edge Hits Slope",
            "unit": "COUNT",
            "summaryStatistic": true
        },
        {
            "name": "edgeHitsTotal",
            "description": "The total number of edge requests for given objects and filters.",
            "label": "Total Edge Hits",
            "unit": "COUNT",
            "summaryStatistic": true
        },
        {
            "name": "hitsOffload",
            "description": "The number of hits that Akamai served as a percentage of total hits served for given objects and filters.",
            "label": "Offloaded Hits",
            "unit": "RATIO",
            "summaryStatistic": false
        },
        {
            "name": "hitsOffloadAvg",
            "description": "The average number of hits that Akamai served as a percentage of total hits served for given objects and filters.",
            "label": "Average Hits Offload",
            "unit": "RATIO",
            "summaryStatistic": true
        },
        {
            "name": "hitsOffloadMax",
            "description": "The peak number of hits that Akamai served as a percentage of total hits served for given objects and filters.",
            "label": "Hits Offload Maximum",
            "unit": "RATIO",
            "summaryStatistic": true
        },
        {
            "name": "hitsOffloadMin",
            "description": "The lowest number of hits that Akamai served as a percentage of total hits served for given objects and filters.",
            "label": "Hits Offload Minimum",
            "unit": "RATIO",
            "summaryStatistic": true
        },
        {
            "name": "hitsOffloadSlope",
            "description": "The overall change in number of hits that were served by Akamai as a percentage of total hits served for given objects and filters, a positive number if increasing or a negative number if decreasing.",
            "label": "Hits Offload Slope",
            "unit": "COUNT",
            "summaryStatistic": true
        },
        {
            "name": "midgressBitsPerSecond",
            "description": "The bandwidth between Akamai servers for given objects and filters.",
            "label": "Midgress Bits/Sec",
            "unit": "BIT_PER_SECOND",
            "summaryStatistic": false
        },
        {
            "name": "midgressBitsPerSecondMax",
            "description": "The peak bandwidth measurement between Akamai servers for given objects and filters.",
            "label": "Midgress Bits/Sec Maximum",
            "unit": "BIT_PER_SECOND",
            "summaryStatistic": true
        },
        {
            "name": "midgressBitsPerSecondMin",
            "description": "The lowest bandwidth measurement between Akamai servers for given objects and filters.",
            "label": "Midgress Bits/Sec Minimum",
            "unit": "BIT_PER_SECOND",
            "summaryStatistic": true
        },
        {
            "name": "midgressBytesSlope",
            "description": "Represents the overall change in traffic volume between Akamai servers over time for given objects and filters, a positive number if increasing or a negative number if decreasing.",
            "label": "Midgress Bytes Slope",
            "unit": "COUNT",
            "summaryStatistic": true
        },
        {
            "name": "midgressBytesTotal",
            "description": "The total volume for the amount of internal API traffic exchanged between Akamai edge servers.",
            "label": "Total Midgress Bytes",
            "unit": "BYTE",
            "summaryStatistic": true
        },
        {
            "name": "midgressHitsPerSecond",
            "description": "The number of requests between Akamai servers per second for given objects and filters.",
            "label": "Midgress Hits/Sec",
            "unit": "COUNT_PER_SECOND",
            "summaryStatistic": false
        },
        {
            "name": "midgressHitsPerSecondMax",
            "description": "The peak number of requests between Akamai servers per second for given objects and filters.",
            "label": "Midgress Hits/Sec Maximum",
            "unit": "COUNT_PER_SECOND",
            "summaryStatistic": true
        },
        {
            "name": "midgressHitsPerSecondMin",
            "description": "The lowest number of requests between Akamai servers per second for given objects and filters.",
            "label": "Midgress Hits/Sec Minimum",
            "unit": "COUNT_PER_SECOND",
            "summaryStatistic": true
        },
        {
            "name": "midgressHitsSlope",
            "description": "Represents the overall change in traffic volume between Akamai servers over time for given objects and filters, a positive number if increasing or a negative number if decreasing.",
            "label": "Midgress Hits Slope",
            "unit": "COUNT",
            "summaryStatistic": true
        },
        {
            "name": "midgressHitsTotal",
            "description": "All hits with all response codes delivered from Akamai's Tiered Distribution network, that is bytes served from the Akamai Tiered Distribution infrastructure to edge servers.",
            "label": "Total Midgress Hits",
            "unit": "COUNT",
            "summaryStatistic": true
        },
        {
            "name": "originBitsPerSecond",
            "description": "The origin bandwidth for given objects and filters.",
            "label": "Origin Bits/Sec",
            "unit": "BIT_PER_SECOND",
            "summaryStatistic": false
        },
        {
            "name": "originBitsPerSecondMax",
            "description": "The peak origin bandwidth for given objects and filters.",
            "label": "Origin Bits/Sec Maximum",
            "unit": "BIT_PER_SECOND",
            "summaryStatistic": true
        },
        {
            "name": "originBitsPerSecondMin",
            "description": "The lowest origin bandwidth for given objects and filters.",
            "label": "Origin Bits/Sec Minimum",
            "unit": "BIT_PER_SECOND",
            "summaryStatistic": true
        },
        {
            "name": "originBytesSlope",
            "description": "Represents the overall change in origin traffic volume over time for given objects and filters, a positive number if increasing or a negative number if decreasing.",
            "label": "Origin Bytes Slope",
            "unit": "COUNT",
            "summaryStatistic": true
        },
        {
            "name": "originBytesTotal",
            "description": "The total volume of origin traffic for given objects and filters.",
            "label": "Total Origin Bytes",
            "unit": "BYTE",
            "summaryStatistic": true
        },
        {
            "name": "originHitsPerSecond",
            "description": "The number of origin requests per second for given objects and filters.",
            "label": "Origin Hits/Sec",
            "unit": "COUNT_PER_SECOND",
            "summaryStatistic": false
        },
        {
            "name": "originHitsPerSecondMax",
            "description": "The peak number of origin requests per second for given objects and filters.",
            "label": "Origin Hits/Sec Maximum",
            "unit": "COUNT_PER_SECOND",
            "summaryStatistic": true
        },
        {
            "name": "originHitsPerSecondMin",
            "description": "The lowest number of origin requests per second for given objects and filters.",
            "label": "Origin Hits/Sec Minimum",
            "unit": "COUNT_PER_SECOND",
            "summaryStatistic": true
        },
        {
            "name": "originHitsSlope",
            "description": "Represents the overall change in the number of requests to origin over time for given objects and filters, a positive number if increasing or a negative number if decreasing.",
            "label": "Origin Hits  Slope",
            "unit": "COUNT",
            "summaryStatistic": true
        },
        {
            "name": "originHitsTotal",
            "description": "The total number of origin requests for given objects and filters.",
            "label": "Total Origin Hits",
            "unit": "COUNT",
            "summaryStatistic": true
        }
    ],
    "groupOutlyingValues": {
        "enabled": false
    },
    "groupBy": [
        "startdatetime"
    ],
    "filters": [
        {
            "name": "response_class",
            "type": "enum",
            "description": "A class of HTTP response status codes, from 0xx through 6xx.",
            "values": [
                {
                    "value": "0xx",
                    "description": "An aborted action on the client side."
                },
                {
                    "value": "1xx",
                    "description": "An informational response, like Continue."
                },
                {
                    "value": "2xx",
                    "description": "A successful response."
                },
                {
                    "value": "3xx",
                    "description": "Success, but a redirect where the thing you want is somewhere else."
                },
                {
                    "value": "4xx",
                    "description": "Error, where there's some problem with the client request."
                },
                {
                    "value": "5xx",
                    "description": "Error, where there's some problem with how the API server responded to the client request."
                },
                {
                    "value": "6xx",
                    "description": "Invalid headers (defined by Akamai)."
                }
            ],
            "required": false
        },
        {
            "name": "response_status",
            "type": "enum",
            "description": "An indicator of whether the HTTP response resulted in success or an error.",
            "values": [
                {
                    "value": "success",
                    "description": "Successful HTTP response status."
                },
                {
                    "value": "error",
                    "description": "Error HTTP response status."
                }
            ],
            "required": false
        }
    ],
    "intervals": [
        "MONTH",
        "WEEK",
        "DAY",
        "HOUR",
        "FIVE_MINUTES"
    ],
    "dataRetentionDays": 3,
    "links": [
        {
            "rel": "self",
            "href": "/reporting-api/v1/reports/todaytraffic-by-time/versions/1"
        },
        {
            "rel": "versions",
            "href": "/reporting-api/v1/reports/todaytraffic-by-time/versions"
        },
        {
            "rel": "all-reports",
            "href": "/reporting-api/v1/reports"
        },
        {
            "rel": "execute-report",
            "href": "/reporting-api/v1/reports/todaytraffic-by-time/versions/1/report-data"
        }
    ]
}