{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:akamai-sla-api/get-agent-groups":{"get":{"operationId":"cloud_akamai_sla_api_get_agent_groups","summary":"List agent groups","description":"GET /agent-groups","tags":["cloud"],"parameters":[{"name":"hostname","in":"query","required":true,"description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net","schema":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"}},{"name":"accountSwitchKey","in":"query","required":false,"description":"For customers who manage more than one account, this [runs the operation from another…","schema":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:akamai-sla-api/get-quotas":{"get":{"operationId":"cloud_akamai_sla_api_get_quotas","summary":"List test configuration quotas","description":"GET /test-quotas","tags":["cloud"],"parameters":[{"name":"hostname","in":"query","required":true,"description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net","schema":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"}},{"name":"accountSwitchKey","in":"query","required":false,"description":"For customers who manage more than one account, this [runs the operation from another…","schema":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:akamai-sla-api/get-test-configs":{"get":{"operationId":"cloud_akamai_sla_api_get_test_configs","summary":"List test configurations","description":"GET /tests","tags":["cloud"],"parameters":[{"name":"hostname","in":"query","required":true,"description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net","schema":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"}},{"name":"slaTestIds","in":"query","required":false,"description":"One or more IDs of SLA tests, comma separated.","schema":{"type":"string","description":"One or more IDs of SLA tests, comma separated."}},{"name":"accountSwitchKey","in":"query","required":false,"description":"For customers who manage more than one account, this [runs the operation from another…","schema":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:akamai-sla-api/post-test-config":{"post":{"operationId":"cloud_akamai_sla_api_post_test_config","summary":"Create a new test configuration","description":"POST /tests","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname","body"],"properties":{"hostname":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"},"accountSwitchKey":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:akamai-sla-api/get-test-config":{"get":{"operationId":"cloud_akamai_sla_api_get_test_config","summary":"Get a test configuration","description":"GET /tests/{slaTestId}","tags":["cloud"],"parameters":[{"name":"hostname","in":"query","required":true,"description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net","schema":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"}},{"name":"slaTestId","in":"query","required":true,"description":"The test's unique identifier.","schema":{"type":"integer","description":"The test's unique identifier."}},{"name":"accountSwitchKey","in":"query","required":false,"description":"For customers who manage more than one account, this [runs the operation from another…","schema":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:akamai-sla-api/put-test-config":{"post":{"operationId":"cloud_akamai_sla_api_put_test_config","summary":"Update a test configuration","description":"PUT /tests/{slaTestId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname","slaTestId","body"],"properties":{"hostname":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"},"slaTestId":{"type":"integer","description":"The test's unique identifier."},"accountSwitchKey":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:akamai-sla-api/delete-test-config":{"post":{"operationId":"cloud_akamai_sla_api_delete_test_config","summary":"Delete a test configuration","description":"DELETE /tests/{slaTestId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname","slaTestId"],"properties":{"hostname":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"},"slaTestId":{"type":"integer","description":"The test's unique identifier."},"accountSwitchKey":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:akamai-sla-api/get-availability-reports":{"get":{"operationId":"cloud_akamai_sla_api_get_availability_reports","summary":"List availability reports","description":"GET /tests/{slaTestId}/reports/availability","tags":["cloud"],"parameters":[{"name":"hostname","in":"query","required":true,"description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net","schema":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"}},{"name":"slaTestId","in":"query","required":true,"description":"The test's unique identifier.","schema":{"type":"integer","description":"The test's unique identifier."}},{"name":"start","in":"query","required":true,"description":"Timestamp for the start of the data window, in UTC 8601 format.","schema":{"type":"string","description":"Timestamp for the start of the data window, in UTC 8601 format."}},{"name":"end","in":"query","required":true,"description":"Timestamp for the end of data window, in UTC 8601 format.","schema":{"type":"string","description":"Timestamp for the end of data window, in UTC 8601 format."}},{"name":"accountSwitchKey","in":"query","required":false,"description":"For customers who manage more than one account, this [runs the operation from another…","schema":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:akamai-sla-api/get-performance-reports":{"get":{"operationId":"cloud_akamai_sla_api_get_performance_reports","summary":"List performance reports","description":"GET /tests/{slaTestId}/reports/performance","tags":["cloud"],"parameters":[{"name":"hostname","in":"query","required":true,"description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net","schema":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"}},{"name":"slaTestId","in":"query","required":true,"description":"The test's unique identifier.","schema":{"type":"integer","description":"The test's unique identifier."}},{"name":"start","in":"query","required":true,"description":"Timestamp for the start of the data window, in UTC 8601 format.","schema":{"type":"string","description":"Timestamp for the start of the data window, in UTC 8601 format."}},{"name":"end","in":"query","required":true,"description":"Timestamp for the end of data window, in UTC 8601 format.","schema":{"type":"string","description":"Timestamp for the end of data window, in UTC 8601 format."}},{"name":"accountSwitchKey","in":"query","required":false,"description":"For customers who manage more than one account, this [runs the operation from another…","schema":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}