Skip to main content

disablePipeline

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

Disables an active ingestion pipeline.

Prevents the pipeline from being triggered or executed until it is reactivated. Any in-progress executions may continue to completion.

Parameters

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

Returns

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

Example

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

const client = new CodeBoltClient();

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