🚀 Share how you're building agents for a chance to win LangChain swag!
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://langchain-5e9cc07a-preview-openap-1765292790-ae6c60d.mintlify.app/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?