Create sub-threads, manage dependencies, update status, and query threads. Use when breaking work into subtasks, tracking progress, or managing task dependencies.
$THINKWORK_API_SECRET in responses.All operations use the Thinkwork GraphQL API via curl against $THINKWORK_API_URL with header x-api-key: $THINKWORK_API_SECRET.
| Operation | Mutation/Query | Purpose |
|---|---|---|
| Create Sub-Thread | createThread | Break work into subtasks (set ) |
parentId| Add Dependency | addThreadDependency | Block a thread until another completes |
| Update Status | updateThread | Move thread through status workflow |
| Add Comment | addThreadComment | Document progress or decisions |
| List Sub-Threads | threads(parentId) | Check completion of child threads |
| Get Thread Details | thread(id) | Full thread with comments, dependencies |
| Escalate Thread | escalateThread | Hand off to supervisor agent |
| Delegate Thread | delegateThread | Reassign to a specialist agent |
See references/graphql-mutations.md for full curl examples of each operation.
BACKLOG -> TODO, IN_PROGRESS, CANCELLEDTODO -> IN_PROGRESS, BACKLOG, CANCELLEDIN_PROGRESS -> IN_REVIEW, BLOCKED, DONE, CANCELLEDIN_REVIEW -> IN_PROGRESS, DONE, CANCELLEDBLOCKED -> IN_PROGRESS, TODO, CANCELLEDDONE -> IN_PROGRESSCANCELLED -> BACKLOG, TODOcreateThread (set parentId to current thread)addThreadDependency to order the sub-tasksDONEDONEescalateThread to hand off to your supervisordelegateThread to reassignSee references/escalation-delegation.md for escalation and delegation patterns.