Skip to main content

getType

client.persistentMemory.getType(id: string): Promise<PersistentMemoryType>

Retrieves a specific persistent memory type by its unique identifier.

Returns the full type definition including its processing steps, configuration, and metadata.

Parameters​

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the persistent memory type

Returns​

Promise<PersistentMemoryType> — A promise that resolves to the persistent memory type definition

Example​

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

const client = new CodeBoltClient();

const result = await client.persistentMemory.getType('id');
console.log(result);