Docs menu

TOOLS

get_collection_status

How complete and up to date is the Search Console data QueryHippo has collected for my site?

  • Read-only
  • No external calls

When to use it

Reports which days have been collected, which are usable for analysis, and any refresh warnings or failures. Use it before trusting a comparison, or when numbers look incomplete.

Ask your AI

  • Is my site's Search Console data complete for September?
  • Which days are missing or failed in my site's collected data?

Parameters

NameTypeDetailsWhat it means
propertyId(required)string1–200 characterspattern ^[a-zA-Z0-9._:-]+$The ID of the site to read, as returned by list_sites. You must own the site or have been granted access to it.
rangeobject—Optional { start, end } dates (YYYY-MM-DD), both included, up to 180 days. Leave it out for a compact summary of everything retained.
range.start(required)stringpattern ^\d{4}-\d{2}-\d{2}$Part of range; see the range row.
range.end(required)stringpattern ^\d{4}-\d{2}-\d{2}$Part of range; see the range row.
searchType"web" | "image" | "video" | "news" | "discover" | "googleNews"—Optional Search Console search type to focus on: web, image, video, news, discover or googleNews.
profile"site" | "query" | "page" | "page_query" | "country" | "device" | "appearance"—Optional data breakdown to focus on: site, query, page, page_query, country, device or appearance. It needs a searchType that supports it.

What it returns

For each search type and data breakdown, the number of days expected, collected, usable for analysis, still waiting, truncated or failed, the latest usable day, the last successful update and any dated issues. It also reports whether automatic collection is on and when it was last scheduled, which search types Google has data for and over which dates, and the same counts for the data analyses actually read.

Fields of the result:

NameTypeDetails
schema_version"1.0.0"—
property_idstring1–200 characterspattern ^[a-zA-Z0-9._:-]+$
sourceobject—
source.kind"fixture" | "google"—
source.demoboolean—
checked_atstringformat date-time
requestedobject—
requested.rangeobject or null—
requested.search_type"web" | "image" | "video" | "news" | "discover" | "googleNews" or null—
requested.profile"site" | "query" | "page" | "page_query" | "country" | "device" | "appearance" or null—
syncobject—
sync.auto_syncboolean—
sync.last_collection_scheduled_atstring or nullformat date-time
sync.error_code"intent_history_unavailable" | "intent_accounting_pending" | "google_reconnect_required" | "unauthorized" | "not_found_or_forbidden" | "dependency_unavailable" | "quota_exceeded" | "invalid_input" | "invalid_source" | "stale_attempt" | "conflict" | "unknown_commit" | "not_configured" or null—
discoveryarray of objectat most 6 items
historyarray of objectat most 2 items
performancearray of objectat most 42 items
effective_datasetsarray of objectat most 42 items
errorobjectreturned on its own, instead of the other fields
error.code"intent_history_unavailable" | "intent_accounting_pending" | "google_reconnect_required" | "unauthorized" | "not_found_or_forbidden" | "dependency_unavailable" | "quota_exceeded" | "invalid_input" | "invalid_source" | "stale_attempt" | "conflict" | "unknown_commit" | "not_configured"—
error.retryableboolean—
error.messagestring—
error.correlation_idstring1–200 characterspattern ^[a-zA-Z0-9._:-]+$

Notes

  • Some counters can overlap while a refresh is in progress; for example, a day can have a failed refresh and still have usable older data.
  • A day collected with no rows doesn't prove zero traffic.
  • Read-only: it reads data QueryHippo has already stored. It does not start a collection, fetch anything or call an AI model.

Description your AI sees

Read collection completion, usable revisions and refresh warnings across history and performance. No collection or external calls. Counters may overlap during refresh.

