Skip to main content
Programmatically view, clone, and manage jobs using the commands below.

Jobs Download

Description

Clones a remote job to your local machine, under a new directory with the name of the job_id.

Sample

Parameters

The job root is of the form: tenant_id/flows/flow_id/jobs/2025/01/1/01/01/job_id

Jobs List

Description

Lists jobs across the hotglue environment. You can filter the results by tenant, connector, status, and date range.

Sample

Parameters

Jobs Status

Description

Polls the status of a job using its job root.

Sample

Parameters

Jobs Run

Description

Runs a V1 or V2 job for a tenant.

Sample

To run a V2 job, add --v2 with --connector-id and --job-type:

Parameters

Options that accept objects should be passed as JSON strings.

Jobs Bulk Run

Description

Runs multiple jobs in bulk from a JSON file. The command reads a JSON file containing an array of job configurations, validates each job, checks flow versions, and runs all jobs in parallel. Results are displayed in a table format with a summary of successes and failures.

Sample

Example JSON file format (jobs.json):

Parameters

Jobs Bulk Kill

Description

Kills multiple running jobs in bulk. The command fetches jobs from the last month with statuses JOB_CREATED, SYNC_STARTED, SYNC_SUCCESS, ETL_STARTED, ETL_SUCCESS, or EXPORT_STARTED, optionally filters them by tenant IDs and/or flow IDs, and kills all matching jobs in parallel. Results are displayed in a table format with a summary of successes and failures.

Sample

Parameters

Jobs Bulk Retrigger

Description

Retriggers multiple jobs in bulk from a JSON file containing job roots. The command reads a JSON file containing an array of job root strings, groups them by tenant and flow, and retriggers jobs with parallel processing across groups and sequential processing within each group. For each group, the command waits for a job to complete before retriggering the next job in that group. Results are displayed in a table format with a summary of successes and failures.

Sample

Example JSON file format (jobRoots.json):

Parameters