Skip to main content

getAll

client.jobs.getAll(params?: JobListFilters): Promise<Job[]>

Lists all jobs, optionally filtered.

Returns every job in the system unless filter parameters are provided to narrow the results by status, group, label, or other criteria.

Parameters

ParameterTypeRequiredDescription
paramsJobListFiltersNoOptional filter and pagination parameters

Returns

Promise<Job[]> — A promise that resolves to an array of objects

Example

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.jobs.getAll();
console.log(result);