Logo
Akamai APIs API Documentation

Service-Level Agreement API

Number of APIs: 9


1. Quotas - List test configuration quotas

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

Each contract has a maximum number of allowed test configurations. Get the test quotas to find out how many test configurations are allowed and how many are in use.



2. Tests - List test configurations

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

Returns all test configurations, or a filtered set you use the slaTestIds parameter to control.



3. Tests - Get a test configuration

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

Return the contents of one test configuration. Set the slaTestId parameter to indicate which test configuration to retrieve.



4. Tests - Update a test configuration

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

Use this operation change an existing test configuration, such as changing the agent group or adding a performance target. Set the slaTestId parameter to indicate which test configuration to update.



5. Tests - Delete a test configuration

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

Deletion cannot be undone. Once you delete a test configuration, you can't retrieve it or any data that it has collected. Set the slaTestId parameter to indicate which test configuration to delete.



6. Agent Groups - List agent groups

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

This returns an array of all agent group identifiers and their corresponding descriptions. You can use this to retrieve a human-readable equivalent of the agentGroupId numbers.



7. Create Test - Create a new test configuration

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

Create either a new availability test configuration or a new performance test configuration, if there is an available corresponding slot in the contract's quotas.



8. Reports - List availability reports

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

Returns an array of the results of availability tests run in the specified time period.



9. Reports - List performance reports

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

Returns an array of the results of performance tests run in the specified time period.



ENDPOINTS