API Reference
List jobs
List jobs
GET /api/jobs
List jobs
Operation ID: listJobs
Authentication
Option 1
- BearerAuth (
http bearer) API key token. Create via POST /api/api-keys. Format:envoy_<hex>
Option 2
- CookieAuth (
apiKey) Session cookie set after login + TOTP verification
Query parameters
cursor—stringPagination cursor from a previous responselimit—integerMaximum number of results to return Example:50- Default:
50 - Maximum: 200
- Default:
sort—stringColumn name to sort by (validated per-entity)order—stringSort direction Example:desc- Allowed values:
asc,desc - Default:
desc
- Allowed values:
q—stringCase-insensitive search across name/description fieldsstatus—string- Allowed values:
active,archived
- Allowed values:
job_template_id—integerFilter by template ID
Success responses
200
Paginated list of jobs
Content type: application/json
- Type:
PaginatedResult & object - All of:
- Variant 1:
- Reference:
PaginatedResult- Type:
object - Properties:
result(array<unknown>)- Items:
- Type:
unknown
- Type:
- Items:
nextCursor(string | null)- Nullable: yes
prevCursor(string | null)- Nullable: yes
total(integer) — Total number of records matching the current filters
- Type:
- Reference:
- Variant 2:
- Type:
object - Properties:
result(array<Job>)- Items:
- Reference:
Job- Type:
object - Properties:
id(integer)job_template_id(integer)name(string)description(string | null)- Nullable: yes
connector_mapping(string) — JSON-encoded map of template connector name to connector IDstatus(string)- Allowed values:
active,archived
- Allowed values:
overridden_task_keys(array<string>) — DAG node keys with a per-job task YAML override. Present on GET detail.- Description: DAG node keys with a per-job task YAML override. Present on GET detail.
- Items:
- Type:
string
- Type:
created_at(string)- Format:
date-time
- Format:
updated_at(string)- Format:
date-time
- Format:
- Type:
- Reference:
- Items:
- Type:
- Variant 1:
Examples
cURL
curl --request GET \
--url 'https://your-envoy.example.com/api/jobs?cursor=YOUR_CURSOR&limit=50' \
--header 'Authorization: Bearer $API_KEY'JavaScript (fetch)
const response = await fetch('https://your-envoy.example.com/api/jobs?cursor=YOUR_CURSOR&limit=50', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = response.status === 204 ? null : await response.json();
console.log(data);