getSteeringSteps
plugin.chatApi.getSteeringSteps(threadId: string): Promise<SteeringStep[]>
Retrieves all steering steps for a thread.
Returns the list of steering instructions that have been added to guide agent behavior in the thread.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
threadId | string | Yes | The unique identifier of the thread |
Returns
Promise<SteeringStep[]> — A promise that resolves to an array of SteeringStep objects
Example
import plugin from '@codebolt/plugin-sdk';
const result = await plugin.chatApi.getSteeringSteps('threadId');
console.log(result);