Recommendations API

Fetch the recommendations for a user

post

Fetch the recommendations for a user

Authorizations
Body
profileIdstringRequired

Unique identifier of the profile

Example: abcd-1234-abcd-1234
modelIdstringRequired

ID of the model you're using

Example: abcd-1234-abcd-1234
topNintegerRequired

Number of results to retrieve

Example: 10
Responses
200
Fetched recommendations successfully
post
POST /recommendations HTTP/1.1
Host: product-api.userflux.co
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 232

{
  "profileId": "abcd-1234-abcd-1234",
  "modelId": "abcd-1234-abcd-1234",
  "filter": {
    "propertyFilters": [
      {
        "propertyPath": "category",
        "operator": "EQUALS",
        "value": "business"
      }
    ],
    "geoFilter": {
      "type": "PROFILE_LOCATION",
      "distance": 25000
    }
  },
  "topN": 10
}

No content

Last updated