listJobs()

Signature
client.listJobs(params?: {
  status?: string   // e.g. 'active' | 'paused' | 'dead'
  folder_path?: string // filter jobs in a folder (e.g. '/reports/', '/')
  limit?:  number   // max results (default: 20)
  offset?: number   // pagination offset (default: 0)
  include_http_details?: boolean // include HTTP headers and body from latest job run
}): Promise<JobListResponse>

Parameters#

ParamTypeDefaultDescription
statusstringall statusesFilter by job status: active, paused, or dead
folder_pathstringall foldersFilter jobs by folder path (e.g. /reports/, /)
limitnumber20Maximum number of jobs to return
offsetnumber0Number of jobs to skip for pagination
include_http_detailsbooleanfalseInclude HTTP headers and body from latest job run

Usage#

ts
import { VeloraClient } from '@rimora/velora'
import fetch from 'node-fetch'

const client = new VeloraClient({
  apiKey: process.env.VELORA_API_KEY,
  fetch: fetch as any
})

// List all jobs (first page)
const { jobs, total, limit, offset } = await client.listJobs()
console.log(`${total} total jobs — showing ${jobs.length}`)

// Filter by folder
const reports = await client.listJobs({ folder_path: '/reports/' })

// List root-level jobs
const rootJobs = await client.listJobs({ folder_path: '/' })

// Filter active jobs
const active = await client.listJobs({ status: 'active', limit: 50 })

// Paginate
const page2 = await client.listJobs({ limit: 20, offset: 20 })

Response#

JobListResponse
{
  "jobs": [
    {
      "id": "9f4a1c2b-3d4e-5f6a-7b8c-9d0e1f2a3b4c",
      "name": "Daily digest",
      "status": "active",
      "schedule_cron": "0 9 * * 1-5",
      "next_run_at": "2026-04-07T09:00:00.000Z",
      "webhook_signature_enabled": true
    }
  ],
  "total": 1,
  "limit": 20,
  "offset": 0
}
The webhook_signature_enabled field is always included in job responses. It is set to true when the job has a webhook_secret configured, indicating that Velora will sign outgoing requests with the X-Hub-Signature-256 header.
When include_http_details=true, each job will include an http_details field with headers, body, status_code, and timestamp from the latest job run.

Required scope#

Requires: jobs:read (or jobs:write, admin, *)

Common errors#

StatuserrorCause
401api_key_missing | invalid_api_keyMissing or revoked API key
403insufficient_scopeKey lacks jobs:read scope

© 2026 Velora · API Documentation