Skip to main content
GET
/
2
/
config
curl
curl --request GET \
  --url https://ai-personalization.eu.algolia.com/2/config \
  --header 'accept: application/json' \
  --header 'x-algolia-api-key: ALGOLIA_API_KEY' \
  --header 'x-algolia-application-id: ALGOLIA_APPLICATION_ID'
{
  "indices": [
    {
      "index": "<string>",
      "affinities": [
        "<string>"
      ],
      "source": {
        "type": "insights",
        "events": {
          "viewDetails": [
            {
              "type": "view",
              "subtype": "addToCart",
              "name": "<string>"
            }
          ],
          "viewListing": [
            {
              "type": "view",
              "subtype": "addToCart",
              "name": "<string>"
            }
          ],
          "addToCart": [
            {
              "type": "view",
              "subtype": "addToCart",
              "name": "<string>"
            }
          ],
          "purchase": [
            {
              "type": "view",
              "subtype": "addToCart",
              "name": "<string>"
            }
          ]
        }
      },
      "errors": [
        {
          "code": "<string>",
          "index": "<string>",
          "message": "<string>"
        }
      ],
      "warnings": [
        {
          "code": "<string>",
          "index": "<string>",
          "message": "<string>"
        }
      ],
      "lastUpdatedAt": "<string>"
    }
  ],
  "personalizationReRanking": "none",
  "profileType": "basic",
  "status": {
    "type": "pending",
    "errors": [
      "blocked"
    ],
    "lastUpdatedAt": "<string>"
  },
  "features": {
    "realtime": {
      "enabled": true
    }
  }
}
Required ACL: search, browse, 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

indices
configurationObject · object[]
required
profileType
enum<string>
required

The type of user profiles to generate.

Basic profiles are based on past behaviors, ensuring search results align with previous interests.

Available options:
basic
status
object
required
features
object
required
personalizationReRanking
enum<string>

The impact that personalization has on the re-ranking of search results.

Available options:
none,
low,
medium,
high,
maximum
I