app.bsky.feed.getPostThread

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

class atproto_client.models.app.bsky.feed.get_post_thread.Params

Bases: ParamsModelBase

Parameters model for app.bsky.feed.getPostThread.

field depth: int | None = None
Constraints:
  • ge = 0

  • le = 1000

field parent_height: int | None = None
Constraints:
  • ge = 0

  • le = 1000

field uri: AtUri [Required]

Reference (AT-URI) to post record.

class atproto_client.models.app.bsky.feed.get_post_thread.ParamsDict

Bases: TypedDict

uri: AtUri

Reference (AT-URI) to post record.

depth: NotRequired[int | None]

How many levels of reply depth should be included in response.

parent_height: NotRequired[int | None]

How many levels of parent (and grandparent, etc) post to include.

class atproto_client.models.app.bsky.feed.get_post_thread.Response

Bases: ResponseModelBase

Output data model for app.bsky.feed.getPostThread.

field thread: models.AppBskyFeedDefs.ThreadViewPost | models.AppBskyFeedDefs.NotFoundPost | models.AppBskyFeedDefs.BlockedPost | DotDict [Required]

Thread.

Constraints:
  • __module__ = atproto_client.models.unknown_union

  • __firstlineno__ = 17

  • __doc__ = Annotation for open ref unions: an unrecognized $type falls back to DotDict. Applied to t.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated by py_type as usual, so a known type that fails validation still raises. Only a $type that matches no member, or a missing one, degrades to a DotDict.

  • __get_pydantic_core_schema__ = <bound method UnknownUnionFallback.__get_pydantic_core_schema__ of <class ‘atproto_client.models.unknown_union.UnknownUnionFallback’>>

  • __static_attributes__ = ()

  • __dict__ = {‘__module__’: ‘atproto_client.models.unknown_union’, ‘__firstlineno__’: 17, ‘__doc__’: “Annotation for open ref unions: an unrecognized $type falls back to DotDict.nnApplied to t.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated byn``py_type`` as usual, so a known type that fails validation still raises. Only a $type thatnmatches no member, or a missing one, degrades to a DotDict.n”, ‘__get_pydantic_core_schema__’: <classmethod(<function UnknownUnionFallback.__get_pydantic_core_schema__ at 0x786e5ef30c20>)>, ‘__static_attributes__’: (), ‘__dict__’: <attribute ‘__dict__’ of ‘UnknownUnionFallback’ objects>, ‘__weakref__’: <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>}

  • __weakref__ = <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>

field threadgate: models.AppBskyFeedDefs.ThreadgateView | None = None

Threadgate.