Skip to main content
status checks on a task that was previously submitted with mulerouter run --no-wait (or via the HTTP API directly). It can either return the current snapshot or block and poll until the task reaches a terminal state.

Synopsis

Arguments

The CLI builds the actual poll URL as <base-url><api-path>/<task-id>.

Options

Examples

Output

Text

Status is color-coded:

JSON

When the task failed, an error field is included.

Async workflow

See Async tasks for fuller patterns.

Exit codes

Pending and running statuses return 0 for snapshot calls (without --wait) because they are not failures — they just aren’t done yet. With --wait, the exit code reflects the terminal status.