# Akamai DataStream 2 API API

> Akamai DataStream 2 API API on Apizie: 14 endpoints (List data set fields, List groups, List properties by group, List streams, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://zieapi.vercel.app/v1/cloud:akamai-datastream-config-api/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:akamai-datastream-config-api`
- Category: Cloud
- Status: byok
- Source: https://techdocs.akamai.com/home/page/apis
- Page: https://zieapi.vercel.app/api/cloud/akamai-datastream-config-api
- OpenAPI: https://zieapi.vercel.app/api/cloud/akamai-datastream-config-api/openapi.json

Monitors activity on the Akamai platform and sends live log data to a destination of your choice.

## Endpoints

### List data set fields
`GET https://zieapi.vercel.app/v1/cloud:akamai-datastream-config-api/get-dataset-fields` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| hostname | string | yes | Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net |
| productId | string | no | Uniquely identifies the product, and allows listing data sets available for that product. In the [List data set… |

### List groups
`GET https://zieapi.vercel.app/v1/cloud:akamai-datastream-config-api/get-groups` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| hostname | string | yes | Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net |
| contractId | string | no | Uniquely identifies the contract that belongs to a group. |

### List properties by group
`GET https://zieapi.vercel.app/v1/cloud:akamai-datastream-config-api/get-group-properties` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| hostname | string | yes | Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net |
| groupId | integer | yes | Uniquely identifies the group that can access the product. |

### List streams
`GET https://zieapi.vercel.app/v1/cloud:akamai-datastream-config-api/get-streams` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| hostname | string | yes | Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net |
| groupId | integer | no | Uniquely identifies the group that can access the product. |
| propertyName | string | no | Uniquely identifies the property. Enter up to five comma-delimited property names to get streams for specific properties. |

### Create a stream
`POST https://zieapi.vercel.app/v1/cloud:akamai-datastream-config-api/post-stream` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| hostname | string | yes | Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net |
| activate | boolean | no | Activates the stream at the time of the request, `false` by default. When you [Edit a… |
| body | object | yes | JSON request body |

### View upload metrics
`GET https://zieapi.vercel.app/v1/cloud:akamai-datastream-config-api/get-streams-metrics` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| hostname | string | yes | Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net |
| start | string | yes | Specifies the beginning of the time range for the metrics in the ISO 8601 format. Set this no more than seven days before the `end` date. |
| end | string | yes | Specifies the end of the time range for the metrics in the ISO 8601 format. Set this no more than seven days after the `start` date. |
| streamId | integer | no | Uniquely identifies the stream. Set the `streamId` to get metrics for a specific stream, or `groupId` for all streams belonging to that… |
| groupId | integer | no | Set the `groupId` to get metrics for all streams belonging to that group, or `streamId` for a specific stream. If both are omitted, this… |
| aggregationInterval | string | no | __Enum__ Specifies the time interval for metrics aggregation, either 5 minutes, an hour, or 24 hours. If omitted, this operation returns… |
| includeDetails | boolean | no | Set to `true` or omit to get detailed metrics. If set to `false`, this operation returns only the `timestamp`, `streamId`,… |

### Get a stream
`GET https://zieapi.vercel.app/v1/cloud:akamai-datastream-config-api/get-stream` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| hostname | string | yes | Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net |
| streamId | integer | yes | Uniquely identifies the stream. |
| version | integer | no | Identifies the version of the stream. If omitted, the operation returns the latest version of the stream. |

### Edit a stream
`POST https://zieapi.vercel.app/v1/cloud:akamai-datastream-config-api/put-stream` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| hostname | string | yes | Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net |
| streamId | integer | yes | Uniquely identifies the stream. |
| activate | boolean | no | Activates the stream at the time of the request, `false` by default. When you [Edit a… |
| body | object | yes | JSON request body |

### Patch a stream
`POST https://zieapi.vercel.app/v1/cloud:akamai-datastream-config-api/patch-stream` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| hostname | string | yes | Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net |
| streamId | integer | yes | Uniquely identifies the stream. |
| activate | boolean | no | Activates the stream at the time of the request, `false` by default. When you [Edit a… |
| body | object | yes | JSON request body |

### Delete a stream
`POST https://zieapi.vercel.app/v1/cloud:akamai-datastream-config-api/delete-stream` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| hostname | string | yes | Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net |
| streamId | integer | yes | Uniquely identifies the stream. |

### Activate a stream
`POST https://zieapi.vercel.app/v1/cloud:akamai-datastream-config-api/post-stream-activate` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| hostname | string | yes | Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net |
| streamId | integer | yes | Uniquely identifies the stream. |

### View activation history
`GET https://zieapi.vercel.app/v1/cloud:akamai-datastream-config-api/get-stream-activation-history` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| hostname | string | yes | Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net |
| streamId | integer | yes | Uniquely identifies the stream. |

### Deactivate a stream
`POST https://zieapi.vercel.app/v1/cloud:akamai-datastream-config-api/post-stream-deactivate` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| hostname | string | yes | Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net |
| streamId | integer | yes | Uniquely identifies the stream. |

### View history
`GET https://zieapi.vercel.app/v1/cloud:akamai-datastream-config-api/get-stream-history` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| hostname | string | yes | Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net |
| streamId | integer | yes | Uniquely identifies the stream. |
| startVersion | integer | no | Specifies the first stream version in the `startVersion` to `endVersion` range you want to fetch stream history details for. The… |
| endVersion | integer | no | Specifies the last stream version in the range you want to fetch stream history details for. The `endVersion` needs to be greater than… |

## Example
```
curl "https://zieapi.vercel.app/v1/cloud:akamai-datastream-config-api/get-dataset-fields" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Akamai DataStream 2 API API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/cloud:akamai-datastream-config-api/get-dataset-fields with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Akamai DataStream 2 API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Akamai DataStream 2 API itself also needs your own key from akamaiapis.net.

### Can AI agents use the Akamai DataStream 2 API API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:akamai-datastream-config-api.

### What is the status of the Akamai DataStream 2 API API?
Needs your own provider key (bring your own key)
