---
title: "Fetch jobs"
method: GET
path: "/{env_id}/{flow_id}/{tenant}/jobs"
---

# Fetch jobs

`GET /{env_id}/{flow_id}/{tenant}/jobs`

Returns a list of job details for a specified tenant. Note that this endpoint does not return raw data fetched in jobs.

## Path parameters

- `env_id` string, required
- `flow_id` string, required
- `tenant` string, required

## Query parameters

- `count` integer
- `scheduled` boolean
- `job_type` 'read' | 'write'
- `page` integer
- `from` string, date
- `to` string, date
- `include_state` boolean
- `include_export_details` boolean
- `ignore_empty_jobs` boolean
- `sync_type` 'incremental_sync' | 'auto_sync' | 'full_sync' | 'real_time_sync'

## Response `200`

200

- object[]
  - `job_id` string
  - `env_id` string
  - `job_name` string
  - `tenant` string
  - `started_by` string
  - `flow` string
  - `s3_root` string
  - `start_time` string
  - `state` object
  - `tap` string
  - `status` 'JOB_CREATED' | 'DISCOVER_STARTED' | 'DISCOVER_FAILED' | 'SYNC_STARTED' | 'SYNC_FAILED' | 'SYNC_SUCCESS' | 'ETL_STARTED' | 'ETL_FAILED' | 'ETL_SUCCESS' | 'EXPORT_STARTED' | 'EXPORT_FAILED' | 'JOB_COMPLETED'
  - `message` string
  - `last_updated` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/hotglue/apis/hotglue-api.md) · [All operations](https://skmtc.net/hotglue/apis/hotglue-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hotglue/hotglue-api/revisions/ec83efeae3d5/schema)
