---
updatedAt: 2026-07-08T13:02:32.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/edgeworkers/llms.txt
---

# List resource tiers

```curl cURL
contractId="1-ABC"

egcURL --eg-section default --request GET \

  --url "https://$hostname/edgeworkers/v1/resource-tiers?contractId=$contractId" \
  --header "Accept: application/json" 

```

```node Node
const EdgeGrid = require("akamai-edgegrid");
const os = require("os");
const edgercPath = os.homedir + "/.edgerc.txt";
const edgercSection = "default";  
const eg = new EdgeGrid({
  path: edgercPath,
  section: edgercSection
});   


eg.auth({
  path: `/edgeworkers/v1/resource-tiers`,
  method: "GET",
  headers: {
    
    "Accept": "application/json"},
  qs: {
    "contractId": "1-ABC"
}                    
});
eg.send(function(error, response, body) {
  console.log(body);    
})
```

```python Python
import requests
from akamai.edgegrid import EdgeGridAuth, EdgeRc
from urllib.parse import urljoin

edgerc = EdgeRc('~/.edgerc.txt')
section = 'default'
baseurl = 'https://%s' % edgerc.get(section, 'host')

session = requests.Session()
session.auth = EdgeGridAuth.from_edgerc(edgerc, section)
 

path= '/edgeworkers/v1/resource-tiers'
headers = {
  
  "Accept": "application/json"} 
querystring = {
  "contractId": "1-ABC"
}  

result = session.get(urljoin(baseurl, path), headers=headers, params=querystring)
print(result.status_code)
print(result.json())

```

