{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:akamai-prolexic-analytics/get-attack-report":{"get":{"operationId":"cloud_akamai_prolexic_analytics_get_attack_report","summary":"Get an attack report","description":"GET /attack-report/contract/{contract}/attack-id/{attackId}","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":"attackId","in":"query","required":true,"description":"A unique ID for each attack.","schema":{"type":"integer","description":"A unique ID for each attack."}},{"name":"contract","in":"query","required":true,"description":"The policy domain name of the data center or proxy that the events belong to. This is not the account contract ID.","schema":{"type":"string","description":"The policy domain name of the data center or proxy that the events belong to. This is not the account contract ID."}},{"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-prolexic-analytics/get-attack-reports":{"get":{"operationId":"cloud_akamai_prolexic_analytics_get_attack_reports","summary":"List attack reports","description":"GET /attack-reports/contract/{contract}/start/{start}/end/{end}","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":"end","in":"query","required":true,"description":"Unix timestamp for end of attack report search.","schema":{"type":"integer","description":"Unix timestamp for end of attack report search."}},{"name":"start","in":"query","required":true,"description":"Unix timestamp for beginning of attack report search.","schema":{"type":"integer","description":"Unix timestamp for beginning of attack report search."}},{"name":"contract","in":"query","required":true,"description":"The policy domain name of the data center or proxy that the events belong to. This is not the account contract ID.","schema":{"type":"string","description":"The policy domain name of the data center or proxy that the events belong to. This is not the account contract ID."}},{"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-prolexic-analytics/get-critical-events-contract":{"get":{"operationId":"cloud_akamai_prolexic_analytics_get_critical_events_contract","summary":"List critical events","description":"GET /critical-events/contract/{contract}","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":"contract","in":"query","required":true,"description":"The policy domain name of the data center or proxy that the events belong to. This is not the account contract ID.","schema":{"type":"string","description":"The policy domain name of the data center or proxy that the events belong to. This is not the account contract ID."}},{"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-prolexic-analytics/get-customer-names":{"get":{"operationId":"cloud_akamai_prolexic_analytics_get_customer_names","summary":"Get active customer names","description":"GET /customer/names","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-prolexic-analytics/get-events-contract":{"get":{"operationId":"cloud_akamai_prolexic_analytics_get_events_contract","summary":"List events","description":"GET /events/contract/{contract}","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":"contract","in":"query","required":true,"description":"The policy domain name of the data center or proxy that the events belong to. This is not the account contract ID.","schema":{"type":"string","description":"The policy domain name of the data center or proxy that the events belong to. This is not the account contract ID."}},{"name":"extended","in":"query","required":false,"description":"Set to `true` to include extended events data for top source IPs, top network prototols, and top destination ports.","schema":{"type":"boolean","description":"Set to `true` to include extended events data for top source IPs, top network prototols, and top destination ports."}},{"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-prolexic-analytics/get-metric-types-contract":{"get":{"operationId":"cloud_akamai_prolexic_analytics_get_metric_types_contract","summary":"List metric types","description":"GET /metric-types/{contract}","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":"contract","in":"query","required":true,"description":"The policy domain name of the data center or proxy that the events belong to. This is not the account contract ID.","schema":{"type":"string","description":"The policy domain name of the data center or proxy that the events belong to. This is not the account contract ID."}},{"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-prolexic-analytics/post-metrics":{"post":{"operationId":"cloud_akamai_prolexic_analytics_post_metrics","summary":"Get metrics data","description":"POST /metrics","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-prolexic-analytics/post-routed-bgp-sessions":{"post":{"operationId":"cloud_akamai_prolexic_analytics_post_routed_bgp_sessions","summary":"Routed tunnel BGP sessions","description":"POST /routed/tunnel/bgp-sessions","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname"],"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-prolexic-analytics/post-routed-health":{"post":{"operationId":"cloud_akamai_prolexic_analytics_post_routed_health","summary":"Routed tunnel health","description":"POST /routed/tunnel/health","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname"],"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-prolexic-analytics/post-routed-routes":{"post":{"operationId":"cloud_akamai_prolexic_analytics_post_routed_routes","summary":"List Routed tunnel routes","description":"POST /routed/tunnel/routes","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname"],"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-prolexic-analytics/get-scrub-centers":{"get":{"operationId":"cloud_akamai_prolexic_analytics_get_scrub_centers","summary":"List active scrubbing centers","description":"GET /scrub-centers","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-prolexic-analytics/get-time-series-data":{"get":{"operationId":"cloud_akamai_prolexic_analytics_get_time_series_data","summary":"Get time series data","description":"GET /time-series-data","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":"destinations","in":"query","required":true,"description":"A comma-separated list of destinations. These can be individual IP addresses or CIDR blocks to specify a range of addresses.","schema":{"type":"string","description":"A comma-separated list of destinations. These can be individual IP addresses or CIDR blocks to specify a range of addresses."}},{"name":"endTime","in":"query","required":true,"description":"The end time for the requested data in epoch seconds. Shows the current time by default.","schema":{"type":"integer","description":"The end time for the requested data in epoch seconds. Shows the current time by default."}},{"name":"locations","in":"query","required":true,"description":"A comma-separated list of data center names to filter the results by. The currently available data centers are: `mia4`, `lga3`, `lax3`,…","schema":{"type":"string","description":"A comma-separated list of data center names to filter the results by. The currently available data centers are: `mia4`, `lga3`, `lax3`,…"}},{"name":"samplingSize","in":"query","required":true,"description":"The number of timestamps to get the usage data for. If not specified, the API returns all the data available for a selected time period.","schema":{"type":"integer","description":"The number of timestamps to get the usage data for. If not specified, the API returns all the data available for a selected time period."}},{"name":"source","in":"query","required":true,"description":"__Enum__ The router type the data went through. Either `access_flow` for an Akamai router, `border_flow` for a customer router, or `both`.…","schema":{"type":"string","enum":["both","access_flow","border_flow"],"default":"both","description":"__Enum__ The router type the data went through. Either `access_flow` for an Akamai router, `border_flow` for a customer router, or `both`.…"}},{"name":"startTime","in":"query","required":true,"description":"The start time for the requested data in epoch seconds. Shows the current time minus two hours by default.","schema":{"type":"integer","description":"The start time for the requested data in epoch seconds. Shows the current time minus two hours by default."}},{"name":"sum","in":"query","required":true,"description":"Whether to return `aggregationData` in the response.","schema":{"type":"boolean","description":"Whether to return `aggregationData` in the response."}},{"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"}}}}}}}