Skip to main content

getTasks

client.chat.getTasks(): Promise<unknown[]>

Retrieves all chat tasks.

Returns the list of tasks that have been created through the chat system.

Parameters

No parameters.

Returns

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

Example

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

const client = new CodeBoltClient();

const result = await client.chat.getTasks();
console.log(result);