TweetFeed · Schema

StatusDocument

Freshness facts for every published artifact plus a per-request verdict. Computed fresh on every request - see the `/v1/status` path description for caching/conditional-request notes.

Threat IntelligenceIOC FeedsTwitter / XFree FeedThreat Hunting

Properties

Name Type Description
schema_version integer
generated_at string UTC timestamp the underlying `status.json` document was generated.
pipeline object The main 15-minute pipeline's own cadence.
contract object Static licensing/retention facts, unrelated to freshness.
artifacts object One entry per published artifact (`today.csv`, `week.csv`, `month.csv`, `year.csv`, `rss.xml`, `counts.json`, `misp`, `stix`, `blocklists`, `exclusive.csv`, `lookup`, `trends.json`, `contributors.json
checked_at string UTC timestamp this specific request was evaluated at.
age_seconds integernull Seconds since `generated_at` (top-level pipeline age).
stale boolean Top-level verdict: `true` if the pipeline document itself is older than the pipeline's `stale_after_seconds`. Mirrored in the `X-Feed-Stale` response header.
any_stale boolean `true` if ANY single artifact entry is stale, even while the top-level `stale` is `false`.
sources object Per-X-source coverage: one entry per enabled hashtag/account feed. The backend writes the facts (`newest_item_at`, `rows_last_24h`); `age_seconds`, `dead`, `dead_ids`, `any_dead` and `with_rows_last_2
View JSON Schema on GitHub

JSON Schema

tweetfeed-live-status-document-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tweetfeed-live/json-schema/tweetfeed-live-status-document-schema.json",
  "title": "StatusDocument",
  "description": "Freshness facts for every published artifact plus a per-request\nverdict. Computed fresh on every request - see the `/v1/status`\npath description for caching/conditional-request notes.\n",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tweetfeed-live-openapi.yml#/components/schemas/StatusDocument",
  "type": "object",
  "required": [
    "schema_version",
    "generated_at",
    "pipeline",
    "artifacts",
    "checked_at",
    "age_seconds",
    "stale",
    "any_stale"
  ],
  "properties": {
    "schema_version": {
      "type": "integer"
    },
    "generated_at": {
      "type": "string",
      "format": "date-time",
      "description": "UTC timestamp the underlying `status.json` document was generated."
    },
    "pipeline": {
      "type": "object",
      "description": "The main 15-minute pipeline's own cadence.",
      "properties": {
        "interval_seconds": {
          "type": "integer"
        },
        "stale_after_seconds": {
          "type": "integer"
        }
      }
    },
    "contract": {
      "type": "object",
      "description": "Static licensing/retention facts, unrelated to freshness.",
      "additionalProperties": true
    },
    "artifacts": {
      "type": "object",
      "description": "One entry per published artifact (`today.csv`, `week.csv`,\n`month.csv`, `year.csv`, `rss.xml`, `counts.json`, `misp`,\n`stix`, `blocklists`, `exclusive.csv`, `lookup`, `trends.json`,\n`contributors.json`, `archive`, `external.json`, `ipmeta.json`,\n`enrichment.json`, `campaigns.json`, `domainmeta.json`), keyed\nby artifact name.\n",
      "additionalProperties": {
        "$ref": "#/$defs/StatusArtifact"
      }
    },
    "checked_at": {
      "type": "string",
      "format": "date-time",
      "description": "UTC timestamp this specific request was evaluated at."
    },
    "age_seconds": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Seconds since `generated_at` (top-level pipeline age)."
    },
    "stale": {
      "type": "boolean",
      "description": "Top-level verdict: `true` if the pipeline document itself is\nolder than the pipeline's `stale_after_seconds`. Mirrored in\nthe `X-Feed-Stale` response header.\n"
    },
    "any_stale": {
      "type": "boolean",
      "description": "`true` if ANY single artifact entry is stale, even while the\ntop-level `stale` is `false`.\n"
    },
    "sources": {
      "type": "object",
      "description": "Per-X-source coverage: one entry per enabled hashtag/account\nfeed. The backend writes the facts (`newest_item_at`,\n`rows_last_24h`); `age_seconds`, `dead`, `dead_ids`, `any_dead`\nand `with_rows_last_24h` are verdicts computed fresh on every\nrequest, like the top-level `stale`. Hashtags never get a\n`dead` verdict (many tags are legitimately quiet for weeks) -\ntheir `dead_after_seconds`/`dead` are always `null`. A single\nIOC row tagged with two sources counts toward both; block-level\n`rows_last_24h` counts distinct rows. Does not affect `stale`/\n`any_stale` or the `x-feed-*` headers.\n",
      "required": [
        "total",
        "hashtag",
        "account",
        "rows_last_24h",
        "dead_after_seconds",
        "with_rows_last_24h",
        "dead",
        "dead_ids",
        "any_dead",
        "items"
      ],
      "properties": {
        "total": {
          "type": "integer",
          "description": "Total enabled X source feeds (hashtag + account)."
        },
        "hashtag": {
          "type": "integer"
        },
        "account": {
          "type": "integer"
        },
        "rows_last_24h": {
          "type": "integer",
          "description": "Distinct IOC rows attributed to any source in the last 24h."
        },
        "dead_after_seconds": {
          "type": "object",
          "description": "Dead-verdict threshold per source kind (`null` = no verdict).",
          "properties": {
            "account": {
              "type": [
                "integer",
                "null"
              ]
            },
            "hashtag": {
              "type": [
                "integer",
                "null"
              ]
            }
          }
        },
        "with_rows_last_24h": {
          "type": "integer",
          "description": "Sources with at least one attributed row in the last 24h."
        },
        "dead": {
          "type": "integer",
          "description": "Count of account sources older than `dead_after_seconds`."
        },
        "dead_ids": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "any_dead": {
          "type": "boolean"
        },
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "id",
              "kind",
              "newest_item_at",
              "rows_last_24h",
              "dead_after_seconds",
              "age_seconds",
              "dead"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "The tag or handle, without `#`/`@`."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "hashtag",
                  "account"
                ]
              },
              "newest_item_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "description": "Newest post seen from this source; `null` when none recorded yet."
              },
              "rows_last_24h": {
                "type": "integer"
              },
              "dead_after_seconds": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "age_seconds": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Seconds since `newest_item_at`; `null` when unknown."
              },
              "dead": {
                "type": [
                  "boolean",
                  "null"
                ],
                "description": "Verdict for `account` sources only; always `null` for `hashtag`.",
                "nullable": true
              }
            }
          }
        }
      }
    }
  },
  "$defs": {
    "StatusArtifact": {
      "type": "object",
      "required": [
        "kind",
        "path",
        "updated_at",
        "age_seconds",
        "stale"
      ],
      "description": "Freshness facts for one artifact. Shape varies by `kind` - fields\nbeyond the common ones below are additive and kind-dependent\n(e.g. `last_row`/`data_stale` only on `kind: tick`,\n`stale_after_seconds: null` plus a `note` on `kind:\nchange-driven`), so this schema stays permissive.\n",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "tick",
            "own-clock",
            "change-driven"
          ],
          "description": "`tick`: shares the main pipeline's own clock (today/week/\nmonth/year.csv, rss.xml, counts.json, misp, stix,\nblocklists, exclusive.csv, contributors.json). `own-clock`: refreshed on its own schedule,\nslower than the main pipeline (lookup, trends.json,\nexternal.json, ipmeta.json, enrichment.json,\ncampaigns.json). `change-driven`: `generated_at` only moves\nwhen the content itself changes, so `stale_after_seconds` is\n`null` (archive, domainmeta.json).\n"
        },
        "path": {
          "type": "string"
        },
        "updated_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "interval_seconds": {
          "type": "integer",
          "description": "Expected refresh cadence for this artifact, in seconds."
        },
        "stale_after_seconds": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Threshold past `age_seconds` that flips this artifact's\n`stale` to `true`. `null` on `kind: change-driven` artifacts,\nwhich have no fixed staleness window.\n"
        },
        "age_seconds": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Seconds since this artifact's `updated_at`."
        },
        "stale": {
          "type": "boolean",
          "description": "This one artifact's own freshness verdict."
        },
        "rows": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Row count, only present on CSV-shaped artifacts."
        },
        "first_row": {
          "type": [
            "string",
            "null"
          ],
          "description": "Timestamp of the oldest row, only on CSV-shaped tick artifacts."
        },
        "last_row": {
          "type": [
            "string",
            "null"
          ],
          "description": "Timestamp of the newest row, only on CSV-shaped tick\nartifacts - the basis for `data_age_seconds`/`data_stale`.\n"
        },
        "data_stale_after_seconds": {
          "type": "integer",
          "description": "Threshold for `data_age_seconds`, tick artifacts only."
        },
        "data_age_seconds": {
          "type": "integer",
          "description": "Seconds since `last_row` (the data itself, not the file). Tick artifacts only."
        },
        "data_stale": {
          "type": "boolean",
          "description": "`true` if the newest row is older than\n`data_stale_after_seconds` even though the file itself was\njust rewritten (e.g. a quiet tag/window). Tick artifacts only.\n"
        },
        "note": {
          "type": "string",
          "description": "Human-readable caveat, present on some `own-clock`/`change-driven` artifacts."
        },
        "shards": {
          "type": "integer",
          "description": "Present only on the `lookup` artifact."
        },
        "upstream_stale": {
          "type": "boolean",
          "description": "Present only on `campaigns.json`."
        },
        "upstream_stale_since": {
          "type": [
            "string",
            "null"
          ],
          "description": "Present only on `campaigns.json`."
        }
      },
      "additionalProperties": true
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/tweetfeed-live-status-document"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.