Skip to main content

get

client.jobs.get(id: string): Promise<Job>

Retrieves a specific job by its ID.

Returns the full details of a single job including its status, dependencies, labels, and pheromones.

Parameters

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the job

Returns

Promise<Job> — A promise that resolves to the

Example

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

const client = new CodeBoltClient();

const result = await client.jobs.get('id');
console.log(result);