{
  "acceptance": "All synthetic inclusion cases match the intended logic and the query uses supported operators at the correct scope. The report title and saved query describe the same population.",
  "automated_checks": true,
  "batch_id": "analytics-editorial-20261104-v1",
  "built_at": "2026-11-04T11:50:28.566595+00:00",
  "claims": [
    {
      "id": "c1",
      "section": "Explanation and verification steps",
      "source_numbers": [
        1
      ],
      "statement": "Zone filters do not support compound AND/OR filters in the documented grammar."
    },
    {
      "id": "c2",
      "section": "Explanation and verification steps",
      "source_numbers": [
        1
      ],
      "statement": "Table filters support AND and explicit OR conditions."
    },
    {
      "id": "c3",
      "section": "Explanation and verification steps",
      "source_numbers": [
        1
      ],
      "statement": "Operator support varies by node type and name."
    },
    {
      "id": "c4",
      "section": "Explanation and verification steps",
      "source_numbers": [
        1
      ],
      "statement": "The documented example applies a common time condition to grouped country alternatives."
    }
  ],
  "description": "Separate zone selection from dataset conditions and verify AND/OR logic with a small inclusion matrix.",
  "diagram": [
    "Resource: account or zone",
    "Window: common time condition",
    "Alternatives: explicit grouped OR",
    "Fixture: included and excluded cases"
  ],
  "draft_hash": "585f7067a723c49b3dc2d25c64e8b42304819d2c230a7acf4619db9ecf487f02",
  "evidence": {
    "observed_at": "2026-11-03T23:30:49.306396+00:00",
    "period": {
      "end": "2026-11-03T23:30:49.306396+00:00",
      "start": "2026-11-03T23:30:49.306396+00:00",
      "timezone": "UTC"
    },
    "rows": [],
    "scope": "Official documentation; no customer or own-site traffic measurement"
  },
  "evidence_kind": "documentation",
  "figure_caption": "Original explanatory diagram based on the dated sources below. Any example values are hypothetical; this is not a screenshot, customer measurement or AI platform result.",
  "figure_kind": "decision",
  "figure_notes": [
    "Separate resource selection from dataset conditions.",
    "Apply the same time condition to all intended alternatives.",
    "Check the supported compound-filter grammar.",
    "Use a small truth table before trusting the total."
  ],
  "figure_title": "Check GraphQL filter scope before trusting a crawler segment",
  "group": "Log queries and report integrity",
  "human_review_claim": false,
  "intent": "graphql-filter-scope-and-logic",
  "interpretation": "Cloudflare documents different rules for resource selection and table filtering. Zone filters have a constrained grammar, while table filters support explicit AND and OR logic; operator support also depends on the field. A visually plausible query can therefore answer a different question from the report title. Define the intended population in plain language before translating it into query conditions.",
  "keyword_volume": "Not obtained",
  "limits": "The fixture validates the intended logic, not the completeness of a live dataset. Request classification and AI-platform identity still require their own evidence.",
  "paid_api_calls": 0,
  "path": "/ai-analytics/guides/graphql-filter-scope-and-logic/",
  "policy": "session-evidence-editorial-v1",
  "preparation_mode": "session_editorial_batch",
  "problem": "A crawler analytics query selects the wrong population because resource filters and dataset filters are mixed or Boolean conditions are grouped incorrectly.",
  "product": "/ai-analytics",
  "published_at": "2026-11-05T03:05:15.958030+00:00",
  "reader": "Site owners and analysts investigating a crawler analytics query selects the wrong population because resource filters and dataset filters are mixed or Boolean conditions are grouped incorrectly.",
  "related": [
    "public-path-inventory-coverage",
    "crawler-user-agent-verification"
  ],
  "related_links": [
    {
      "path": "/ai-analytics/guides/public-path-inventory-coverage/",
      "title": "Audit which public paths analytics actually covers"
    },
    {
      "path": "/ai-analytics/guides/crawler-user-agent-verification/",
      "title": "Separate crawler names from verified request identity"
    }
  ],
  "research_document_ids": [
    "f9d7a4011700a0407e5dc9b863b3387a"
  ],
  "slug": "graphql-filter-scope-and-logic",
  "source_signature": "5525b2142ad93633aba9b36e2a026519d8364bb494e6d0c2a149005f7cfe6f08",
  "sources": [
    {
      "hash": "38bb199e86faf377be0f9fb1f4cf25cad15ce5788673a399bc8e4835eee61d14",
      "locator": "Filter using the OR operator / b31; Operators / b16; Table (dataset) filter / b13; Zone filter / b8",
      "observed_at": "2026-11-03T23:30:49.306396+00:00",
      "title": "Filtering",
      "url": "https://developers.cloudflare.com/analytics/graphql-api/features/filtering/"
    }
  ],
  "sources_required": [],
  "steps": [
    "Write one sentence describing the resource scope, time interval and qualifying record conditions. Identify which conditions select a zone or account and which filter dataset records.",
    "Check the documented filter operators for the exact dataset fields. Do not assume a zone selector accepts the same compound grammar as a table filter.",
    "Create a small expected-inclusion matrix covering each branch and its boundary cases. Compare it with the query logic before relying on a production total.",
    "Save the query definition, sanitized variables and inclusion rationale with the report. After changing a filter, treat the resulting population as a changed measurement definition."
  ],
  "title": "Check GraphQL filter scope before trusting a crawler segment",
  "worked_example": "Hypothetical example: the intended segment is requests in one time window from either of two countries. The time condition must apply to both country alternatives. A small truth table with an in-window and out-of-window record for each country makes that requirement visible. These are synthetic inclusion cases, not a dataset from a Cloudflare account."
}