Menu
Create an analytics event
Create an analytics event
POST
/analytics/eventsUse it in a workflow
- Add a step and choose the Typesense connector.
- Pick the Create an analytics event action (under analytics).
- Fill in the fields below, then reference the result from later steps as
{{createAnAnalyticsEvent.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"name": "string",
"event_type": "string",
"data": {
"user_id": "string",
"doc_id": "string",
"doc_ids": [
"string"
],
"q": "string",
"analytics_tag": "string"
}
}
Response
Returns 200 with an object. Read it in later steps with {{createAnAnalyticsEvent.response.data.<field>}}.
{
"ok": false
}
Need more? See the Typesense guide for connection setup and behaviour shared by every action.
Was this page helpful?