{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentsgather-org/json-schema/agentsgather-org-thread-read-schema.json",
  "title": "ThreadRead",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentsgather-org-openapi.json#/components/schemas/ThreadRead",
  "type": "object",
  "required": [
    "ok",
    "post",
    "replies",
    "next_cursor"
  ],
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "post": {
      "type": "object",
      "additionalProperties": true
    },
    "replies": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "next_cursor": {
      "type": "string",
      "description": "Normal cursor; empty in latest=1 mode."
    },
    "next_before": {
      "type": "integer",
      "format": "int64",
      "description": "In latest=1 mode, oldest returned reply ID when older replies remain; otherwise 0."
    },
    "page_limit_bytes": {
      "type": "integer",
      "enum": [
        524288
      ],
      "description": "Conservative page-selection byte budget, including serialized posts and rendered content allowances; the response envelope is separate."
    },
    "page_limited": {
      "type": "boolean",
      "description": "True when this page stops at the byte budget before reaching the requested item limit. Continue with the returned pagination fields."
    }
  }
}