{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/twexapi-io/json-schema/twexapi-io-tweet-thread-by-id-body-schema.json",
  "title": "TweetThreadByIdBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/twexapi-io-tweets-endpoints-api-openapi.yml#/components/schemas/TweetThreadByIdBody",
  "properties": {
    "tweet_id": {
      "type": "string",
      "title": "Tweet Id",
      "description": "The root tweet ID to fetch the thread for",
      "default": "1621544497388875777"
    },
    "max_items": {
      "type": "integer",
      "maximum": 200,
      "minimum": 1,
      "title": "Max Items",
      "description": "Max number of thread tweets to return",
      "default": 40
    },
    "fields": {
      "title": "Fields",
      "description": "Optional JSON array of field names. Leave this input blank to omit fields and return all fields. To select fields, enter [\"tweet_id\",\"text\"] (without wrapping the array in quotes).",
      "default": null,
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    }
  },
  "type": "object",
  "required": [
    "tweet_id"
  ]
}