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}/runs/{run_id}/cancel{
"detail": "<string>"
}curl --request POST \
--url https://api.example.com/threads/{thread_id}/runs/{run_id}/cancel{
"detail": "<string>"
}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.
The ID of the run.
Action to take when cancelling the run. Possible values are interrupt or rollback. interrupt will simply cancel the run. rollback will cancel the run and delete the run and associated checkpoints afterwards.
interrupt, rollback Success
Was this page helpful?