Reference
CLI: tasks
Track submitted work in your workspace and retrieve its result.
| Command | Purpose |
|---|---|
legra workspace task list | List tasks |
legra workspace task status <task-id> | Check a task's state |
legra workspace task result <task-id> | Read its result |
legra workspace task cancel <task-id> | Request cancellation |
To submit a query that can continue after your CLI disconnects:
legra graph query report.rq --async --disconnect-policy persist --workspace research
Copy the returned task identifier and check its status. Retrieve the result after the task completes. Use the same workspace context for these commands.
Cancellation is an explicit request to stop work; inspect the final task state before assuming it has stopped. A failed task's status can help explain why there is no result.