Skip to main content

getPhase

client.roadmap.getPhase(phaseId: string): Promise<RoadmapPhase>

Retrieves a specific roadmap phase by its ID.

Fetches the full details of a single phase including its metadata and associated features.

Parameters

ParameterTypeRequiredDescription
phaseIdstringYesThe unique identifier of the phase

Returns

Promise<RoadmapPhase> — A promise that resolves to the RoadmapPhase object

Example

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

const client = new CodeBoltClient();

const result = await client.roadmap.getPhase('phaseId');
console.log(result);