Skip to main content

getStatistics

client.threadSteps.getStatistics(threadId: string): Promise<StepStatistics>

Get step statistics for a thread

Parameters

ParameterTypeRequiredDescription
threadIdstringYes

Returns

Promise<StepStatistics>

Example

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

const client = new CodeBoltClient();

const result = await client.threadSteps.getStatistics('threadId');
console.log(result);