Get thread state

Retrieve the current state of a thread. This endpoint returns the thread's state values, metadata, and checkpoint information. This endpoint is LangGraph API compatible with LangGraph SDK.

See LangSmith API definition: https://docs.langchain.com/langsmith/agent-server-api/threads/get-thread-state

If the thread is not found, an empty state is returned.

Path Params
string
required

Unique identifier for the thread

Responses

401

Invalid API key

404

Thread not found (returns empty state)

500

Internal server error

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json