{"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-reporting-api/get-reports":{"get":{"operationId":"cloud_akamai_reporting_api_get_reports","summary":"List reports","description":"GET /reports","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-reporting-api/get-reports-per-product-family":{"get":{"operationId":"cloud_akamai_reporting_api_get_reports_per_product_family","summary":"List reports per product family","description":"GET /reports/{productFamily}","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":"productFamily","in":"query","required":true,"description":"The area of products.","schema":{"type":"string","description":"The area of products."}},{"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-reporting-api/get-reports-per-reporting-area":{"get":{"operationId":"cloud_akamai_reporting_api_get_reports_per_reporting_area","summary":"List reports per reporting area","description":"GET /reports/{productFamily}/{reportingArea}","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":"productFamily","in":"query","required":true,"description":"The area of products.","schema":{"type":"string","description":"The area of products."}},{"name":"reportingArea","in":"query","required":true,"description":"The grouping of reports related to the same area.","schema":{"type":"string","description":"The grouping of reports related to the same area."}},{"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-reporting-api/get-report-options":{"get":{"operationId":"cloud_akamai_reporting_api_get_report_options","summary":"Get report options","description":"GET /reports/{productFamily}/{reportingArea}/{report}","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":"productFamily","in":"query","required":true,"description":"The area of products.","schema":{"type":"string","description":"The area of products."}},{"name":"reportingArea","in":"query","required":true,"description":"The grouping of reports related to the same area.","schema":{"type":"string","description":"The grouping of reports related to the same area."}},{"name":"report","in":"query","required":true,"description":"An individual report name.","schema":{"type":"string","description":"An individual report name."}},{"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-reporting-api/post-report-data":{"post":{"operationId":"cloud_akamai_reporting_api_post_report_data","summary":"Generate a report","description":"POST /reports/{productFamily}/{reportingArea}/{report}/data","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname","productFamily","reportingArea","report"],"properties":{"hostname":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"},"productFamily":{"type":"string","description":"The area of products."},"reportingArea":{"type":"string","description":"The grouping of reports related to the same area."},"report":{"type":"string","description":"An individual report name."},"start":{"type":"string","description":"Start date in ISO 8601 format. Use this parameter together with `end`, or else replace both with a fixed `timeRange`. Read more about…"},"end":{"type":"string","description":"End date in ISO 8601 format. Use this parameter together with `start`, or else replace both with a fixed `timeRange`. Read more about…"},"timeRange":{"type":"string","enum":["LAST_15_MINUTES","LAST_30_MINUTES","LAST_1_HOUR","LAST_3_HOURS","LAST_6_HOURS","LAST_12_HOURS","LAST_1_DAY","LAST_2_DAYS","LAST_1_WEEK","LAST_30_DAYS","LAST_90_DAYS"],"description":"__Enum__ Predefined time range, either `LAST_15_MINUTES`, `LAST_30_MINUTES`, `LAST_1_HOUR`, `LAST_3_HOURS`, `LAST_6_HOURS`,…"},"async":{"type":"boolean","default":false,"description":"Enables the asynchronous flow to get the data. By default, `false`."},"pageSize":{"type":"integer","default":50000,"description":"The size of a page in an async query. By default, the page size is the report's maximum number of returned data points, configured by the…"},"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-reporting-api/get-report-data-async":{"get":{"operationId":"cloud_akamai_reporting_api_get_report_data_async","summary":"Get asynchronous report results","description":"GET /reports/{productFamily}/{reportingArea}/{report}/queries/{queryId}","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":"productFamily","in":"query","required":true,"description":"The area of products.","schema":{"type":"string","description":"The area of products."}},{"name":"reportingArea","in":"query","required":true,"description":"The grouping of reports related to the same area.","schema":{"type":"string","description":"The grouping of reports related to the same area."}},{"name":"report","in":"query","required":true,"description":"An individual report name.","schema":{"type":"string","description":"An individual report name."}},{"name":"queryId","in":"query","required":true,"description":"Unique identifier of the previous asynchronous request to fetch report data.","schema":{"type":"string","description":"Unique identifier of the previous asynchronous request to fetch report data."}},{"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"}}}}}}}