Logo
Akamai APIs API Documentation

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, &q
Curl
curl -X GET 'https://host/script-management/v1/properties/:propertyId/hostnames/:hostname/network/:network/insights?firstParty=&thirdParty=&accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS