Get the resource tier
GET https://{{host}}/edgeworkers/v1/ids/:edgeWorkerId/resource-tier
View the details of the resource tier assigned to the EdgeWorker ID.
Body
PARAM
Key | Datatype | Required | Description |
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
{
"edgeWorkerLimits": [
{
"limitName": "Maximum CPU time during initialization",
"limitUnit": "MILLISECOND",
"limitValue": 30
},
{
"limitName": "Maximum wall time during initialization",
"limitUnit": "MILLISECOND",
"limitValue": 100
},
{
"limitName": "Maximum number of HTTP sub-requests allowed in parallel per EdgeWorker ID",
"limitUnit": "COUNT",
"limitValue": 0
},
{
"limitName": "Maximum memory usage per event handler",
"limitUnit": "BYTE",
"limitValue": 1310720
},
{
"limitName": "Maximum CPU time per event handler",
"limitUnit": "MILLISECOND",
"limitValue": 50
},
{
"limitName": "Maximum wall time per event handler",
"limitUnit": "MILLISECOND",
"limitValue": 4000
},
{
"limitName": "Maximum number of HTTP sub-requests allowed from a parent request",
"limitUnit": "COUNT",
"limitValue": 1
},
{
"limitName": "Maximum number of HTTP sub-requests allowed in parallel with the parent request",
"limitUnit": "COUNT",
"limitValue": 1
},
{
"limitName": "Maximum wall time per HTTP sub-request",
"limitUnit": "MILLISECOND",
"limitValue": 1000
},
{
"limitName": "Maximum response size per HTTP sub-request",
"limitUnit": "BYTE",
"limitValue": 1048576
},
{
"limitName": "Maximum memory usage for responseProvider",
"limitUnit": "BYTE",
"limitValue": 2097152
},
{
"limitName": "Maximum CPU time for responseProvider",
"limitUnit": "MILLISECOND",
"limitValue": 100
},
{
"limitName": "Maximum wall time for responseProvider",
"limitUnit": "MILLISECOND",
"limitValue": 4000
},
{
"limitName": "Maximum number of HTTP sub-requests allowed for responseProvider",
"limitUnit": "COUNT",
"limitValue": 50
},
{
"limitName": "Maximum number of HTTP sub-requests allowed in parallel for responseProvider",
"limitUnit": "COUNT",
"limitValue": 5
},
{
"limitName": "Maximum walltime for HTTP sub-requests during the execution of the responseProvider event handler",
"limitUnit": "MILLISECOND",
"limitValue": Curl curl -X GET 'https://host/edgeworkers/v1/ids/:edgeWorkerId/resource-tier?accountSwitchKey=' -H 'Accept: application/json' ENDPOINTS |