so.sprk.feed.getPostThread

sprk.so

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get posts in a thread. Does not require auth, but additional metadata and filtering will be applied for authed requests.",
      "errors": [
        {
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "thread": {
              "description": "A flat list of thread items. The depth of each item is indicated by the depth property inside the item.",
              "items": {
                "ref": "#threadItem",
                "type": "ref"
              },
              "type": "array"
            },
            "threadgate": {
              "ref": "so.sprk.feed.defs#threadgateView",
              "type": "ref"
            }
          },
          "required": [
            "thread"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "anchor": {
            "description": "Reference (AT-URI) to anchor post record.",
            "format": "at-uri",
            "type": "string"
          },
          "cursor": {
            "type": "string"
          },
          "depth": {
            "default": 6,
            "description": "How many levels of reply depth should be included in response.",
            "maximum": 1000,
            "minimum": 0,
            "type": "integer"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "parentHeight": {
            "default": 80,
            "description": "How many levels of parent (and grandparent, etc) post to include.",
            "maximum": 1000,
            "minimum": 0,
            "type": "integer"
          },
          "sort": {
            "default": "oldest",
            "description": "Sorting for the thread replies.",
            "knownValues": [
              "newest",
              "oldest",
              "top"
            ],
            "type": "string"
          }
        },
        "required": [
          "anchor"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "threadItem": {
      "properties": {
        "depth": {
          "description": "The nesting level of this item in the thread. Depth 0 means the anchor item.",
          "type": "integer"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        },
        "value": {
          "refs": [
            "so.sprk.feed.defs#threadViewPost",
            "so.sprk.feed.defs#notFoundPost",
            "so.sprk.feed.defs#blockedPost"
          ],
          "type": "union"
        }
      },
      "required": [
        "uri",
        "depth",
        "value"
      ],
      "type": "object"
    }
  },
  "id": "so.sprk.feed.getPostThread",
  "lexicon": 1
}

Validate Record

Validate a record against so.sprk.feed.getPostThread

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:cveom2iroj3mt747sd4qqnr2
CID
bafyreigk3vmy7acllplckq3cg4g7qyeyjh2pr2bkyktjfnkmozasybrwfm
Indexed At
2026-04-21 22:28 UTC
AT-URI
at://did:plc:cveom2iroj3mt747sd4qqnr2/com.atproto.lexicon.schema/so.sprk.feed.getPostThread

Referenced Schemas (4)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Get crosspost thread items for an anchor. Mirrors getPostThread shape but uses isolated crosspost-thread traversal.

  • Get posts in a thread. Does not require auth, but additional metadata and filtering will be applied for authed requests.

  • town.delve.feed.getPostThread querynot from the namespace authority

    Get posts in a thread. Does not require auth, but additional metadata and filtering will be applied for authed requests.

  • town.delve.unspecced.getPostThreadV2 querynot from the namespace authority

    (NOTE: this endpoint is under development and WILL change without notice. Don't use it until it is moved out of `unspecced` or your application WILL break) Get posts in a thread. It is based in an anchor post at any dep…

  • town.delve.unspecced.getPostThreadOtherV2 querynot from the namespace authority

    (NOTE: this endpoint is under development and WILL change without notice. Don't use it until it is moved out of `unspecced` or your application WILL break) Get additional posts under a thread e.g. replies hidden by thre…

Lexicon Garden

@