POST /1/strategies/personalization
Creates a new personalization strategy.
Servers
- https://personalization.{region}.algolia.com
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
eventsScoring[] |
Array | Yes |
Scores associated with each event. The higher the scores, the higher the impact of those events on the personalization of search results. |
eventsScoring[].score |
Integer | Yes |
Event score. |
eventsScoring[].eventName |
String | Yes |
Event name. |
eventsScoring[].eventType |
String | Yes |
Event type. Possible values:
|
facetsScoring[] |
Array | Yes |
Scores associated with each facet. The higher the scores, the higher the impact of those events on the personalization of search results. |
facetsScoring[].score |
Integer | Yes |
Event score. |
facetsScoring[].facetName |
String | Yes |
Facet attribute name. |
personalizationImpact |
Integer | Yes |
Impact of personalization on the search results. If set to 0, personalization has no impact on the search results. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.