Full schemas

Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "propertyId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^[a-zA-Z0-9._:-]+$"
    },
    "range": {
      "type": "object",
      "properties": {
        "start": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        },
        "end": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        }
      },
      "required": [
        "start",
        "end"
      ],
      "additionalProperties": false
    },
    "searchType": {
      "type": "string",
      "enum": [
        "web",
        "image",
        "video",
        "news",
        "discover",
        "googleNews"
      ]
    },
    "profile": {
      "type": "string",
      "enum": [
        "site",
        "query",
        "page",
        "page_query",
        "country",
        "device",
        "appearance"
      ]
    }
  },
  "required": [
    "propertyId"
  ],
  "additionalProperties": false
}
Output schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "schema_version": {
      "type": "string",
      "const": "1.0.0"
    },
    "property_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^[a-zA-Z0-9._:-]+$"
    },
    "source": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "fixture",
            "google"
          ]
        },
        "demo": {
          "type": "boolean"
        }
      },
      "required": [
        "kind",
        "demo"
      ],
      "additionalProperties": false
    },
    "checked_at": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
    },
    "requested": {
      "type": "object",
      "properties": {
        "range": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "start": {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                "end": {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                }
              },
              "required": [
                "start",
                "end"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "search_type": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "web",
                "image",
                "video",
                "news",
                "discover",
                "googleNews"
              ]
            },
            {
              "type": "null"
            }
          ]
        },
        "profile": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "site",
                "query",
                "page",
                "page_query",
                "country",
                "device",
                "appearance"
              ]
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "range",
        "search_type",
        "profile"
      ],
      "additionalProperties": false
    },
    "sync": {
      "type": "object",
      "properties": {
        "auto_sync": {
          "type": "boolean"
        },
        "last_collection_scheduled_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
            },
            {
              "type": "null"
            }
          ]
        },
        "error_code": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "intent_history_unavailable",
                "intent_accounting_pending",
                "google_reconnect_required",
                "unauthorized",
                "not_found_or_forbidden",
                "dependency_unavailable",
                "quota_exceeded",
                "invalid_input",
                "invalid_source",
                "stale_attempt",
                "conflict",
                "unknown_commit",
                "not_configured"
              ]
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "auto_sync",
        "last_collection_scheduled_at",
        "error_code"
      ],
      "additionalProperties": false
    },
    "discovery": {
      "maxItems": 6,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "search_type": {
            "type": "string",
            "enum": [
              "web",
              "image",
              "video",
              "news",
              "discover",
              "googleNews"
            ]
          },
          "state": {
            "type": "string",
            "enum": [
              "never_checked",
              "observed_empty",
              "available",
              "failed"
            ]
          },
          "last_attempt_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "error_code": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "intent_history_unavailable",
                  "intent_accounting_pending",
                  "google_reconnect_required",
                  "unauthorized",
                  "not_found_or_forbidden",
                  "dependency_unavailable",
                  "quota_exceeded",
                  "invalid_input",
                  "invalid_source",
                  "stale_attempt",
                  "conflict",
                  "unknown_commit",
                  "not_configured"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "retained_extent": {
            "type": "object",
            "properties": {
              "start": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "end": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "start",
              "end"
            ],
            "additionalProperties": false
          },
          "available_days": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "search_type",
          "state",
          "last_attempt_at",
          "error_code",
          "retained_extent",
          "available_days"
        ],
        "additionalProperties": false
      }
    },
    "history": {
      "maxItems": 2,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "search_type": {
            "type": "string",
            "enum": [
              "web",
              "image",
              "video",
              "news",
              "discover",
              "googleNews"
            ]
          },
          "profile": {
            "type": "string",
            "enum": [
              "site",
              "query",
              "page",
              "page_query",
              "country",
              "device",
              "appearance"
            ]
          },
          "supported": {
            "type": "boolean"
          },
          "expected_calendar_days": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "scheduled_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "completed_collection_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "completed_empty_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "usable_metric_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "available_revision_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "truncated_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "missing_extraction_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "waiting_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "active_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "failed_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "unsupported_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "latest_usable_source_date": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              },
              {
                "type": "null"
              }
            ]
          },
          "last_successful_publication_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "scheduled_extent": {
            "type": "object",
            "properties": {
              "start": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "end": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "start",
              "end"
            ],
            "additionalProperties": false
          },
          "truncation_basis": {
            "type": "string",
            "enum": [
              "persisted",
              "row_ceiling_inferred",
              "mixed",
              "unknown"
            ]
          },
          "error_codes": {
            "maxItems": 13,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "intent_history_unavailable",
                "intent_accounting_pending",
                "google_reconnect_required",
                "unauthorized",
                "not_found_or_forbidden",
                "dependency_unavailable",
                "quota_exceeded",
                "invalid_input",
                "invalid_source",
                "stale_attempt",
                "conflict",
                "unknown_commit",
                "not_configured"
              ]
            }
          },
          "issues": {
            "type": "object",
            "properties": {
              "missing": {
                "type": "object",
                "properties": {
                  "dates": {
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    }
                  },
                  "omitted_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "dates",
                  "omitted_count"
                ],
                "additionalProperties": false
              },
              "waiting": {
                "type": "object",
                "properties": {
                  "dates": {
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    }
                  },
                  "omitted_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "dates",
                  "omitted_count"
                ],
                "additionalProperties": false
              },
              "active": {
                "type": "object",
                "properties": {
                  "dates": {
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    }
                  },
                  "omitted_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "dates",
                  "omitted_count"
                ],
                "additionalProperties": false
              },
              "failed": {
                "type": "object",
                "properties": {
                  "dates": {
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    }
                  },
                  "omitted_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "dates",
                  "omitted_count"
                ],
                "additionalProperties": false
              },
              "truncated": {
                "type": "object",
                "properties": {
                  "dates": {
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    }
                  },
                  "omitted_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "dates",
                  "omitted_count"
                ],
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          }
        },
        "required": [
          "search_type",
          "profile",
          "supported",
          "expected_calendar_days",
          "scheduled_days",
          "completed_collection_days",
          "completed_empty_days",
          "usable_metric_days",
          "available_revision_days",
          "truncated_days",
          "missing_extraction_days",
          "waiting_days",
          "active_days",
          "failed_days",
          "unsupported_days",
          "latest_usable_source_date",
          "last_successful_publication_at",
          "scheduled_extent",
          "truncation_basis",
          "error_codes",
          "issues"
        ],
        "additionalProperties": false
      }
    },
    "performance": {
      "maxItems": 42,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "search_type": {
            "type": "string",
            "enum": [
              "web",
              "image",
              "video",
              "news",
              "discover",
              "googleNews"
            ]
          },
          "profile": {
            "type": "string",
            "enum": [
              "site",
              "query",
              "page",
              "page_query",
              "country",
              "device",
              "appearance"
            ]
          },
          "supported": {
            "type": "boolean"
          },
          "expected_calendar_days": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "scheduled_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "completed_collection_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "completed_empty_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "usable_metric_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "available_revision_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "truncated_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "missing_extraction_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "waiting_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "active_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "failed_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "unsupported_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "latest_usable_source_date": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              },
              {
                "type": "null"
              }
            ]
          },
          "last_successful_publication_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "scheduled_extent": {
            "type": "object",
            "properties": {
              "start": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "end": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "start",
              "end"
            ],
            "additionalProperties": false
          },
          "truncation_basis": {
            "type": "string",
            "enum": [
              "persisted",
              "row_ceiling_inferred",
              "mixed",
              "unknown"
            ]
          },
          "error_codes": {
            "maxItems": 13,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "intent_history_unavailable",
                "intent_accounting_pending",
                "google_reconnect_required",
                "unauthorized",
                "not_found_or_forbidden",
                "dependency_unavailable",
                "quota_exceeded",
                "invalid_input",
                "invalid_source",
                "stale_attempt",
                "conflict",
                "unknown_commit",
                "not_configured"
              ]
            }
          },
          "issues": {
            "type": "object",
            "properties": {
              "missing": {
                "type": "object",
                "properties": {
                  "dates": {
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    }
                  },
                  "omitted_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "dates",
                  "omitted_count"
                ],
                "additionalProperties": false
              },
              "waiting": {
                "type": "object",
                "properties": {
                  "dates": {
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    }
                  },
                  "omitted_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "dates",
                  "omitted_count"
                ],
                "additionalProperties": false
              },
              "active": {
                "type": "object",
                "properties": {
                  "dates": {
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    }
                  },
                  "omitted_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "dates",
                  "omitted_count"
                ],
                "additionalProperties": false
              },
              "failed": {
                "type": "object",
                "properties": {
                  "dates": {
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    }
                  },
                  "omitted_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "dates",
                  "omitted_count"
                ],
                "additionalProperties": false
              },
              "truncated": {
                "type": "object",
                "properties": {
                  "dates": {
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    }
                  },
                  "omitted_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "dates",
                  "omitted_count"
                ],
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          }
        },
        "required": [
          "search_type",
          "profile",
          "supported",
          "expected_calendar_days",
          "scheduled_days",
          "completed_collection_days",
          "completed_empty_days",
          "usable_metric_days",
          "available_revision_days",
          "truncated_days",
          "missing_extraction_days",
          "waiting_days",
          "active_days",
          "failed_days",
          "unsupported_days",
          "latest_usable_source_date",
          "last_successful_publication_at",
          "scheduled_extent",
          "truncation_basis",
          "error_codes",
          "issues"
        ],
        "additionalProperties": false
      }
    },
    "effective_datasets": {
      "maxItems": 42,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "search_type": {
            "type": "string",
            "enum": [
              "web",
              "image",
              "video",
              "news",
              "discover",
              "googleNews"
            ]
          },
          "profile": {
            "type": "string",
            "enum": [
              "site",
              "query",
              "page",
              "page_query",
              "country",
              "device",
              "appearance"
            ]
          },
          "supported": {
            "type": "boolean"
          },
          "expected_calendar_days": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "scheduled_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "completed_collection_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "completed_empty_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "usable_metric_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "available_revision_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "truncated_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "missing_extraction_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "waiting_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "active_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "failed_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "unsupported_days": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "latest_usable_source_date": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              },
              {
                "type": "null"
              }
            ]
          },
          "last_successful_publication_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "scheduled_extent": {
            "type": "object",
            "properties": {
              "start": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "end": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "start",
              "end"
            ],
            "additionalProperties": false
          },
          "truncation_basis": {
            "type": "string",
            "enum": [
              "persisted",
              "row_ceiling_inferred",
              "mixed",
              "unknown"
            ]
          },
          "error_codes": {
            "maxItems": 13,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "intent_history_unavailable",
                "intent_accounting_pending",
                "google_reconnect_required",
                "unauthorized",
                "not_found_or_forbidden",
                "dependency_unavailable",
                "quota_exceeded",
                "invalid_input",
                "invalid_source",
                "stale_attempt",
                "conflict",
                "unknown_commit",
                "not_configured"
              ]
            }
          },
          "issues": {
            "type": "object",
            "properties": {
              "missing": {
                "type": "object",
                "properties": {
                  "dates": {
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    }
                  },
                  "omitted_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "dates",
                  "omitted_count"
                ],
                "additionalProperties": false
              },
              "waiting": {
                "type": "object",
                "properties": {
                  "dates": {
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    }
                  },
                  "omitted_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "dates",
                  "omitted_count"
                ],
                "additionalProperties": false
              },
              "active": {
                "type": "object",
                "properties": {
                  "dates": {
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    }
                  },
                  "omitted_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "dates",
                  "omitted_count"
                ],
                "additionalProperties": false
              },
              "failed": {
                "type": "object",
                "properties": {
                  "dates": {
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    }
                  },
                  "omitted_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "dates",
                  "omitted_count"
                ],
                "additionalProperties": false
              },
              "truncated": {
                "type": "object",
                "properties": {
                  "dates": {
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                    }
                  },
                  "omitted_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "dates",
                  "omitted_count"
                ],
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          }
        },
        "required": [
          "search_type",
          "profile",
          "supported",
          "expected_calendar_days",
          "scheduled_days",
          "completed_collection_days",
          "completed_empty_days",
          "usable_metric_days",
          "available_revision_days",
          "truncated_days",
          "missing_extraction_days",
          "waiting_days",
          "active_days",
          "failed_days",
          "unsupported_days",
          "latest_usable_source_date",
          "last_successful_publication_at",
          "scheduled_extent",
          "truncation_basis",
          "error_codes",
          "issues"
        ],
        "additionalProperties": false
      }
    },
    "error": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "enum": [
            "intent_history_unavailable",
            "intent_accounting_pending",
            "google_reconnect_required",
            "unauthorized",
            "not_found_or_forbidden",
            "dependency_unavailable",
            "quota_exceeded",
            "invalid_input",
            "invalid_source",
            "stale_attempt",
            "conflict",
            "unknown_commit",
            "not_configured"
          ]
        },
        "retryable": {
          "type": "boolean"
        },
        "message": {
          "type": "string"
        },
        "correlation_id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[a-zA-Z0-9._:-]+$"
        }
      },
      "required": [
        "code",
        "retryable",
        "message",
        "correlation_id"
      ],
      "additionalProperties": false
    }
  },
  "additionalProperties": false,
  "anyOf": [
    {
      "required": [
        "schema_version",
        "property_id",
        "source",
        "checked_at",
        "requested",
        "sync",
        "discovery",
        "history",
        "performance",
        "effective_datasets"
      ],
      "not": {
        "required": [
          "error"
        ]
      }
    },
    {
      "required": [
        "error"
      ],
      "maxProperties": 1
    }
  ]
}

View as Markdown