{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://www.apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:googleapis-alertcenter/alertcenter-alerts-batch-delete":{"post":{"operationId":"analytics_googleapis_alertcenter_alertcenter_alerts_batch_delete","summary":"Performs batch delete operation on alerts.","description":"POST /v1beta1/alerts:batchDelete","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"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/analytics:googleapis-alertcenter/alertcenter-alerts-batch-undelete":{"post":{"operationId":"analytics_googleapis_alertcenter_alertcenter_alerts_batch_undelete","summary":"Performs batch undelete operation on alerts.","description":"POST /v1beta1/alerts:batchUndelete","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"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/analytics:googleapis-alertcenter/alertcenter-alerts-get":{"get":{"operationId":"analytics_googleapis_alertcenter_alertcenter_alerts_get","summary":"Gets the specified alert. Attempting to get a nonexistent alert returns `NOT_FOUND` error.","description":"GET /v1beta1/alerts/{alertId}","tags":["analytics"],"parameters":[{"name":"alertId","in":"query","required":true,"description":"Required. The identifier of the alert to retrieve.","schema":{"type":"string","description":"Required. The identifier of the alert to retrieve."}},{"name":"customerId","in":"query","required":false,"description":"Optional. The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customer_id` must have…","schema":{"type":"string","description":"Optional. The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customer_id` must have…"}}],"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/analytics:googleapis-alertcenter/alertcenter-alerts-delete":{"post":{"operationId":"analytics_googleapis_alertcenter_alertcenter_alerts_delete","summary":"Marks the specified alert for deletion. An alert that has been marked for deletion is removed from Alert…","description":"DELETE /v1beta1/alerts/{alertId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["alertId"],"properties":{"alertId":{"type":"string","description":"Required. The identifier of the alert to delete."},"customerId":{"type":"string","description":"Optional. The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customer_id` must have…"}}}}}},"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/analytics:googleapis-alertcenter/alertcenter-alerts-get-metadata":{"get":{"operationId":"analytics_googleapis_alertcenter_alertcenter_alerts_get_metadata","summary":"Returns the metadata of an alert. Attempting to get metadata for a non-existent alert returns `NOT_FOUND`…","description":"GET /v1beta1/alerts/{alertId}/metadata","tags":["analytics"],"parameters":[{"name":"alertId","in":"query","required":true,"description":"Required. The identifier of the alert this metadata belongs to.","schema":{"type":"string","description":"Required. The identifier of the alert this metadata belongs to."}},{"name":"customerId","in":"query","required":false,"description":"Optional. The unique identifier of the Google Workspace account of the customer the alert metadata is associated with. The `customer_id`…","schema":{"type":"string","description":"Optional. The unique identifier of the Google Workspace account of the customer the alert metadata is associated with. The `customer_id`…"}}],"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/analytics:googleapis-alertcenter/alertcenter-alerts-list":{"get":{"operationId":"analytics_googleapis_alertcenter_alertcenter_alerts_list","summary":"Lists the alerts.","description":"GET /v1beta1/alerts","tags":["analytics"],"parameters":[{"name":"customerId","in":"query","required":false,"description":"Optional. The unique identifier of the Google Workspace account of the customer the alerts are associated with. The `customer_id` must…","schema":{"type":"string","description":"Optional. The unique identifier of the Google Workspace account of the customer the alerts are associated with. The `customer_id` must…"}},{"name":"filter","in":"query","required":false,"description":"Optional. A query string for filtering alert results. For more details, see [Query…","schema":{"type":"string","description":"Optional. A query string for filtering alert results. For more details, see [Query…"}},{"name":"orderBy","in":"query","required":false,"description":"Optional. The sort order of the list results. If not specified results may be returned in arbitrary order. You can sort the results in…","schema":{"type":"string","description":"Optional. The sort order of the list results. If not specified results may be returned in arbitrary order. You can sort the results in…"}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The requested page size. Server may return fewer items than requested. If unspecified, server picks an appropriate default.","schema":{"type":"integer","description":"Optional. The requested page size. Server may return fewer items than requested. If unspecified, server picks an appropriate default."}},{"name":"pageToken","in":"query","required":false,"description":"Optional. A token identifying a page of results the server should return. If empty, a new iteration is started. To continue an iteration,…","schema":{"type":"string","description":"Optional. A token identifying a page of results the server should return. If empty, a new iteration is started. To continue an iteration,…"}}],"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/analytics:googleapis-alertcenter/alertcenter-alerts-undelete":{"post":{"operationId":"analytics_googleapis_alertcenter_alertcenter_alerts_undelete","summary":"Restores, or \"undeletes\", an alert that was marked for deletion within the past 30 days. Attempting to…","description":"POST /v1beta1/alerts/{alertId}:undelete","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["alertId","body"],"properties":{"alertId":{"type":"string","description":"Required. The identifier of the alert to undelete."},"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/analytics:googleapis-alertcenter/alertcenter-alerts-feedback-list":{"get":{"operationId":"analytics_googleapis_alertcenter_alertcenter_alerts_feedback_list","summary":"Lists all the feedback for an alert. Attempting to list feedbacks for a non-existent alert returns…","description":"GET /v1beta1/alerts/{alertId}/feedback","tags":["analytics"],"parameters":[{"name":"alertId","in":"query","required":true,"description":"Required. The alert identifier. The \"-\" wildcard could be used to represent all alerts.","schema":{"type":"string","description":"Required. The alert identifier. The \"-\" wildcard could be used to represent all alerts."}},{"name":"customerId","in":"query","required":false,"description":"Optional. The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customer_id` must have…","schema":{"type":"string","description":"Optional. The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customer_id` must have…"}},{"name":"filter","in":"query","required":false,"description":"Optional. A query string for filtering alert feedback results. For more details, see [Query…","schema":{"type":"string","description":"Optional. A query string for filtering alert feedback results. For more details, see [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/analytics:googleapis-alertcenter/alertcenter-alerts-feedback-create":{"post":{"operationId":"analytics_googleapis_alertcenter_alertcenter_alerts_feedback_create","summary":"Creates new feedback for an alert. Attempting to create a feedback for a non-existent alert returns…","description":"POST /v1beta1/alerts/{alertId}/feedback","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["alertId","body"],"properties":{"alertId":{"type":"string","description":"Required. The identifier of the alert this feedback belongs to."},"customerId":{"type":"string","description":"Optional. The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customer_id` must have…"},"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/analytics:googleapis-alertcenter/alertcenter-get-settings":{"get":{"operationId":"analytics_googleapis_alertcenter_alertcenter_get_settings","summary":"Returns customer-level settings.","description":"GET /v1beta1/settings","tags":["analytics"],"parameters":[{"name":"customerId","in":"query","required":false,"description":"Optional. The unique identifier of the Google Workspace account of the customer the alert settings are associated with. The `customer_id`…","schema":{"type":"string","description":"Optional. The unique identifier of the Google Workspace account of the customer the alert settings are associated with. The `customer_id`…"}}],"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/analytics:googleapis-alertcenter/alertcenter-update-settings":{"post":{"operationId":"analytics_googleapis_alertcenter_alertcenter_update_settings","summary":"Updates the customer-level settings.","description":"PATCH /v1beta1/settings","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"customerId":{"type":"string","description":"Optional. The unique identifier of the Google Workspace account of the customer the alert settings are associated with. The `customer_id`…"},"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"}}},"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"}}}}}}}