Create a jobGroup, which launches the specified job as the authenticated user.
The request specification depends on one of the following conditions:
- Dataset has already had a job run against it and just needs to be re-run.
- Dataset has not had a job run, or the job definition needs to be re-specified.
NOTE: Override values applied to a job are not validated. Invalid overrides may cause your job to fail.
NOTE: Each request to the Trifacta® platform must include authentication credentials. See $strBaseAPIURL#section/Authentication.
Request Body - Run job:
To run a job, you just specify the recipe identifier (
wrangledDataset.id). If the job is successful, all defined outputs are generated, as defined in the outputobject, publications, and writesettings objects associated with the recipe.
Request Body - Specify job:
If you must change some outputs or other settings for the specific job, you can insert these changes in the
overrides section of the request. Below, the running environment (
photon), profiling option, and writesettings for the job are modified for this execution:
Request Body - Specify job with parameter overrides:
If you have created a dataset with parameters, you can specify overrides for parameter values during execution through the APIs. Through this method, you can iterate job executions across all matching sources of a parameterized dataset.
- You can also apply runtime parameters using the same request structure. For more information on creating datasets with parameters, see Overview of Parameterization.
In the following, the
runParameters override has been specified for the
varRegion. In this case, the value
02 is inserted for the specified variable as part of the job execution.
Response Status Code - Success:
201 - Created
Response Body Example:
|(required) Internal identifier for the object whose results you wish to generate. The recipes of all preceding datasets on which this dataset depends are executed as part of the job.|
(required, if first time running the job) Indicates the running environment on which the job is executed. Accepted values:
For more information, see Running Environment Options.
(required, if first time running the job) When set to
(required, if first time running the job) These settings define the publishing options for the job. For more information, see API WriteSettings Get v4.
(optional) If this value is set to
|reason||Current state of the job group at time of API call. Since this call creates the job group, this value is always |
|sessionId||Session identifier for the job group.|
|id||Internal identifier of the job group.|
|jobGraph||Internal identifiers of the internal objects executed for the job.|
|jobs||Internal identifiers of the jobs within the job group that were executed as part of this run. Jobs are listed in order of execution.|
This page has no comments.