Skip to main content
Retrieve the status and result of an async job started by lonescale enrich or lonescale source.

Synopsis

Examples

Options

OptionDescription
<job-id>Required. The job ID returned by enrich or source.
--pollKeep polling until the job finishes (or until --timeout expires).
--interval <seconds>Seconds between polls (default 3).
--timeout <seconds>Max wait time before giving up (default 120).
Plus all global options.

Exit codes

CodeMeaning
0Job finished successfully (or status was returned without --poll).
1Job failed, timed out, or the CLI couldn’t reach the API. Inspect stderr for details.
This means you can chain lonescale result safely in shell scripts: