Outdated release! Latest docs are Release 8.2: API JobGroups Create v4
For the latest updates on available API endpoints and documentation, see api.trifacta.com.
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: In this release, you cannot execute jobs sourced from datasets in Redshift or SQL DW or publish to these locations via the API. This known issue will be fixed in a future release.
NOTE: Each request to the Trifacta® platform must include authentication credentials. See API Authentication.
Request Body - Re-run job:
If you are re-running a job that has already executed and do not need to modify any job settings, you can use the following simplified body to launch it:
Request Body - Specify job:
If you are specifying a new job or must re-run a job with new settings, you must include a version of the following request body. Required parameters are listed below:
Request Body - Specify job for dataset with parameters:
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. 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. See below.|
(optional) If this value is set to
If set to
See Job Results Page.
writesettings values allow you to specify aspects of the publication of results to the specified
writesettings values are required if you are running this specified job for the dataset for the first time.
NOTE: To specify multiple outputs, you can include additional
writesettings objects in the request. For example, if you want to generate output to
json, you can duplicate the
writesettings object for
csv and change the
format value in the second one to
These settings correspond to values that you can apply through the UI or through the command line interface.
|(required) The fully qualified path to the output location where to write the results|
(required) If the output file or directory exists, you can specify one of the following actions:
(required) Output format for the results. Specify one of the following values:
NOTE: Parquet format requires execution on a Hadoop running environment (
NOTE: To specify multiple output formats, create additional
NOTE: If compression is applied, the filename in the
|(optional) For |
| (optional) For |
|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 identiifer of the job group.|
|jobs.data.id||Internal identifier of the individual job or jobs created as part of this job group.|
This page has no comments.