candidates enrich and sourcing start — kick off async jobs and return immediately. Before reading their results, wait for the job to finish with jobs poll.
How jobs poll works
jobs poll blocks, re-fetching the job on an interval until it reaches done or failed (or the timeout elapses). It exits with a stable code so scripts and agents can branch on the outcome.
Parameters
Job statuses
Exit codes
Inspect and list jobs
Get a job without blocking
List jobs with filters
--type and --status are validated by the CLI. An unsupported value fails fast with exit code 8 (CLI usage).Examples
Poll with a longer window
Handle a timeout gracefully
Common errors
FAQ
Does a timeout cancel the job?
Does a timeout cancel the job?
No. Exit code
9 only means the CLI stopped waiting. The job may still finish — check it later with jobs get.Which commands create jobs?
Which commands create jobs?
candidates enrich (type enrich) and sourcing start (type source_role_prospects).Should agents always poll?
Should agents always poll?
Yes. After any async command, poll the job before reading generated results. An exit code of
0 on the start command does not mean the work is done.