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.
- 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.
- 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.
- 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
- 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
-
Quotas - List test configuration quotas GET https://{{host}}/sla-api/v1/test-quotas
-
Create Test - Create a new test configuration POST https://{{host}}/sla-api/v1/tests
-
Reports - List performance reports GET https://{{host}}/sla-api/v1/tests/:slaTestId/reports/performance?start={{start}}&end={{end}}
-
Tests - List test configurations GET https://{{host}}/sla-api/v1/tests
-
Tests - Get a test configuration GET https://{{host}}/sla-api/v1/tests/:slaTestId
-
Tests - Update a test configuration PUT https://{{host}}/sla-api/v1/tests/:slaTestId
-
Agent Groups - List agent groups GET https://{{host}}/sla-api/v1/agent-groups
-
Reports - List availability reports GET https://{{host}}/sla-api/v1/tests/:slaTestId/reports/availability?start={{start}}&end={{end}}
-
Tests - Delete a test configuration DELETE https://{{host}}/sla-api/v1/tests/:slaTestId