{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Status History: Search, Cloud & Workspace Incidents",
    "description": "Collect Google Search ranking updates, Google Cloud incidents, Google Workspace outages and Security Products or Looker incidents in one schema, with start and end times, duration, severity, affected products and locations, and every status update.",
    "version": "1.0",
    "x-build-id": "1yWz8OhoBFnExZF1R"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlyth-forge~google-status-updates-history/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlyth-forge-google-status-updates-history",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/crawlyth-forge~google-status-updates-history/runs": {
      "post": {
        "operationId": "runs-sync-crawlyth-forge-google-status-updates-history",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/crawlyth-forge~google-status-updates-history/run-sync": {
      "post": {
        "operationId": "run-sync-crawlyth-forge-google-status-updates-history",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "sources": {
            "title": "Status sources",
            "type": "array",
            "description": "Pick one or more official Google dashboards. Search covers ranking, crawling, indexing and serving; Cloud covers GCP products and regions; Workspace covers Gmail, Drive, Meet and other apps. Security and Looker are the sub-dashboards linked from Google Cloud status.",
            "items": {
              "type": "string",
              "enum": [
                "search",
                "cloud",
                "workspace",
                "cloudSecurity",
                "looker"
              ],
              "enumTitles": [
                "Google Search ranking updates & incidents",
                "Google Cloud service health",
                "Google Workspace apps",
                "Google Security Products",
                "Looker (Original)"
              ]
            },
            "default": [
              "search",
              "cloud",
              "workspace"
            ]
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "history",
              "monitoring"
            ],
            "type": "string",
            "description": "History returns incidents in the date range, reading each product's history page for older entries. Monitoring reads the live feeds and returns only incidents that are new or changed since the previous run with the same filters.",
            "default": "history"
          },
          "dateFrom": {
            "title": "From date",
            "type": "string",
            "description": "Start of the incident range in YYYY-MM-DD or an ISO timestamp. Leave empty to use the last 90 days in history mode, or no lower bound in monitoring mode. Use 2000-01-01 for the full available archive.",
            "default": ""
          },
          "dateTo": {
            "title": "To date",
            "type": "string",
            "description": "End of the incident range in YYYY-MM-DD or an ISO timestamp. Leave empty to include everything up to now.",
            "default": ""
          },
          "products": {
            "title": "Products or apps",
            "type": "array",
            "description": "Optional product, service or app names such as Gmail, Google Compute Engine, Cloud Run or Ranking. Matching is case-insensitive and partial. A filter also narrows the history pages that are downloaded.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "incidentTypes": {
            "title": "Incident types",
            "type": "array",
            "description": "Ranking updates are the Search algorithm announcements (core, spam, reviews, Discover and similar). Service incidents are outages, disruptions and other status events on any dashboard.",
            "items": {
              "type": "string",
              "enum": [
                "ranking-update",
                "service-incident"
              ],
              "enumTitles": [
                "Search ranking update",
                "Service incident"
              ]
            },
            "default": [
              "ranking-update",
              "service-incident"
            ]
          },
          "rankingUpdateTypes": {
            "title": "Ranking update kinds",
            "type": "array",
            "description": "Optional filter for Search ranking updates only. Selecting a kind returns only ranking updates of that kind; leave empty for all ranking updates and service incidents.",
            "items": {
              "type": "string",
              "enum": [
                "core",
                "spam",
                "reviews",
                "product-reviews",
                "discover",
                "helpful-content",
                "other"
              ],
              "enumTitles": [
                "Core update",
                "Spam update",
                "Reviews update",
                "Product reviews update",
                "Discover update",
                "Helpful content update",
                "Other update"
              ]
            },
            "default": []
          },
          "severities": {
            "title": "Severities",
            "type": "array",
            "description": "Optional severity filter. Severity comes from Google's severity value or the worst status icon in the incident timeline: information=low, disruption=medium, outage=high.",
            "items": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high"
              ],
              "enumTitles": [
                "Low",
                "Medium",
                "High"
              ]
            },
            "default": []
          },
          "onlyOngoing": {
            "title": "Only ongoing incidents",
            "type": "boolean",
            "description": "Return only incidents that have started and have no end time yet.",
            "default": false
          },
          "maxItems": {
            "title": "Max incidents",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Stop after this many incidents. History mode fetches one detail page per returned incident beyond the live feed.",
            "default": 100
          },
          "sort": {
            "title": "Sort order",
            "enum": [
              "newest",
              "oldest"
            ],
            "type": "string",
            "description": "Newest first is best for updates and monitoring; oldest first is best for full timelines and research.",
            "default": "newest"
          },
          "monitoringStateKey": {
            "title": "Monitoring state key",
            "type": "string",
            "description": "Optional name for this monitor. Leave empty to derive a key from the filters, so separate schedules keep separate state.",
            "default": ""
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}