Skip to content

jobs:create

Terminal window
rai jobs:create [OPTIONS]

Create a job.

OptionTypeDescription
--typetextJob type (Logic/Prescriptive/Predictive).
--reasoner-name, --nametextReasoner name to run on (optional).
--databasetextDatabase (required for Logic when composing a payload).
--raw-codetextRaw code for payload construction.
--raw-code-filefile
--inputs-jsontextInputs JSON object (default: ).
--headers-jsontextHeaders JSON object (optional).
--languagetextDefault: rel.
--payload-jsontextJSON payload override/extension. Default: {}.
--timeout-minsinteger
--timeout-sfloatTimeout in seconds while waiting until the job reaches a terminal state (used with —wait). Default: 900.
--poll-interval-sfloatPolling interval in seconds while waiting until the job reaches a terminal state. Default: 0.5.
--bypass-indexBooleanDefault: False.
--gi-setup-skippedBooleanDefault: False.
--readonly, --readwriteBooleanDefault: True.
--waitBooleanWait until the job reaches a terminal state before returning. Default: False.