---
updatedAt: 2026-03-01T18:55:10.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/cp-codes/llms.txt
---

# List details of a reporting group

```curl cURL
reportingGroupId=101010

egcurl --eg-section default --request GET \
  --url "https://$hostname/cprg/v1/reporting-groups/$reportingGroupId" \
  --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 reportingGroupId = 101010;

eg.auth({
    path: `/cprg/v1/reporting-groups/${reportingGroupId}`,
    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)
reportingGroupId = 101010

path = "/cprg/v1/reporting-groups/{}".format(reportingGroupId)
headers = {"Accept": "application/json"}

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

```

```json Response Example
{
    "reportingGroupId": 101010,
    "reportingGroupName": "Region XYZ",
    "accessGroup": {
        "groupId": 9760,
        "contractId": "1-ABC123"
    },
    "contracts": [
        {
            "contractId": "1-ABC123",
            "cpcodes": [
                {
                    "cpcodeId": 12345,
                    "cpcodeName": "CPC XYZ"
                },
                {
                    "cpcodeId": 67890,
                    "cpcodeName": "CPC SME"
                }
            ]
        }
    ]
}
```

# Set up authorization

<!-- curl@3 -->
<!-- node@1-9 -->
<!-- python@1-10 -->

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

# Get a reportingGroupId

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

Run the [List reporting groups](https://techdocs.akamai.com/cp-codes/reference/get-reporting-groups) operation to pick a `reportingGroupId` value for use in the request URL.

# Form the URL

<!-- curl@4 -->
<!-- node@12-18 -->
<!-- python@13-14 -->

Inject the `reportingGroupId` value into the URL template.

# Call the API

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

Call GET on the request URL.

# Get the response data

<!-- python@0 -->

The response data reflects this reporting group's details that you can use to [Update a reporting group](https://techdocs.akamai.com/cp-codes/reference/put-reporting-group).