Skip to main content

signaloid-cli tasks status

Get task status.

Synopsis​

signaloid-cli tasks status --task-id <id>

Options​

OptionRequiredDescription
--task-id <id>YesTask ID

Description​

Retrieves the current status of a task. This is a lightweight alternative to signaloid-cli tasks get when you only need to check the status.

Examples​

signaloid-cli tasks status --task-id tsk_abc123

Output:

{
"TaskID": "tsk_abc123",
"Status": "Completed"
}

Use in scripts:

STATUS=$(signaloid-cli tasks status --task-id $TASK_ID | jq -r '.Status')
if [ "$STATUS" = "Completed" ]; then
echo "Task completed successfully"
fi

Notes​

  • Returns only TaskID and Status fields
  • Useful for polling in scripts
  • More efficient than tasks get when you only need status
  • For waiting on task completion, consider using signaloid-cli tasks watch

Task Status Values​

StatusDescription
AcceptedTask has been accepted and is queued for execution
InitialisingThe Compute Engine is initializing the infrastructure for the task
RescheduledTask is being rescheduled onto another worker after an interruption
In ProgressTask is currently running
CompletedTask exited with a zero exit code
CancelledTask was canceled
StoppedTask exited with a non-zero exit code

See Also​