GET
/
api
/
analytics
/
events
/
{event_id}
curl --request GET \
  --url https://api.trieve.ai/api/analytics/events/{event_id} \
  --header 'Authorization: <api-key>' \
  --header 'TR-Dataset: <tr-dataset>'
{
  "created_at": "2021-08-10T00:00:00Z",
  "dataset_id": "00000000-0000-0000-0000-000000000000",
  "event_name": "Viewed Home Page",
  "event_type": "view",
  "is_conversion": true,
  "items": [
    "item1",
    "item2"
  ],
  "metadata": "metadata",
  "request_id": "00000000-0000-0000-0000-000000000000",
  "updated_at": "2021-08-10T00:00:00Z",
  "user_id": "user1"
}

Authorizations

Authorization
string
header
required

Headers

TR-Dataset
string
required

The dataset id or tracking_id to use for the request. We assume you intend to use an id if the value is a valid uuid.

Path Parameters

event_id
string
required

The event id to use for the request

Response

200
application/json
The event for the request

EventData represents a single analytics event