Logo
Akamai APIs API Documentation

Service-Level Agreement API

Number of APIs: 9


Use the Service-Level Agreement (SLA) API to access SLA test configurations and the resulting reports to track your test results. With this API, you can also add and delete these configurations as well as retrieve the availability and performance SLA test reports.

The results of the SLA tests can help you check whether Akamai is achieving the performance gains and platform availability as specified in the SLA included with your purchase contract.

Authentication

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

Note: Only Akamai customers can create credentials. If you aren't an Akamai customer and wish to become one, you can sign up for our services.

  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]

Dependencies

To enable this API, go to the API list of your API client in Control Center, choose the API service named SLA API, and set the access level to READ-WRITE.

Integration methods

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


1. Quotas - List test configuration quotas

GET https://{{host}}/sla-api/v1/test-quotas



2. Create Test - Create a new test configuration

POST https://{{host}}/sla-api/v1/tests



3. Reports - List performance reports

GET https://{{host}}/sla-api/v1/tests/:slaTestId/reports/performance?start={{start}}&end={{end}}



4. Tests - List test configurations

GET https://{{host}}/sla-api/v1/tests



5. Tests - Get a test configuration

GET https://{{host}}/sla-api/v1/tests/:slaTestId



6. Tests - Update a test configuration

PUT https://{{host}}/sla-api/v1/tests/:slaTestId



7. Agent Groups - List agent groups

GET https://{{host}}/sla-api/v1/agent-groups



8. Reports - List availability reports

GET https://{{host}}/sla-api/v1/tests/:slaTestId/reports/availability?start={{start}}&end={{end}}



ENDPOINTS