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 by the system
initialisingTask is being initialized
in progressTask is currently running
completedTask finished successfully
cancelledTask was cancelled by user
stoppedTask was stopped by system

See Also