Logo
Akamai APIs API Documentation

DataStream 2 API v2

Number of APIs: 14


Use the DataStream 2 API to capture log data and deliver it to a destination of your choice at low latency.

With log data streamed in near real time, you can monitor the delivery performance and health metrics for better insight and improved security of your properties without client integrations or software development kits (SDKs).

With this API, you can: - Create and manage stream configurations. - Monitor traffic based on available data sets. - Collect detailed data on your properties.

Authentication

Create an authentication credential that contains the client token and client secret required to authenticate Akamai API requests.

  1. Navigate to the Identity and Access Management section of Akamai Control Center and click Create API Client.

Note: If you don't have access to the Identity and Access Management tool, contact your local Akamai Control Center admin or your Akamai account team for assistance.

  1. Click Quick and then Download in the Credentials section.

Note: If you need to refine access levels or permissions, see Create a client with custom permissions.

  1. Open the downloaded file with a text editor and add [default] as a header above all text.
  [default]
  client_secret = C113nt53KR3TN6N90yVuAgICxIRwsObLi0E67/N8eRN=
  host = akab-h05tnam3wl42son7nktnlnnx-kbob3i3v.luna.akamaiapis.net
  access_token = akab-acc35t0k3nodujqunph3w7hzp7-gtm6ij
  client_token = akab-c113ntt0k3n4qtari252bfxxbsl-yvsdj
  1. Fork the [Akamai Authentication] environment, populate the variables, and [set it for your workspace]

Integration methods

You can use this API collection in these integration methods: - API


1. Groups - List groups

GET https://{{host}}/datastream-config-api/v2/log/groups



2. Properties - List properties by group

GET https://{{host}}/datastream-config-api/v2/log/groups/:groupId/properties



3. Data sets - List data set fields

GET https://{{host}}/datastream-config-api/v2/log/datasets-fields



4. Streams - Create a stream

POST https://{{host}}/datastream-config-api/v2/log/streams



5. Streams - List streams

GET https://{{host}}/datastream-config-api/v2/log/streams



6. Streams - View upload metrics

GET https://{{host}}/datastream-config-api/v2/log/streams/metrics?start={{start}}&end={{end}}



7. Streams - Get a stream

GET https://{{host}}/datastream-config-api/v2/log/streams/:streamId



8. Streams - Patch a stream

PATCH https://{{host}}/datastream-config-api/v2/log/streams/:streamId



9. Streams - Delete a stream

DELETE https://{

ENDPOINTS