LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-sdkauthtypesThreadsSearch
    Classā—Since v0.1

    ThreadsSearch

    Copy
    ThreadsSearch()

    Bases

    typing.TypedDict

    Constructors

    Attributes

    View source on GitHub
    constructor
    __init__
    NameType
    metadataMetadataInput
    valuesMetadataInput
    statusThreadStatus | None
    limitint
    offsetint
    idsSequence[UUID] | None
    thread_idUUID | None
    attribute
    metadata: MetadataInput

    typing.Optional metadata to filter by.

    attribute
    values: MetadataInput

    typing.Optional values to filter by.

    attribute
    status: ThreadStatus | None

    typing.Optional status to filter by.

    attribute
    limit: int

    Maximum number of results to return.

    attribute
    offset: int

    Offset for pagination.

    attribute
    ids: Sequence[UUID] | None

    typing.Optional list of thread IDs to filter by.

    attribute
    thread_id: UUID | None

    typing.Optional thread ID to filter by.

    Parameters for searching threads.

    Called for searches to threads or runs.