{"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/search-tools:algolia-monitoring/custom-get":{"get":{"operationId":"search_tools_algolia_monitoring_custom_get","summary":"Send requests to the Algolia REST API","description":"GET /{path}","tags":["search-tools"],"parameters":[{"name":"path","in":"query","required":true,"description":"Path of the endpoint, for example `1/newFeature`.","schema":{"type":"string","description":"Path of the endpoint, for example `1/newFeature`."}},{"name":"parameters","in":"query","required":false,"description":"Query parameters to apply to the current query.","schema":{"type":"object","description":"Query parameters to apply to the current query."}}],"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/search-tools:algolia-monitoring/custom-post":{"post":{"operationId":"search_tools_algolia_monitoring_custom_post","summary":"Send requests to the Algolia REST API","description":"POST /{path}","tags":["search-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["path"],"properties":{"path":{"type":"string","description":"Path of the endpoint, for example `1/newFeature`."},"parameters":{"type":"object","description":"Query parameters to apply to the current query."},"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/search-tools:algolia-monitoring/custom-put":{"post":{"operationId":"search_tools_algolia_monitoring_custom_put","summary":"Send requests to the Algolia REST API","description":"PUT /{path}","tags":["search-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["path"],"properties":{"path":{"type":"string","description":"Path of the endpoint, for example `1/newFeature`."},"parameters":{"type":"object","description":"Query parameters to apply to the current query."},"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/search-tools:algolia-monitoring/custom-delete":{"post":{"operationId":"search_tools_algolia_monitoring_custom_delete","summary":"Send requests to the Algolia REST API","description":"DELETE /{path}","tags":["search-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["path"],"properties":{"path":{"type":"string","description":"Path of the endpoint, for example `1/newFeature`."},"parameters":{"type":"object","description":"Query parameters to apply to the current query."}}}}}},"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/search-tools:algolia-monitoring/get-status":{"get":{"operationId":"search_tools_algolia_monitoring_get_status","summary":"Retrieve status of all clusters","description":"GET /1/status","tags":["search-tools"],"parameters":[],"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/search-tools:algolia-monitoring/get-cluster-status":{"get":{"operationId":"search_tools_algolia_monitoring_get_cluster_status","summary":"Retrieve cluster status","description":"GET /1/status/{clusters}","tags":["search-tools"],"parameters":[{"name":"clusters","in":"query","required":true,"description":"Subset of clusters, separated by commas.","schema":{"type":"string","description":"Subset of clusters, separated by commas."}}],"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/search-tools:algolia-monitoring/get-incidents":{"get":{"operationId":"search_tools_algolia_monitoring_get_incidents","summary":"Retrieve all incidents","description":"GET /1/incidents","tags":["search-tools"],"parameters":[],"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/search-tools:algolia-monitoring/get-cluster-incidents":{"get":{"operationId":"search_tools_algolia_monitoring_get_cluster_incidents","summary":"Retrieve cluster incidents","description":"GET /1/incidents/{clusters}","tags":["search-tools"],"parameters":[{"name":"clusters","in":"query","required":true,"description":"Subset of clusters, separated by commas.","schema":{"type":"string","description":"Subset of clusters, separated by commas."}}],"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/search-tools:algolia-monitoring/get-servers":{"get":{"operationId":"search_tools_algolia_monitoring_get_servers","summary":"Retrieve servers","description":"GET /1/inventory/servers","tags":["search-tools"],"parameters":[],"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/search-tools:algolia-monitoring/get-latency":{"get":{"operationId":"search_tools_algolia_monitoring_get_latency","summary":"Retrieve search latency times","description":"GET /1/latency/{clusters}","tags":["search-tools"],"parameters":[{"name":"clusters","in":"query","required":true,"description":"Subset of clusters, separated by commas.","schema":{"type":"string","description":"Subset of clusters, separated by commas."}}],"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/search-tools:algolia-monitoring/get-indexing-time":{"get":{"operationId":"search_tools_algolia_monitoring_get_indexing_time","summary":"Retrieve indexing monitoring latency","description":"GET /1/indexing/{clusters}","tags":["search-tools"],"parameters":[{"name":"clusters","in":"query","required":true,"description":"Subset of clusters, separated by commas.","schema":{"type":"string","description":"Subset of clusters, separated by commas."}}],"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/search-tools:algolia-monitoring/get-reachability":{"get":{"operationId":"search_tools_algolia_monitoring_get_reachability","summary":"Test the reachability of clusters","description":"GET /1/reachability/{clusters}/probes","tags":["search-tools"],"parameters":[{"name":"clusters","in":"query","required":true,"description":"Subset of clusters, separated by commas.","schema":{"type":"string","description":"Subset of clusters, separated by commas."}}],"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/search-tools:algolia-monitoring/get-metrics":{"get":{"operationId":"search_tools_algolia_monitoring_get_metrics","summary":"Retrieve metrics","description":"GET /1/infrastructure/{metric}/period/{period}","tags":["search-tools"],"parameters":[{"name":"metric","in":"query","required":true,"description":"Metric to report. For more information about the individual metrics, see the description of the API response. To include all metrics, use…","schema":{"type":"string","enum":["avg_build_time","ssd_usage","ram_search_usage","ram_indexing_usage","cpu_usage","*"],"description":"Metric to report. For more information about the individual metrics, see the description of the API response. To include all metrics, use…"}},{"name":"period","in":"query","required":true,"description":"Period over which to aggregate the metrics: - `minute`. Aggregate the last minute. 1 data point per 10 seconds. - `hour`. Aggregate the…","schema":{"type":"string","enum":["minute","hour","day","week","month"],"description":"Period over which to aggregate the metrics: - `minute`. Aggregate the last minute. 1 data point per 10 seconds. - `hour`. Aggregate the…"}}],"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/search-tools:algolia-monitoring/set-client-api-key":{"get":{"operationId":"search_tools_algolia_monitoring_set_client_api_key","summary":"Switch the API key used to authenticate requests","description":"GET /setClientApiKey","tags":["search-tools"],"parameters":[{"name":"apiKey","in":"query","required":true,"description":"API key to use for subsequent requests.","schema":{"type":"string","description":"API key to use for subsequent requests."}}],"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"}}}}}}}