Menu
Upserts an analytics rule
Upserts an analytics rule
PUT
/analytics/rules/{ruleName}Use it in a workflow
- Add a step and choose the Typesense connector.
- Pick the Upserts an analytics rule action (under analytics).
- Fill in the fields below, then reference the result from later steps as
{{upsertsAnAnalyticsRule.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"name": "string",
"rule_tag": "string",
"params": {
"destination_collection": "string",
"limit": 0,
"capture_search_requests": false,
"meta_fields": [
"string"
],
"expand_query": false,
"counter_field": "string",
"weight": 0
}
}
Response
Returns 200 with a any. Read it in later steps with {{upsertsAnAnalyticsRule.response.data.<field>}}.
Need more? See the Typesense guide for connection setup and behaviour shared by every action.
Was this page helpful?