Join us May 13th & May 14th at Interrupt, the Agent Conference by LangChain. Buy tickets >
curl --request POST \
--url https://api.example.com/threads/{thread_id}/state \
--header 'Content-Type: application/json' \
--data '
{
"values": [
"<unknown>"
],
"checkpoint": {
"thread_id": "<string>",
"checkpoint_ns": "<string>",
"checkpoint_id": "<string>",
"checkpoint_map": {}
},
"as_node": "<string>"
}
'{
"checkpoint": {}
}Add state to a thread.
curl --request POST \
--url https://api.example.com/threads/{thread_id}/state \
--header 'Content-Type: application/json' \
--data '
{
"values": [
"<unknown>"
],
"checkpoint": {
"thread_id": "<string>",
"checkpoint_ns": "<string>",
"checkpoint_id": "<string>",
"checkpoint_map": {}
},
"as_node": "<string>"
}
'{
"checkpoint": {}
}Documentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
The ID of the thread.
Success
Response for adding state to a thread.
Was this page helpful?