---
updatedAt: 2026-03-01T18:30:34.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/edge-hostnames/llms.txt
---

# Get a change request

```curl cURL
changeId=2

egcurl --eg-section default --request GET \
  --url "https://$hostname/hapi/v1/change-requests/$changeId" \
  --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
});   

const changeId = 2;

eg.auth({
  path: `/hapi/v1/change-requests/${changeId}`,
  method: "GET",
  headers: {
    
    "Accept": "application/json"}                    
});
eg.send(function(error, response, body) {
  console.log(body);    
});
```

```python Python
import requests
from akamai.edgegrid import EdgeGridAuth, EdgeRc
from urlparse 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)
changeId = 2
 

path= '/hapi/v1/change-requests/{}'.format(changeId)
headers = {
  
  "Accept": "application/json"}  

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

```json Response Example
{
    "action": "CREATE",
    "changeId": 2,
    "comments": "Created for example.com",
    "status": "SUCCEEDED",
    "statusMessage": "File successfully deployed to Akamai's network",
    "statusUpdateDate": "2018-10-17T20:21:17.0Z",
    "statusUpdateEmail": "asmith@akamai.com",
    "submitDate": "2018-10-17T20:21:12.0Z",
    "submitter": "asmith",
    "submitterEmail": "asmith@akamai.com",
    "edgeHostnames": [
        {
            "edgeHostnameId": 2,
            "recordName": "www.example.com",
            "dnsZone": "edgekey.net",
            "securityType": "ENHANCED-TLS",
            "useDefaultTtl": false,
            "useDefaultMap": false,
            "ttl": 21600,
            "map": "e;b.akamaiedge.net",
            "slotNumber": 11838,
            "ipVersionBehavior": "IPV4",
            "comments": "Edited for Super Bowl"
        }
    ]
}
```

# Set up authorization

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

Before you can 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.

# Get the change request Id

<!-- curl@1 -->
<!-- node@10 -->
<!-- python@11 -->

Run the [List change requests](https://techdocs.akamai.com/edge-hostnames/recipes/list-change-requests) operation, to get the `changeId` URL parameter if it's not known.

# Form the URL

<!-- curl@1,4 -->
<!-- node@10,13 -->
<!-- python@11,14 -->

Enter the `changeId` value into the URL.

# Call the API

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

Call GET on the request URL.

# Review the response

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

The response returns the change request data for the specified `changeId`.