jobs:create
rai jobs:create [OPTIONS]Create a job.
Options
Section titled “Options”| Option | Type | Description |
|---|---|---|
--type | text | Job type (Logic/Prescriptive/Predictive). |
--reasoner-name, --name | text | Reasoner name to run on (optional). |
--database | text | Database (required for Logic when composing a payload). |
--raw-code | text | Raw code for payload construction. |
--raw-code-file | file | |
--inputs-json | text | Inputs JSON object (default: ). |
--headers-json | text | Headers JSON object (optional). |
--language | text | Default: rel. |
--payload-json | text | JSON payload override/extension. Default: {}. |
--timeout-mins | integer | |
--timeout-s | float | Timeout in seconds while waiting until the job reaches a terminal state (used with —wait). Default: 900. |
--poll-interval-s | float | Polling interval in seconds while waiting until the job reaches a terminal state. Default: 0.5. |
--bypass-index | Boolean | Default: False. |
--gi-setup-skipped | Boolean | Default: False. |
--readonly, --readwrite | Boolean | Default: True. |
--wait | Boolean | Wait until the job reaches a terminal state before returning. Default: False. |