Read task progress
tasks_get_statusPoll an Agent Method task by opaque task_ref using the bounded common response, or inspect an existing tnapi_ report task_ref from a first-party native workflow on its original connection/token. A completed report task returns the native download next_action. Legacy task_id input remains accepted but returns the same bounded status-only envelope, never raw result or logs. At terminal=true, consume result and source_anchor directly; never resubmit the original page-one Agent Method query merely to recover that task. A later user request to check again starts a new cached page-one query without old cursors/anchors; it does not request a provider refresh.
REQUIRED: exactly one of task_ref (opaque ref from insights_query_consistent) or task_id (legacy UUID). Optional: response_mode=compact for task_ref. EXAMPLE: tasks_get_status({"task_ref": ""})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | No | ||
| task_ref | No | ||
| response_mode | No | compact | |
| connection_context | No |