Deletes all checkpoints for the given thread on this graph. Idempotent — succeeds on a
nonexistent thread. After deletion, getState(threadId) returns an empty state and any
subsequent invoke/resume on the same threadId starts fresh with no prior history.
The thread to delete.
Returns the current state of a LangGraph thread.
Starts a new LangGraph run and waits for the result.
For very long graphs where you don't want to hold a Promise, use invokeAsync() instead.
Note: graph execution caps at the tenant IPC timeout (currently 4 minutes).
Initial state and optional thread to run against.
Starts a new LangGraph run without waiting for the result.
Returns a jobId — pass it to squid.job().awaitJob(jobId) or getJob(jobId) to retrieve the result later.
Use this for graphs that may run longer than is comfortable to hold a Promise for.
Note: the underlying graph execution still caps at the tenant IPC timeout (currently 4 minutes)
Initial state and optional thread to run against.
Resumes an interrupted LangGraph thread and waits for the result.
The thread must currently be in interrupted status.
Note: graph execution caps at the tenant IPC timeout (currently 4 minutes).
The thread to resume.
Value passed to the interrupt() call inside the graph.
Resumes an interrupted LangGraph thread without waiting for the result.
Returns a jobId — pass it to squid.job().awaitJob(jobId) or getJob(jobId) to retrieve the result later.
Note: graph execution caps at the tenant IPC timeout (currently 4 minutes)
The thread to resume.
Value passed to the interrupt() call inside the graph.
Reference to a specific LangGraph.