Skip to main content
GET
/
1
/
strategies
/
personalization
curl
curl --request GET \
  --url https://personalization.us.algolia.com/1/strategies/personalization \
  --header 'accept: application/json' \
  --header 'x-algolia-api-key: ALGOLIA_API_KEY' \
  --header 'x-algolia-application-id: ALGOLIA_APPLICATION_ID'
{
  "eventsScoring": [
    {
      "score": 123,
      "eventName": "<string>",
      "eventType": "click"
    }
  ],
  "facetsScoring": [
    {
      "score": 123,
      "facetName": "<string>"
    }
  ],
  "personalizationImpact": 50
}
Required ACL: recommendation

Authorizations

x-algolia-application-id
string
header
required

Your Algolia application ID.

x-algolia-api-key
string
header
required

Your Algolia API key with the necessary permissions to make the request. Permissions are controlled through access control lists (ACL) and access restrictions. The required ACL to make a request is listed in each endpoint's reference.

Response

OK

eventsScoring
object[]
required

Scores associated with each event.

The higher the scores, the higher the impact of those events on the personalization of search results.

facetsScoring
object[]
required

Scores associated with each facet.

The higher the scores, the higher the impact of those events on the personalization of search results.

personalizationImpact
integer
required

Impact of personalization on the search results.

If set to 0, personalization has no impact on the search results.

Required range: 0 <= x <= 100
I