jobs:events
rai jobs:events [OPTIONS]Get events for a job.
Output is always JSON (events have no human table form):
- Default mode prints the raw events object,
{"events": [...], "continuation_token": ...}. This matches the historical pre-1.0 shape, so scripts that consume the default form continue to work unchanged. --jsonmode wraps that object under ajob_eventskey,{"job_events": {"events": [...], "continuation_token": ...}}, to match the wrapper-key shape used by the rest of the CLI under--json(e.g.{"jobs": [...]}fromjobs:list).
Use --json when piping into a tool that expects the consistent
wrapped shape; otherwise the unwrapped form is fine.
Options
Section titled “Options”| Option | Type | Description |
|---|---|---|
--type | text | Job type (Logic/Prescriptive/Predictive). Required. Default: Sentinel.UNSET. |
--id | text | Job id. Required. Default: Sentinel.UNSET. |
--continuation-token | text | Continuation token from a previous events call (optional). Default: “. |
--stream-name | text | Events stream name (optional). Defaults to profiler for Direct Access Logic jobs and progress otherwise. |