Logo
Akamai APIs API Documentation

Get the Content problems scenario response

GET https://{{host}}/edge-diagnostics/v1/content-problems/requests/:requestId

Returns the status of the asynchronous Run the content problems scenario request. Operations with the SUCCESS status include fetched GREP and cURL data.

 

Body PARAM

Key Datatype Required Description 
includeContentResponseBody
string (Optional) Includes response bodies in the response.
accountSwitchKey
string (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "content": [ { "additionalRequestParameters": { "includeDefaultPragmaHeaders": true }, "executionContext": "DEFAULT", "executionStatus": "SUCCESS", "result": { "httpStatusCode": 200, "httpVersion": "HTTP/1.1", "reasonPhrase": "OK", "responseHeaderList": [ "Transfer-Encoding: chunked", "X-Cache: TCP_MISS from a23-212-50-38.deploy.akamaitechnologies.com (AkamaiGHost/10.4.6-37171458) (-)", "Content-Type: text/html; charset=UTF-8", "X-Powered-By: PHP/7.3.2" ], "timing": { "dnsLookupTime": 1.509502, "sslConnectionTime": 0, "tcpConnectionTime": 1.524193, "timeToFirstByte": 1.555875, "totalTime": 2.091051 } }, "suggestedActions": [ "Compare the response headers served from edge and origin.", "Check for content correctness.", "Check content length/bytes served." ] } ], "createdBy": "jperez", "createdTime": "2021-11-26T13:41:07Z", "executionStatus": "SUCCESS", "internalIp": "192.0.2.17", "internalIpLocation": { "asNumber": 20940, "city": "ADELAIDE", "countryCode": "AU", "regionCode": "SA" }, "logLines": [ { "executionContext": "DEFAULT", "executionStatus": "SUCCESS", "result": { "legend": { "fObjectStatus": { "D": "A default object was served.", "a": "This response was sent through the ESI processor.", "o": "The origin server was contacted for the request.", "x": "Either 'no-store' is turned on by metadata and not disabled by \"!no-store\" in the response or the downstream TTL was set by metadata and not by the response header." }, "fObjectStatus2": {}, "fObjectStatus3": {}, "logType": { "f": "(f) going forward to forward hostname" }, "rObjectStatus": {}, "rObjectStatus2": {}, "rObjectStatus3": {} }, "logs": [ { "arl": "/D/16382/474258/000/origin-www.example.com/%20vcd=1360", "bytesReceived": "21154", "bytesServed": "-", "clientIp": "192.0.2.17", "contentBytesServed": "-", "contentType": "text/html", "cookie": "-", "cpCode": "1234567", "dateTime": "2021-11-26T13:41:18.014Z", "edgeIp": "192.0.2.14", "error": "-", "forwardHostname": "origin-www.example.com", "forwardIp": "192.0.2.18", "hostHeader": "-", "httpMethod": "GET", "httpStatus": "200", "logType": "f", "objectSize": "-", "objectStatus": "oaDx", "objectStatus2": "-", "objectStatus3": "-", "referer": "-", "sslVersion": "TLSv1.2", "timeTaken": "0", "turnaroundTime": "3494", "userAgent": "-" } ] }, "suggestedActions": [ "Check content length/bytes served." ] } ], "request": { "edgeLocationId": "adelaide-sa-australia", "ipVersion": "IPV4", "requestHeaders": [ "Test: Test" ], "spoofEdgeIp": "192.0.2.9", "url": "https://www.easybrazilinvesting.com" }, "requestId": 365, "spoofEdgeIpLocation": { "asNumber": 20940, "city": "MUMBAI", "countryCode": "IN", "regionCode": "MH" }, "summary": { "content": [ { "additionalRequestParameters": { "includeDefaultPragmaHeaders": true }, "executionContext": "DEFAULT", "executionStatus": "SUCCESS", "result": { "responseHeaderList": [] }, "suggestedActions": [ "Compare the response headers served from edge and origin.", "Check for content correctness.", "Check content length/bytes served." ] } ], "logLines": [ { "executionContext": "DEFAULT", "executionStatus": "SUCCESS", "result": { "legend": { "fObjectStatus": { "D": "A default object was served.", "a": "This response was sent through the ESI processor.", "o": "The origin server was contacted for the request.", "x": "Either 'no-store' is turned on by metadata and not disabled by \"!no-store\" in the response or the downstream TTL was set by metadata and not by the response header." }, "fObjectStatus2": {}, "fObjectStatus3": {}, "logType": { "f": "(f) going forward to forward hostname" }, "rObjectStatus": {}, "rObjectStatus2": {}, "rObjectStatus3": {} }, "logs": [ { "clientIp": "192.0.2.17", "contentBytesServed": "-", "edgeIp": "192.0.2.14", "forwardIp": "192.0.2.18", "logType": "f", "objectStatus": "oaDx", "timeTaken": "0", "turnaroundTime": "3494" } ] }, "suggestedActions": [ "Check content length/bytes served." ] } ] } }



Curl
curl -X GET 'https://undefined/edge-diagnostics/v1/content-problems/requests/:requestId?includeContentResponseBody=&accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS