Skip to main content

query

client.eventLog.query(data: EventLogQueryRequest): Promise<EventLogEvent[]>

Queries events using filter criteria.

Searches across event log instances to find events matching specific types, time ranges, or other filter conditions.

Parameters

ParameterTypeRequiredDescription
dataEventLogQueryRequestYesQuery parameters specifying filters and sorting

Returns

Promise<EventLogEvent[]> — A promise that resolves to an array of matching objects

Example

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

const client = new CodeBoltClient();

const result = await client.eventLog.query(/* EventLogQueryRequest */);
console.log(result);