```json Response Example
{
    "resourceTiers": [
        {
            "resourceTierId": 100,
            "resourceTierName": "Basic Compute",
            "edgeWorkerLimits": [
                {
                    "limitName": "Maximum CPU time during initialization",
                    "limitValue": 30,
                    "limitUnit": "MILLISECOND"
                },
                {
                    "limitName": "Maximum wall time during initialization",
                    "limitValue": 100,
                    "limitUnit": "MILLISECOND"
                },
                {
                    "limitName": "Maximum number of HTTP sub-requests allowed in parallel per EdgeWorker ID",
                    "limitValue": 0,
                    "limitUnit": "COUNT"
                },
                {
                    "limitName": "Maximum memory usage per event handler",
                    "limitValue": 1310720,
                    "limitUnit": "BYTE"
                },
                {
                    "limitName": "Maximum CPU time per event handler",
                    "limitValue": 10,
                    "limitUnit": "MILLISECOND"
                },
                {
                    "limitName": "Maximum wall time per event handler",
                    "limitValue": 100,
                    "limitUnit": "MILLISECOND"
                },
                {
                    "limitName": "Maximum number of HTTP sub-requests allowed from a parent request",
                    "limitValue": 0,
                    "limitUnit": "COUNT"
                },
                {
                    "limitName": "Maximum number of HTTP sub-requests allowed in parallel with the parent request",
                    "limitValue": 0,
                    "limitUnit": "COUNT"
                },
                {
                    "limitName": "Maximum wall time per HTTP sub-request",
                    "limitValue": 0,
                    "limitUnit": "MILLISECOND"
                },
                {
                    "limitName": "Maximum response size per HTTP sub-request",
                    "limitValue": 0,
                    "limitUnit": "BYTE"
                },
                {
                    "limitName": "Maximum memory usage for responseProvider",
                    "limitValue": 2097152,
                    "limitUnit": "BYTE"
                },
                {
                    "limitName": "Maximum CPU time for responseProvider",
                    "limitValue": 100,
                    "limitUnit": "MILLISECOND"
                },
                {
                    "limitName": "Maximum wall time for responseProvider",
                    "limitValue": 4000,
                    "limitUnit": "MILLISECOND"
                },
                {
                    "limitName": "Maximum number of HTTP sub-requests allowed for responseProvider",
                    "limitValue": 50,
                    "limitUnit": "COUNT"
                },
                {
                    "limitName": "Maximum number of HTTP sub-requests allowed in parallel for responseProvider",
                    "limitValue": 5,
                    "limitUnit": "COUNT"
                },
                {
                    "limitName": "Maximum wall time for HTTP sub-requests during the execution of the responseProvider event handler",
                    "limitValue": 1000,
                    "limitUnit": "MILLISECOND"
                },
                {
                    "limitName": "Maximum response size for HTTP sub-requests during the responseProvider event handler",
                    "limitValue": 1048576,
                    "limitUnit": "BYTE"
                }
            ]
        },
        {
            "resourceTierId": 200,
            "resourceTierName": "Dynamic Compute",
            "edgeWorkerLimits": [
                {
                    "limitName": "Maximum CPU time during initialization",
                    "limitValue": 30,
                    "limitUnit": "MILLISECOND"
                },
                {
                    "limitName": "Maximum wall time during initialization",
                    "limitValue": 100,
                    "limitUnit": "MILLISECOND"
                },
                {
                    "limitName": "Maximum number of HTTP sub-requests allowed in parallel per EdgeWorker ID",
                    "limitValue": 0,
                    "limitUnit": "COUNT"
                },
                {
                    "limitName": "Maximum memory usage per event handler",
                    "limitValue": 1310720,
                    "limitUnit": "BYTE"
                },
                {
                    "limitName": "Maximum CPU time per event handler",
                    "limitValue": 50,
                    "limitUnit": "MILLISECOND"
                },
                {
                    "limitName": "Maximum wall time per event handler",
                    "limitValue": 4000,
                    "limitUnit": "MILLISECOND"
                },
                {
                    "limitName": "Maximum number of HTTP sub-requests allowed from a parent request",
                    "limitValue": 1,
                    "limitUnit": "COUNT"
                },
                {
                    "limitName": "Maximum number of HTTP sub-requests allowed in parallel with the parent request",
                    "limitValue": 1,
                    "limitUnit": "COUNT"
                },
                {
                    "limitName": "Maximum wall time per HTTP sub-request",
                    "limitValue": 1000,
                    "limitUnit": "MILLISECOND"
                },
                {
                    "limitName": "Maximum response size per HTTP sub-request",
                    "limitValue": 1048576,
                    "limitUnit": "BYTE"
                },
                {
                    "limitName": "Maximum memory usage for responseProvider",
                    "limitValue": 2097152,
                    "limitUnit": "BYTE"
                },
                {
                    "limitName": "Maximum CPU time for responseProvider",
                    "limitValue": 100,
                    "limitUnit": "MILLISECOND"
                },
                {
                    "limitName": "Maximum wall time for responseProvider",
                    "limitValue": 4000,
                    "limitUnit": "MILLISECOND"
                },
                {
                    "limitName": "Maximum number of HTTP sub-requests allowed for responseProvider",
                    "limitValue": 50,
                    "limitUnit": "COUNT"
                },
                {
                    "limitName": "Maximum number of HTTP sub-requests allowed in parallel for responseProvider",
                    "limitValue": 5,
                    "limitUnit": "COUNT"
                },
                {
                    "limitName": "Maximum wall time for HTTP sub-requests during the execution of the responseProvider event handler",
                    "limitValue": 1000,
                    "limitUnit": "MILLISECOND"
                },
                {
                    "limitName": "Maximum response size for HTTP sub-requests during the execution of the responseProvider event handler",
                    "limitValue": 1048576,
                    "limitUnit": "BYTE"
                }
            ]
        }
    ]
}
```

# Set up authentication

<!-- curl@ -->

Before you can use this API, you need to [Create authentication credentials](https://techdocs.akamai.com/developer/docs/set-up-authentication-credentials).

Then, you can use these code samples to apply the token values to your requests.

# What it does

<!-- curl@ -->

This operation lists your available resource tiers that specify limits under which your EdgeWorkers execute.

# Fetch a contractId value

<!-- curl@ -->

If you want to filter resource tiers by contract, run the [List contract IDs](https://techdocs.akamai.com/edgeworkers/reference/get-contracts) operation to get the `contractId` value.

# Form the request URL

<!-- curl@5 -->
<!-- node@12 -->
<!-- python@13 -->

Optionally specify the `contractId` query parameter.

# Call the API

<!-- curl@1-100 -->
<!-- node@1-100 -->
<!-- python@1-100 -->

Call GET on the URL with your API client.

# GET response data

<!-- curl@0 -->
<!-- node@0 -->
<!-- python@0 -->

The response's `edgeWorkerLimits` array lists details on resource limits.