Skip to content

ThreadSearchResponse

Base classes

Name Children Inherits
CodexBaseModel
codexed.models.base
Base model for all Codex API models.

⋔ Inheritance diagram

graph TD
  1293839199["v2_protocol.ThreadSearchResponse"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3116041069 --> 1293839199
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: CodexBaseModel

Source code in src/codexed/models/v2_protocol.py
class ThreadSearchResponse(CodexBaseModel):
    backwards_cursor: str | None = None
    """
    Opaque cursor to pass as `cursor` when reversing `sortDirection`. This is only populated when the page contains at least one thread. Use it with the opposite `sortDirection`; for timestamp sorts it anchors at the start of the page timestamp so same-second updates are not skipped.
    """
    data: list[ThreadSearchResult]
    next_cursor: str | None = None
    """
    Opaque cursor to pass to the next call to continue after the last item. if None, there are no more items to return.
    """

backwards_cursor class-attribute instance-attribute

backwards_cursor: str | None = None

Opaque cursor to pass as cursor when reversing sortDirection. This is only populated when the page contains at least one thread. Use it with the opposite sortDirection; for timestamp sorts it anchors at the start of the page timestamp so same-second updates are not skipped.

next_cursor class-attribute instance-attribute

next_cursor: str | None = None

Opaque cursor to pass to the next call to continue after the last item. if None, there are no more items to return.

:fa-brands-github: Show source on GitHub