Github
  • Preparing search index...
  • The search index is not available
Trieve Typescript SDK - v0.0.97
  • Trieve Typescript SDK
  • Analytics Methods
  • getAllAnalyticsEvents

Function getAllAnalyticsEvents

  • getAllAnalyticsEvents(data, signal?): Promise<GetEventsResponseBody>
  • Function that allows you to view the CTR analytics for a dataset.

    Example:

    const data = await trieve.getAllAnalyticsEvents({
    filter: {
    "date_range": {
    "gt": "2021-08-10T00:00:00Z",
    "lt": "2021-08-11T00:00:00Z"
    },
    "event_type": "view",
    "is_conversion": true,
    "metadata_filter": "path = \"value\"",
    "user_id": "user1"
    },
    });

    Parameters

    • data: GetEventsRequestBody
    • Optionalsignal: AbortSignal

    Returns Promise<GetEventsResponseBody>

    • Defined in clients/ts-sdk/src/functions/analytics/index.ts:449

Settings

Member Visibility
Github
Trieve Typescript SDK - v0.0.97
  • Loading...

Generated using TypeDoc

Please reach out if you'd like assistance; we are responsive! Contact humans@trieve.ai or see trieve.ai for links to Discord and Matrix.