Skip to main content

getInstance

client.eventLog.getInstance(id: string): Promise<EventLogInstance>

Retrieves a specific event log instance by its ID.

Returns the full details of a single event log instance including its metadata and configuration.

Parameters

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the event log instance

Returns

Promise<EventLogInstance> — A promise that resolves to the

Example

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

const client = new CodeBoltClient();

const result = await client.eventLog.getInstance('id');
console.log(result);