Skip to main content

getDetail

client.actionBlocks.getDetail(identifier: string): Promise<ActionBlockDetail>

Retrieves detailed information for a specific action block.

Returns the full configuration, metadata, and current state of the action block identified by the given identifier string.

Parameters

ParameterTypeRequiredDescription
identifierstringYesThe unique identifier or name of the action block

Returns

Promise<ActionBlockDetail> — A promise that resolves to the detailed ActionBlockDetail object

Example

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

const client = new CodeBoltClient();

const result = await client.actionBlocks.getDetail('identifier');
console.log(result);