You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A successful API response means that a task was added to a queue. It might not run immediately. You can check the task's progress with the [`task` operation](#tag/Indices/operation/getTask) and this `taskID`.
9
+
10
+
updatedAt:
11
+
type: string
12
+
example: 2023-07-04T12:49:15Z
13
+
description: Date and time when the object was updated, in RFC 3339 format.
14
+
15
+
recommendUpdatedAtResponse:
16
+
type: object
17
+
description: Response, taskID, and update timestamp.
summary: Create or update a batch of Recommend Rules
8
+
description: |
9
+
Create or update a batch of Recommend Rules
10
+
11
+
Each Recommend Rule is created or updated, depending on whether a Recommend Rule with the same `objectID` already exists.
12
+
You may also specify `true` for `clearExistingRules`, in which case the batch will atomically replace all the existing Recommend Rules.
13
+
14
+
Recommend Rules are similar to Search Rules, except that the conditions and consequences apply to a [source item](/doc/guides/algolia-recommend/overview/#recommend-models) instead of a query. The main differences are the following:
15
+
- Conditions `pattern` and `anchoring` are unavailable.
16
+
- Condition `filters` triggers if the source item matches the specified filters.
17
+
- Condition `filters` accepts numeric filters.
18
+
- Consequence `params` only covers filtering parameters.
19
+
- Consequence `automaticFacetFilters` doesn't require a facet value placeholder (it tries to match the data source item's attributes instead).
0 commit comments