Skip to main content

getEpisodicEventTypes

client.memory.getEpisodicEventTypes(id: string): Promise<string[]>

Retrieves the distinct event types used in an episodic memory.

Returns the unique set of event type strings present in the memory, useful for building filter UIs or understanding the kinds of events that were recorded.

Parameters

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the episodic memory

Returns

Promise<string[]> — A promise that resolves to an array of event type strings

Example

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

const client = new CodeBoltClient();

const result = await client.memory.getEpisodicEventTypes('id');
console.log(result);