Run job

Run a job of the workflow and generate results using the API.


Run live job

After you estimated the credit costs for this job (see the file job_params.json), you can run the live job. This job type consumes credits.

Loading...

Before running, you can name your job, in order to easily locate it on the job dashboard:

JOB_NAME='My+first+UP42+job'

Run the live job:

JOB_ID=$(curl -s POST -H "Authorization: Bearer $PTOKEN" \
-H "Content-Type: application/json" "$URL_JOB?name=$JOB_NAME" \
-d @job_params.json | jq -j '.data.id')

When using the console UI, the job name defaults to the workflow name. On the API, if you create and run a job without explicitly setting a name, the name is an empty string (null).

If the job runs successfully, the results are generated.