Fetch jobs
Changed onReturns a list of job details for a specified tenant. Note that this endpoint does not return raw data fetched in jobs.
Request
- Base URLhttps://api.hotglue.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ID of environment
ID of flow
ID of tenant
Query parameters
Number of jobs to return (sorted chronologically)
Query for scheduled jobs only
For V2 flows, define whether you fetch "read" or "write" type jobs
Pagination key used to fetch additional records. Defaults to page=1
Start date filter (ISO 8601 format)
End date filter (ISO 8601 format)
Include job state in response if true
Include export details in response if true
Ignore jobs with no records processed
Type of sync
Response
200
Example response
[
{
"job_id": "lmaEbA",
"env_id": "dev.example-env.hotglue.xyz",
"job_name": "test_job:_V-vgdlLN",
"tenant": "default",
"started_by": "default",
"flow": "l8odS2mce",
"s3_root": "default/flows/l8odS2mce/jobs/lmaEbA",
"start_time": "2020-12-30T18:01:01.828266+00:00",
"tap": "quickbooks:sandbox",
"status": "ETL_FAILED",
"message": "ETL error...",
"last_updated": "2020-12-30T20:31:00.081282+00:00"
}
]Changes
- warning
added the new
DISCOVER_SUCCESSenum value to the/response property for the response status - warning
added the new
PROVISION_FAILEDenum value to the/response property for the response status
- warning