Get insights
GET https://{{host}}/script-management/v1/properties/:propertyId/hostnames/:hostname/network/:network/insights
Returns script performance information for the specified propertyId
, hostname
, and network
.
Body
PARAM
Key | Datatype | Required | Description |
firstParty
|
string | (Optional) Set to `false` to exclude first-party scripts. If you leave it out, the operation includes first-party scripts in the response. | |
thirdParty
|
string | (Optional) Set to `false` to exclude third-party scripts. If you leave it out, the operation includes third-party scripts 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
{
"production": [
{
"action": "BLOCK",
"analysis": "HIGH",
"analysisReason": "Slow transfer time (>1000 ms)",
"avgPopularityPercentage": 1,
"avgTransferSizeBytes": 476,
"avgTransferTimeMs": 10336,
"category": "Miscellaneous",
"group": "renegade.akalab.ca",
"maxPopularityPercentage": 2,
"maxTransferSizeBytes": 514,
"maxTransferTimeMs": 10914,
"minPopularityPercentage": 1,
"minTransferSizeBytes": 461,
"minTransferTimeMs": 9654,
"party": "THIRD_PARTY",
"recentPopularityPercentage": 1,
"recentTransferSizeBytes": 487,
"recentTransferTimeMs": 10285,
"script": "https://renegade.akalab.ca/edge-demo/block.php.js",
"spof": true,
"testingSuggestions": [
"https://www.maple-af.com/"
]
},
{
"action": "DEFER",
"analysis": "LOW",
"analysisReason": "Fast transfer time (<300 ms)",
"avgPopularityPercentage": 100,
"avgTransferSizeBytes": 474,
"avgTransferTimeMs": 31,
"category": "Miscellaneous",
"group": "renegade.akalab.ca",
"maxPopularityPercentage": 100,
"maxTransferSizeBytes": 512,
"maxTransferTimeMs": 44,
"minPopularityPercentage": 100,
"minTransferSizeBytes": 458,
"minTransferTimeMs": 27,
"party": "THIRD_PARTY",
"recentPopularityPercentage": 100,
"recentTransferSizeBytes": 487,
"recentTransferTimeMs": 29,
"script": "https://renegade.akalab.ca/edge-demo/defer.php.js",
"spof": false,
"testingSuggestions": [
"https://www.maple-af.com/"
]
}
],
"staging": [
{
"action": "BLOCK",
"analysis": "HIGH",
"analysisReason": "Slow transfer time (>1000 ms)",
"avgPopularityPercentage": 1,
"avgTransferSizeBytes": 476,
"avgTransferTimeMs": 10336,
"category": "Miscellaneous",
"group": "renegade.akalab.ca",
"maxPopularityPercentage": 2,
"maxTransferSizeBytes": 514,
"maxTransferTimeMs": 10914,
"minPopularityPercentage": 1,
"minTransferSizeBytes": 461,
"minTransferTimeMs": 9654,
"party": "THIRD_PARTY",
"recentPopularityPercentage": 1,
"recentTransferSizeBytes": 487,
"recentTransferTimeMs": 10285,
"script": "https://renegade.akalab.ca/edge-demo/block.php.js",
"spof": true,
"testingSuggestions": [
"https://www.maple-af.com/"
]
},
{
"action": "DEFER",
"analysis": "LOW",
"analysisReason": "Fast transfer time (<300 ms)",
"avgPopularityPercentage": 100,
"avgTransferSizeBytes": 474,
"avgTransferTimeMs": 31,
"category": "Miscellaneous",
"group": "renegade.akalab.ca",
"maxPopularityPercentage": 100,
"maxTransferSizeBytes": 512,
"maxTransferTimeMs": 44,
"minPopularityPercentage": 100,
"minTransferSizeBytes": 458,
"minTransferTimeMs": 27,
"party": "THIRD_PARTY",
"recentPopularityPercentage": 100,
"recentTransferSizeBytes": 487,
"recentTransferTimeMs": 29,
"script": "https://renegade.akalab.ca/edge-demo/defer.php.js",
"spof": false,
"testingSuggestions": [
"https://www.maple-af.com/"
]
}
]
} |
ENDPOINTS