Skip to main content

activatePipeline

client.memoryIngestion.activatePipeline(id: string, data?: Record<string, unknown>): Promise<unknown>

Activates a disabled ingestion pipeline.

Enables the pipeline so it can be triggered by events or manual execution. A pipeline must be activated before it will process any data.

Parameters

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the pipeline to activate
dataRecord<string, unknown>NoOptional activation parameters

Returns

Promise<unknown> — A promise that resolves when the pipeline has been activated

Example

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

const client = new CodeBoltClient();

const result = await client.memoryIngestion.activatePipeline('id');
console.log(result);