{{recommender-api-url}}/application?version=v3.0&query={search term}&take=10&skip=0
This endpoint retrieves applications based on the specified search term, and pagination parameters.
version | v3.0 | (Optional) The API version |
query | {search term} | (Optional) Search Term |
take | 10 | (Optional) Number of results returned - Default = '10' |
skip | 0 | (Optional) Number of results to skip - Default = '0' |
curl -X GET "{{recommender-api-url}}/application?version=v3.0&query={search term}&take=10&skip=0"
GET %7B%7Brecommender-api-url%7D%7D/application?version=v3.0&query={search term}&take=10&skip=0 HTTP/1.1
Host:
{{recommender-api-url}}/application/model-accuracy?version=v3.0&application_id=25
This endpoint retrieves the model accuracy for a specific application.
version | v3.0 | (Optional) The API version |
application_id | 25 | (Optional) The Application ID - Will use Token application if this is empty |
curl -X GET "{{recommender-api-url}}/application/model-accuracy?version=v3.0&application_id=25"
GET %7B%7Brecommender-api-url%7D%7D/application/model-accuracy?version=v3.0&application_id=25 HTTP/1.1
Host:
{{recommender-api-url}}/application/info?version=v3.0
This endpoint retrieves information about the application stored in the JWT token.
version | v3.0 | (Optional) The API version |
curl -X GET "{{recommender-api-url}}/application/info?version=v3.0"
GET %7B%7Brecommender-api-url%7D%7D/application/info?version=v3.0 HTTP/1.1
Host:
{{recommender-api-url}}/register?version=v3.0
urlencoded
This endpoint is used to register a new user.
Content-Type | application/x-www-form-urlencoded |
version | v3.0 | The API version (optional) |
first_name | John | (Required) First Name of the user |
last_name | Doe | (Required) Last Name of the user |
johndoe@gmail.com | (Required) Email address of te user | |
password | 098f6bcd4621d373cade4e832627b4f6 | (Required) MD5 encrypted string of your password |
retype_password | 098f6bcd4621d373cade4e832627b4f6 | (Required) MD5 encrypted string of your password |
organization | Example Organization | (Required) Organization |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Content-Type: application/x-www-form-urlencoded" -d "first_name=John&last_name=Doe&email=johndoe@gmail.com&password=098f6bcd4621d373cade4e832627b4f6&retype_password=098f6bcd4621d373cade4e832627b4f6&organization=Example Organization" "{{recommender-api-url}}/register?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/register?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
Content-Type: application/x-www-form-urlencoded
first_name=John&last_name=Doe&email=johndoe@gmail.com&password=098f6bcd4621d373cade4e832627b4f6&retype_password=098f6bcd4621d373cade4e832627b4f6&organization=Example Organization
Status | 401 Unauthorized |
---|---|
Content-Type | application/json |
|
Status | 200 OK |
---|---|
Content-Type | application/json |
|
Status | 0 |
---|
{{recommender-api-url}}/login?version=v3.0
urlencoded
This endpoint is used to log in a user.
Content-Type | application/x-www-form-urlencoded |
version | v3.0 | (Optional) The API version |
username | johndoe123@gmail.com | (Required) User email address |
password | 098f6bcd4621d373cade4e832627b4f6 | (Required) MD5 generated string of the user's password |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Content-Type: application/x-www-form-urlencoded" -d "username=johndoe123@gmail.com&password=098f6bcd4621d373cade4e832627b4f6" "{{recommender-api-url}}/login?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/login?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
Content-Type: application/x-www-form-urlencoded
username=johndoe123@gmail.com&password=098f6bcd4621d373cade4e832627b4f6
Status | 401 Unauthorized |
---|---|
Content-Type | application/json |
|
Status | 200 OK |
---|---|
Content-Type | application/json |
|
{{recommender-api-url}}/auth2fa?version=v3.0
urlencoded
This endpoint is used to send the 2FA code to the API to authenticate the user trying to log in.
Content-Type | application/x-www-form-urlencoded |
version | v3.0 | (Optional) The API version |
verification_code | {verification_code} | (Required) The verification code sent to your email |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Content-Type: application/x-www-form-urlencoded" -d "verification_code={verification_code}" "{{recommender-api-url}}/auth2fa?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/auth2fa?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
Content-Type: application/x-www-form-urlencoded
verification_code={verification_code}
Status | 400 Bad Request |
---|---|
Content-Type | application/json |
|
{{recommender-api-url}}/auth2fa/resend?version=v3.0
urlencoded
Content-Type | application/x-www-form-urlencoded |
version | v3.0 | (Optional) The API version |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Content-Type: application/x-www-form-urlencoded" "{{recommender-api-url}}/auth2fa/resend?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/auth2fa/resend?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
Status | 400 Bad Request |
---|---|
Content-Type | application/json |
|
{{recommender-api-url}}/verify?version=v3.0
urlencoded
Content-Type | application/x-www-form-urlencoded |
version | v3.0 | The API version (optional) |
activation_code | {activation_code} | (Required) Activation code sent to users email |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Content-Type: application/x-www-form-urlencoded" -d "activation_code={activation_code}" "{{recommender-api-url}}/verify?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/verify?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
Content-Type: application/x-www-form-urlencoded
activation_code={activation_code}
{{recommender-api-url}}/verify/resend?version=v3.0
urlencoded
Content-Type | application/x-www-form-urlencoded |
version | v3.0 | The API version (optional) |
johndoe123@gmail.com | (Required) Email to verify |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Content-Type: application/x-www-form-urlencoded" -d "email=johndoe123@gmail.com" "{{recommender-api-url}}/verify/resend?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/verify/resend?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
Content-Type: application/x-www-form-urlencoded
email=johndoe123@gmail.com
{{recommender-api-url}}/reset/password?version=v3.0
urlencoded
Content-Type | application/x-www-form-urlencoded |
version | v3.0 | (Optional) The API version |
johndoe@example.com | (Required) Email of the user |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Content-Type: application/x-www-form-urlencoded" -d "email=johndoe@example.com" "{{recommender-api-url}}/reset/password?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/reset/password?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
Content-Type: application/x-www-form-urlencoded
email=johndoe@example.com
{{recommender-api-url}}/reset/change?version=v3.0
urlencoded
Content-Type | application/json |
version | v3.0 | (Optional) The API version |
password | 5a105e8b9d40e1329780d62ea2265d8a | (Required) Users new password |
token | {{reset-password-jwt-token}} | (Required) The JWT token from the users email |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Content-Type: application/json" -d "password=5a105e8b9d40e1329780d62ea2265d8a&token={{reset-password-jwt-token}}" "{{recommender-api-url}}/reset/change?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/reset/change?version=v3.0 HTTP/1.1
Host:
Content-Type: application/json
Content-Type: application/x-www-form-urlencoded
password=5a105e8b9d40e1329780d62ea2265d8a&token={{reset-password-jwt-token}}
{{recommender-api-url}}/validate?version=v3.0
raw
Validates the Bearer token sent in the request header.
Authorization | Bearer {{recommender_api_jwt}} | |
Content-Type | application/x-www-form-urlencoded |
version | v3.0 | (Optional) The API version |
curl -X POST -H "Authorization: Bearer {{recommender_api_jwt}}" -H "Content-Type: application/x-www-form-urlencoded" "{{recommender-api-url}}/validate?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/validate?version=v3.0 HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
Content-Type: application/x-www-form-urlencoded
{{recommender-api-url}}/refresh?version=v3.0
raw
Refresh the Bearer token sent in the request header.
Authorization | Bearer {{recommender_api_jwt}} | |
Content-Type | application/x-www-form-urlencoded |
version | v3.0 | (Optional) The API version |
curl -X POST -H "Authorization: Bearer {{recommender_api_jwt}}" -H "Content-Type: application/x-www-form-urlencoded" "{{recommender-api-url}}/refresh?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/refresh?version=v3.0 HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
Content-Type: application/x-www-form-urlencoded
{{recommender-api-url}}/billing/info?version=v3.0
formdata
version | v3.0 |
company | Example Company | (Required) Company name |
contact_first_name | John | (Required) Billing First Name |
contact_last_name | Doe | (Required) Billing Last Name |
contact_phone_country_code | +27 | (Optional) |
contact_phone_number | 123456789 | (Optional) |
address_1st_line | Address Line 1 | (Optional) |
address_2nd_line | Address Line 2 | (Optional) |
address_3rd_line | Address Line 3 | (Optional) |
country | South Africa | (Optional) |
billing@company.co.za | (Optional) |
curl -X POST "{{recommender-api-url}}/billing/info?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/billing/info?version=v3.0 HTTP/1.1
Host:
{{recommender-api-url}}/billing/quotation?version=v3.0
formdata
version | v3.0 |
recommendations | 100 | Number of recommendations |
active_users | 100 | Number of active users |
data_size | 100mb | Total size of your data |
curl -X POST "{{recommender-api-url}}/billing/quotation?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/billing/quotation?version=v3.0 HTTP/1.1
Host:
{{recommender-api-url}}/billing/query?version=v3.0&date=2018-05-21&page=1&size=2
Returns info about query transactions for a day.
Type | Results Index | Example |
---|---|---|
Query Id | query | 29408 |
Username | username | johndoe@example.com |
Transaction Status | status | success |
Time of Transaction | time | 2020-07-03 10:27:15 |
version | v3.0 | (Optional) The API version |
date | 2018-05-21 | (Required) Date. Format is "year-month-day". E.g. "2020-04-20" |
page | 1 | (Optional) Results page number/index |
size | 2 | (Optional) Number of results returned |
curl -X GET "{{recommender-api-url}}/billing/query?version=v3.0&date=2018-05-21&page=1&size=2"
GET %7B%7Brecommender-api-url%7D%7D/billing/query?version=v3.0&date=2018-05-21&page=1&size=2 HTTP/1.1
Host:
Status | 200 OK |
---|---|
Content-Type | application/json |
|
{{recommender-api-url}}/billing/statement?version=v3.0&start_date=2022-08-01&end_date=2022-08-25
Returns statement based on filters
version | v3.0 | (Optional) The API version |
start_date | 2022-08-01 | (Required) Start date of statement query. Format is "year-month-day". E.g. "2020-04-20" |
end_date | 2022-08-25 | (Required) End date of statement query. Format is "year-month-day". E.g. "2020-04-20" |
curl -X GET "{{recommender-api-url}}/billing/statement?version=v3.0&start_date=2022-08-01&end_date=2022-08-25"
GET %7B%7Brecommender-api-url%7D%7D/billing/statement?version=v3.0&start_date=2022-08-01&end_date=2022-08-25 HTTP/1.1
Host:
Status | 200 OK |
---|---|
Content-Type | application/json |
|
{{recommender-api-url}}/billing/stats?version=v3.0&start_date=2018-05-01&end_date=2018-05-03
Returns usage stats of current month
version | v3.0 | (Optional) The API version |
start_date | 2018-05-01 | (Required) Start date of stats query. Format is "year-month-day". E.g. "2020-04-20" |
end_date | 2018-05-03 | (Required) End date of stats query. Format is "year-month-day". E.g. "2020-04-20" |
curl -X GET "{{recommender-api-url}}/billing/stats?version=v3.0&start_date=2018-05-01&end_date=2018-05-03"
GET %7B%7Brecommender-api-url%7D%7D/billing/stats?version=v3.0&start_date=2018-05-01&end_date=2018-05-03 HTTP/1.1
Host:
Status | 200 OK |
---|---|
Content-Type | application/json |
|
{{recommender-api-url}}/billing?version=v3.0
version | v3.0 |
curl -X GET "{{recommender-api-url}}/billing?version=v3.0"
GET %7B%7Brecommender-api-url%7D%7D/billing?version=v3.0 HTTP/1.1
Host:
{{recommender-api-url}}/billing/selected-plan?version=v3.0
version | v3.0 |
curl -X GET "{{recommender-api-url}}/billing/selected-plan?version=v3.0"
GET %7B%7Brecommender-api-url%7D%7D/billing/selected-plan?version=v3.0 HTTP/1.1
Host:
{{recommender-api-url}}/billing/plans?version=v3.0
formdata
version | v3.0 |
curl -X GET "{{recommender-api-url}}/billing/plans?version=v3.0"
GET %7B%7Brecommender-api-url%7D%7D/billing/plans?version=v3.0 HTTP/1.1
Host:
{{recommender-api-url}}/billing/account-statement?version=v3.0
formdata
version | v3.0 |
curl -X GET "{{recommender-api-url}}/billing/account-statement?version=v3.0"
GET %7B%7Brecommender-api-url%7D%7D/billing/account-statement?version=v3.0 HTTP/1.1
Host:
{{recommender-api-url}}/charts/kpi-data?version=v3.0&kpi={{kpi}}&format=absolute&group_by={{kpi_group_by}}&interval_type={{kpi_interval_type}}&start_date={{kpi_start_date}}&end_date={{kpi_end_date}}&overlays[]={{overlays_1}}&item_segments[]={{kpi_item_segments_1}}&item_segments[]={{kpi_item_segments_2}}&skip={{skip}}&take={{take}}
version | v3.0 | (Optional) The API version |
kpi | {{kpi}} | (Required) KPI of the graph. 'sales' | 'profit' | 'profit_margin' | 'quantity' | 'transactions' | 'average_transaction' | 'units_per_transaction' or ['sales', 'profit'] |
key[] | profit | (Optional) Sum for KPI. ['sales', 'profit'] |
format | absolute | (Required) Format of the graph. 'absolute'|'perc_share'|'yoy'|'yoy_lfl' |
group_by | {{kpi_group_by}} | (Required) Grouping of the graph. 'item_segment'|'user_segment'|'location_segment'|'category_hierarchy'|'location_hierarchy'|'campaigns'|'date'|'widget'|'kpi'|'locations'|'categories' |
interval_type | {{kpi_interval_type}} | (Required) Interval Type Used. 'monthly' | 'quarterly' | 'yearly' | 'weekly'|'custom'|'daily' |
start_date | {{kpi_start_date}} | (Optional) Time interval in year '2016' | year + month number '201608' | year + quarter number '20162' | year + week number '201622' | year + month number + day number '20170410' |
end_date | {{kpi_end_date}} | (Optional) Time interval in year '2016' | year + month number '201608' | year + quarter number '20162' | year + week number '201622' | year + month number + day number '20170410' |
value_ids[] | {{value_ids}} | (Optional) Value Ids array |
overlays[] | {{overlays_1}} | (Optional) Campaign Ids array to overlay if / when campaigns ran in a period |
campaign_ids[] | 5 | (Optional) Campaign Ids array |
location_ids[] | {{location_ids}} | (Optional) Location Ids array |
location_ids[] | 895 | (Optional) Location Ids array |
item_segments[] | {{kpi_item_segments_1}} | (Optional) Item Segments array |
item_segments[] | {{kpi_item_segments_2}} | (Optional) Item Segments array |
user_segments[] | {{kpi_user_segments_1}} | (Optional) User Segments array |
user_segments[] | {{kpi_user_segments_2}} | (Optional) User Segments array |
location_segments[] | 1 | (Optional) Location Segments array |
widget_type | {{widget_type}} | (Optional) Grouping by widget type. 'campaigns' | 'locations' | 'categories' |'user_segments' | 'item_segments' | 'location_segments' |
skip | {{skip}} | (Optional) Number of results to skip |
take | {{take}} | (Optional) Number of results returned - Default = '10' |
curl -X GET "{{recommender-api-url}}/charts/kpi-data?version=v3.0&kpi={{kpi}}&format=absolute&group_by={{kpi_group_by}}&interval_type={{kpi_interval_type}}&start_date={{kpi_start_date}}&end_date={{kpi_end_date}}&overlays[]={{overlays_1}}&item_segments[]={{kpi_item_segments_1}}&item_segments[]={{kpi_item_segments_2}}&skip={{skip}}&take={{take}}"
GET %7B%7Brecommender-api-url%7D%7D/charts/kpi-data?version=v3.0&kpi={{kpi}}&format=absolute&group_by={{kpi_group_by}}&interval_type={{kpi_interval_type}}&start_date={{kpi_start_date}}&end_date={{kpi_end_date}}&overlays[]={{overlays_1}}&item_segments[]={{kpi_item_segments_1}}&item_segments[]={{kpi_item_segments_2}}&skip={{skip}}&take={{take}} HTTP/1.1
Host:
Status | 200 OK |
---|---|
Content-Type | application/json |
|
{{recommender-api-url}}/charts/kpi-compare/?version=v3.0&kpi=sales&group_by=item_segment&interval_type=yearly&start_date=2012&end_date=2015&intervals[]=1&intervals[]=2&user_segments[]=2&user_segments[]=6&item_segments[]=2&item_segments[]=4&location_segments[]=1&compare_type=lfl&widget_type=item_segments
version | v3.0 | |
kpi | sales | (Required) KPI of the graph. 'sales' | 'profit' | 'profit_margin' | 'quantity' or ['sales', 'profit'] |
group_by | item_segment | (Required) Grouping of the graph. 'item_segment'|'user_segment'|'location_segment'|'campaigns'| 'locations'| 'categories'|'date'|'widget' |
interval_type | yearly | (Required) Interval Type Used. 'monthly' | 'quarterly' | 'yearly' | 'weekly' |
start_date | 2012 | (Optional) Time interval in year '2016' |
end_date | 2015 | (Optional) Time interval in year '2016' |
intervals[] | 1 | (Optional) Intervals array. Quarter number [1 - 4], month number [1 -12], week number [1- 53] |
intervals[] | 2 | |
user_segments[] | 2 | (Optional) User Segments array |
user_segments[] | 6 | |
item_segments[] | 2 | (Optional) Item Segments array |
item_segments[] | 4 | |
location_segments[] | 1 | (Optional) Location Segments array |
compare_type | lfl | (Optional) Compare Type. 'lfl' | 'yoy' |
widget_type | item_segments | (Optional) Grouping by widget type. 'campaigns' | 'locations' | 'categories' |'user_segments' | 'item_segments' |
curl -X GET "{{recommender-api-url}}/charts/kpi-compare/?version=v3.0&kpi=sales&group_by=item_segment&interval_type=yearly&start_date=2012&end_date=2015&intervals[]=1&intervals[]=2&user_segments[]=2&user_segments[]=6&item_segments[]=2&item_segments[]=4&location_segments[]=1&compare_type=lfl&widget_type=item_segments"
GET %7B%7Brecommender-api-url%7D%7D/charts/kpi-compare/?version=v3.0&kpi=sales&group_by=item_segment&interval_type=yearly&start_date=2012&end_date=2015&intervals[]=1&intervals[]=2&user_segments[]=2&user_segments[]=6&item_segments[]=2&item_segments[]=4&location_segments[]=1&compare_type=lfl&widget_type=item_segments HTTP/1.1
Host:
{{recommender-api-url}}/charts/demand-forecasts?version=v3.0&interval_type=weekly&start_date=201806&end_date=201810&location_ids[]=112&group_by=widget&widget_type=categories
version | v3.0 | (Optional) The API version |
interval_type | weekly | (Required) Interval Type Used. 'monthly' | 'quarterly' | 'yearly' | 'weekly'|'custom' |
start_date | 201806 | (Optional) Time interval in year '2016' | year + month number '201608' | year + quarter number '20162' | year + week number '201622' |
end_date | 201810 | (Optional) Time interval in year '2016' | year + month number '201608' | year + quarter number '20162' | year + week number '201622' |
value_ids[] | 281305 | (Optional) Value Ids array |
campaign_ids[] | 5 | (Optional) Campaign Ids array |
location_ids[] | 112 | (Optional) Location Ids array |
location_ids[] | 895 | (Optional) Location Ids array |
item_segments[] | 11 | (Optional) Item Segments array |
item_segments[] | 10 | (Optional) Item Segments array |
user_segments[] | 2 | (Optional) User Segments array |
user_segments[] | 3 | (Optional) User Segments array |
location_segments[] | 1 | (Optional) Location Segments array |
group_by | widget | |
widget_type | categories | |
value_ids[] | 260335 |
curl -X GET "{{recommender-api-url}}/charts/demand-forecasts?version=v3.0&interval_type=weekly&start_date=201806&end_date=201810&location_ids[]=112&group_by=widget&widget_type=categories"
GET %7B%7Brecommender-api-url%7D%7D/charts/demand-forecasts?version=v3.0&interval_type=weekly&start_date=201806&end_date=201810&location_ids[]=112&group_by=widget&widget_type=categories HTTP/1.1
Host:
Status | 200 OK |
---|---|
Content-Type | application/json |
|
{{recommender-api-url}}/info/clusters?version=v3.0&type=user&take=40&skip=0
version | v3.0 | (Optional) The API version |
type | user | (Required) Cluster type |
take | 40 | (Optional) Number of results returned - Default = '10' |
skip | 0 | (Optional) Number of results to skip - Default = '0' |
curl -X GET "{{recommender-api-url}}/info/clusters?version=v3.0&type=user&take=40&skip=0"
GET %7B%7Brecommender-api-url%7D%7D/info/clusters?version=v3.0&type=user&take=40&skip=0 HTTP/1.1
Host:
Status | 200 OK |
---|---|
Content-Type | application/json |
|
{{recommender-api-url}}/info/clusters?version=v3.0&type=item&take=40&skip=0
version | v3.0 | (Optional) The API version |
type | item | (Required) Cluster Type |
take | 40 | (Optional) Number of results returned - Default = '10' |
skip | 0 | (Optional) Number of results to skip - Default = '0' |
curl -X GET "{{recommender-api-url}}/info/clusters?version=v3.0&type=item&take=40&skip=0"
GET %7B%7Brecommender-api-url%7D%7D/info/clusters?version=v3.0&type=item&take=40&skip=0 HTTP/1.1
Host:
{{recommender-api-url}}/info/activeUsers?version=v3.0&cluster_type=user&cluster=7&order=desc&take=10&skip=0
Returns cluster interactions based on filters
version | v3.0 | (Optional) The API version |
cluster_type | user | |
cluster | 7 | |
order | desc | |
take | 10 | |
skip | 0 |
curl -X GET "{{recommender-api-url}}/info/activeUsers?version=v3.0&cluster_type=user&cluster=7&order=desc&take=10&skip=0"
GET %7B%7Brecommender-api-url%7D%7D/info/activeUsers?version=v3.0&cluster_type=user&cluster=7&order=desc&take=10&skip=0 HTTP/1.1
Host:
{{recommender-api-url}}/chatgpt?version=v3.0&session_id={session_id}
version | v3.0 | (Optional) The API version |
session_id | {session_id} | (Required) Fetch chat session history for this session_id |
curl -X GET "{{recommender-api-url}}/chatgpt?version=v3.0&session_id={session_id}"
GET %7B%7Brecommender-api-url%7D%7D/chatgpt?version=v3.0&session_id={session_id} HTTP/1.1
Host:
{{recommender-api-url}}/ask-ai?version=v3.0
Lists all active charts for clusters
version | v3.0 |
curl -X GET "{{recommender-api-url}}/ask-ai?version=v3.0"
GET %7B%7Brecommender-api-url%7D%7D/ask-ai?version=v3.0 HTTP/1.1
Host:
{{recommender-api-url}}/chatgpt/sessions?version=v3.0
version | v3.0 |
curl -X GET "{{recommender-api-url}}/chatgpt/sessions?version=v3.0"
GET %7B%7Brecommender-api-url%7D%7D/chatgpt/sessions?version=v3.0 HTTP/1.1
Host:
{{recommender-api-url}}/chatgpt/chat-completion?version=v3.0
urlencoded
Lists all active charts for clusters
version | v3.0 |
message | which categories underperformed for item segment 1 in 2016 | Why did item category G 1076 SCH APPAREL AND BAGS underperform? |
session_id | {session_id} | |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "message=which categories underperformed for item segment 1 in 2016&session_id=test11223414&=" "{{recommender-api-url}}/chatgpt/chat-completion?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/chatgpt/chat-completion?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
message=which categories underperformed for item segment 1 in 2016&session_id=test11223414&=
Status | 200 OK |
---|---|
Content-Type | application/json |
{{recommender-api-url}}/chatgpt/delete?version=v3.0
urlencoded
version | v3.0 |
chatgpt_session_id | 1 |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "chatgpt_session_id=1" "{{recommender-api-url}}/chatgpt/delete?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/chatgpt/delete?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
chatgpt_session_id=1
{{recommender-api-url}}/chatgpt/update-session-name?version=v3.0
urlencoded
version | v3.0 |
chatgpt_session_id | 1 | |
session_name | New Session Name |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "chatgpt_session_id=1&session_name=New Session Name" "{{recommender-api-url}}/chatgpt/update-session-name?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/chatgpt/update-session-name?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
chatgpt_session_id=1&session_name=New Session Name
{{recommender-api-url}}/info/interactions/?version=v3.0&type=item&id=517&take=10&skip=0
Returns user interactions based on filters
version | v3.0 | (Optional) The API version |
type | item | (Required) ID type - item|user |
id | 517 | (Required) User|Item Id |
query | quantity | (Optional) Interactions type query. |
take | 10 | (Optional) Number of results returned - Default = '10' |
skip | 0 | (Optional) Number of results to skip - Default = '0' |
curl -X GET "{{recommender-api-url}}/info/interactions/?version=v3.0&type=item&id=517&take=10&skip=0"
GET %7B%7Brecommender-api-url%7D%7D/info/interactions/?version=v3.0&type=item&id=517&take=10&skip=0 HTTP/1.1
Host:
{{recommender-api-url}}/info/interactions/?version=v3.0&type=user&id=1001&take=10&skip=0
Returns user interactions based on filters
version | v3.0 | (Optional) The API version |
type | user | (Required) ID type - item|user |
id | 1001 | (Required) User|Item Id |
query | quantity | (Optional) Interactions type query. |
take | 10 | (Optional) Number of results returned - Default = '10' |
skip | 0 | (Optional) Number of results to skip - Default = '0' |
curl -X GET "{{recommender-api-url}}/info/interactions/?version=v3.0&type=user&id=1001&take=10&skip=0"
GET %7B%7Brecommender-api-url%7D%7D/info/interactions/?version=v3.0&type=user&id=1001&take=10&skip=0 HTTP/1.1
Host:
{{recommender-api-url}}/info/get-cluster-interactions/?version=v3.0&type=cluster&cluster_type=item&cluster=1&field=quantity&order=desc&take=10&skip=0&difference=absolute
Returns user interactions based on filters
version | v3.0 | |
type | cluster | (Required) ID type - item|user |
cluster_type | item | |
cluster | 1 | |
field | quantity | |
order | desc | |
take | 10 | (Optional) Number of results returned - Default = '10' |
skip | 0 | (Optional) Number of results to skip - Default = '0' |
query | quantity | (Optional) Interactions type query. |
difference | absolute |
curl -X GET "{{recommender-api-url}}/info/get-cluster-interactions/?version=v3.0&type=cluster&cluster_type=item&cluster=1&field=quantity&order=desc&take=10&skip=0&difference=absolute"
GET %7B%7Brecommender-api-url%7D%7D/info/get-cluster-interactions/?version=v3.0&type=cluster&cluster_type=item&cluster=1&field=quantity&order=desc&take=10&skip=0&difference=absolute HTTP/1.1
Host:
{{recommender-api-url}}/info/get-cluster-interactions/?version=v3.0&type=cluster&cluster_type=user&cluster=1&field=quantity&order=desc&take=10&skip=0&difference=absolute
Returns user interactions based on filters
version | v3.0 | |
type | cluster | (Required) ID type - item|user |
cluster_type | user | |
cluster | 1 | |
field | quantity | |
order | desc | |
take | 10 | (Optional) Number of results returned - Default = '10' |
skip | 0 | (Optional) Number of results to skip - Default = '0' |
query | quantity | (Optional) Interactions type query. |
difference | absolute |
curl -X GET "{{recommender-api-url}}/info/get-cluster-interactions/?version=v3.0&type=cluster&cluster_type=user&cluster=1&field=quantity&order=desc&take=10&skip=0&difference=absolute"
GET %7B%7Brecommender-api-url%7D%7D/info/get-cluster-interactions/?version=v3.0&type=cluster&cluster_type=user&cluster=1&field=quantity&order=desc&take=10&skip=0&difference=absolute HTTP/1.1
Host:
{{recommender-api-url}}/interactions/active-users-in-period?version=v3.0&start_date={{interactions_start_date}}&end_date={{interactions_end_date}}&location_ids[]={{interactions_location_ids}}
version | v3.0 | |
start_date | {{interactions_start_date}} | (Required-Chart Specific) Query start date. "yyyy-mm-dd" |
end_date | {{interactions_end_date}} | (Required-Chart Specific) Query end date. "yyyy-mm-dd" |
location_ids[] | {{interactions_location_ids}} | (Optionnal) Location Ids array |
location_ids[] | 119 | (Optionnal) Location Ids array |
user_ids[] | 10555570 | (Optional) User Ids array |
user_ids[] | 1637630 | (Optional) User Ids array |
curl -X GET "{{recommender-api-url}}/interactions/active-users-in-period?version=v3.0&start_date={{interactions_start_date}}&end_date={{interactions_end_date}}&location_ids[]={{interactions_location_ids}}"
GET %7B%7Brecommender-api-url%7D%7D/interactions/active-users-in-period?version=v3.0&start_date={{interactions_start_date}}&end_date={{interactions_end_date}}&location_ids[]={{interactions_location_ids}} HTTP/1.1
Host:
{{recommender-api-url}}/interactions/user-average-spend?version=v3.0&start_date={{interactions_start_date}}&end_date={{interactions_end_date}}&location_ids[]={{interactions_location_ids}}
version | v3.0 | |
start_date | {{interactions_start_date}} | (Required-Chart Specific) Query start date. "yyyy-mm-dd" |
end_date | {{interactions_end_date}} | (Required-Chart Specific) Query start date. "yyyy-mm-dd" |
location_ids[] | {{interactions_location_ids}} | (Optionnal) Location Ids array |
location_ids[] | 119 | (Optionnal) Location Ids array |
user_ids[] | 10555570 | (Optional) User Ids array |
user_ids[] | 1637630 | (Optional) User Ids array |
curl -X GET "{{recommender-api-url}}/interactions/user-average-spend?version=v3.0&start_date={{interactions_start_date}}&end_date={{interactions_end_date}}&location_ids[]={{interactions_location_ids}}"
GET %7B%7Brecommender-api-url%7D%7D/interactions/user-average-spend?version=v3.0&start_date={{interactions_start_date}}&end_date={{interactions_end_date}}&location_ids[]={{interactions_location_ids}} HTTP/1.1
Host:
{{recommender-api-url}}/info/items?version=v3.0&take={{take}}&skip={{skip}}
Authorization | Bearer {{recommender_api_jwt}} |
version | v3.0 | (Optional) The API version |
take | {{take}} | (Optional) Number of results returned - Default = '10' |
skip | {{skip}} | (Optional) Number of results to skip - Default = '0' |
curl -X GET -H "Authorization: Bearer {{recommender_api_jwt}}" "{{recommender-api-url}}/info/items?version=v3.0&take={{take}}&skip={{skip}}"
GET %7B%7Brecommender-api-url%7D%7D/info/items?version=v3.0&take={{take}}&skip={{skip}} HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
{{recommender-api-url}}/info/items?version=v3.0&take=10&skip=0&filter[filters][0][field]=id&filter[filters][0][operator]=eq&filter[filters][0][value]=260335&filter[logic]=and
Operators:
Operator | Comparative Logic |
---|---|
startswith | LIKE {value} %% |
contains | LIKE %%{value}%% |
doesnotcontain | NOT LIKE %%{value}%% |
endswith | LIKE %%{value} |
eq | \= |
gt | > |
lt | < |
gte | >= |
lte | <= |
neg | <> |
Authorization | Bearer {{recommender_api_jwt}} |
version | v3.0 | (Optional) The API version |
take | 10 | (Optional) Number of results returned - Default = '10' |
skip | 0 | (Optional) Number of results to skip - Default = '0' |
filter[filters][0][field] | id | (Required) Field to use for filter |
filter[filters][0][operator] | eq | (Required) Operator to use for filter. 'startswith'|'contains'|doesnotcontain'|'endswith'|'eq'|'gt'|'lt'|'gte'|'lte'|'neg' |
filter[filters][0][value] | 260335 | (Required) Value to use for filter. |
filter[logic] | and | (Required) Multiple Filters combination logic. 'and'|'or' |
curl -X GET -H "Authorization: Bearer {{recommender_api_jwt}}" "{{recommender-api-url}}/info/items?version=v3.0&take=10&skip=0&filter[filters][0][field]=id&filter[filters][0][operator]=eq&filter[filters][0][value]=260335&filter[logic]=and"
GET %7B%7Brecommender-api-url%7D%7D/info/items?version=v3.0&take=10&skip=0&filter[filters][0][field]=id&filter[filters][0][operator]=eq&filter[filters][0][value]=260335&filter[logic]=and HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
{{recommender-api-url}}/data/meta_data?version=v3.0
raw
Create new meta data entry for user or item and specify if it will be used for the recommender and date it got added
Admin users only
Authorization | Bearer {{recommender_api_jwt}} | |
Content-Type | application/json |
version | v3.0 | (Optional) The API version |
curl -X POST -H "Authorization: Bearer {{recommender_api_jwt}}" -H "Content-Type: application/json" -d '{
"action" : "create",
"type" : "item",
"meta_data": {
"id": {
"value" : 123456785,
"date_created": "2022-06-16 15:11:14"
},
"description": {
"value" : "Birds Eye Golfer (BE)",
"date_created": "2022-06-16 15:11:14"
},
"brand": {
"value" : "Barron"
},
"category": {
"value" : "Apparel"
},
"type": {
"value" : "Golf Shirts"
},
"garment_type": {
"value" : "Classic Range"
}
}
}' "{{recommender-api-url}}/data/meta_data?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/data/meta_data?version=v3.0 HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
Content-Type: application/json
{
"action" : "create",
"type" : "item",
"meta_data": {
"id": {
"value" : 123456785,
"date_created": "2022-06-16 15:11:14"
},
"description": {
"value" : "Birds Eye Golfer (BE)",
"date_created": "2022-06-16 15:11:14"
},
"brand": {
"value" : "Barron"
},
"category": {
"value" : "Apparel"
},
"type": {
"value" : "Golf Shirts"
},
"garment_type": {
"value" : "Classic Range"
}
}
}
{{recommender-api-url}}/data/item-delete?version=v3.0
urlencoded
Create new meta data entry for user or item and specify if it will be used for the recommender and date it got added
Admin users only
Authorization | Bearer {{recommender_api_jwt}} | |
Content-Type | application/json |
version | v3.0 | (Optional) The API version |
item_ids[] | 1 | An array of item id's to be deleted |
item_ids[] | 2 |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Authorization: Bearer {{recommender_api_jwt}}" -H "Content-Type: application/json" -d "item_ids[]=1&item_ids[]=2" "{{recommender-api-url}}/data/item-delete?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/data/item-delete?version=v3.0 HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
Content-Type: application/json
Content-Type: application/x-www-form-urlencoded
item_ids[]=1&item_ids[]=2
{{recommender-api-url}}/organization/applications?version=v3.0
version | v3.0 | (Optional) The API version |
curl -X GET "{{recommender-api-url}}/organization/applications?version=v3.0"
GET %7B%7Brecommender-api-url%7D%7D/organization/applications?version=v3.0 HTTP/1.1
Host:
{{recommender-api-url}}/organization/stats?version=v3.0
version | v3.0 |
curl -X GET "{{recommender-api-url}}/organization/stats?version=v3.0"
GET %7B%7Brecommender-api-url%7D%7D/organization/stats?version=v3.0 HTTP/1.1
Host:
{{recommender-api-url}}/organization/users?version=v3.0&take=20&skip=0
version | v3.0 | (Optional) The API version |
query | John | (Optional) Search term to filter users |
take | 20 | (Optional) Number of results returned - Default = '10' |
skip | 0 | (Optional) Number of results to skip - Default = '0' |
curl -X GET "{{recommender-api-url}}/organization/users?version=v3.0&take=20&skip=0"
GET %7B%7Brecommender-api-url%7D%7D/organization/users?version=v3.0&take=20&skip=0 HTTP/1.1
Host:
{{recommender-api-url}}/organization/application-users?version=v3.0&application_id=26&take=10&skip=0
formdata
version | v3.0 | (Optional) The API version |
application_id | 26 | (Required) Application ID |
query | John | (Optional) Search term to filter users |
take | 10 | (Optional) Number of results returned - Default = '10' |
skip | 0 | (Optional) Number of results to skip - Default = '0' |
curl -X GET "{{recommender-api-url}}/organization/application-users?version=v3.0&application_id=26&take=10&skip=0"
GET %7B%7Brecommender-api-url%7D%7D/organization/application-users?version=v3.0&application_id=26&take=10&skip=0 HTTP/1.1
Host:
{{recommender-api-url}}/organization/create-application?version=v3.0
urlencoded
version | v3.0 | (Optional) The API version |
name | New App Name | (Required) New Application name |
description | App Description | (Required) The description of the application |
domain | https://domain.com | (Required) The domain where the application will run |
application_type | other | (Required) One of three options: media,retail or other |
aws_access_key | {AWS_ACCESS_KEY} | (Optional) Your AWS S3 Access Key for your S3 Bucket |
currency | USD | (Required) Currency for the application |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "name=New App Name&description=App Description&domain=https://domain.com&application_type=other&aws_access_key={AWS_ACCESS_KEY}¤cy=USD" "{{recommender-api-url}}/organization/create-application?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/organization/create-application?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
name=New App Name&description=App Description&domain=https://domain.com&application_type=other&aws_access_key={AWS_ACCESS_KEY}¤cy=USD
{{recommender-api-url}}/organization/edit-application?version=v3.0
urlencoded
version | v3.0 | (Optional) The API version |
application_id | 12 | (Required) The Application ID |
name | New App Name | (Optional) New Application name |
description | App Description | (Optional) The description of the application |
domain | https://domain.com | (Optional) The domain where the application will run |
aws_access_key | {AWS_ACCESS_KEY} | (Optional) Your AWS S3 Access Key for your S3 Bucket |
currency | USD | (Optional) Currency for the application |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "application_id=12&name=New App Name&description=App Description&domain=https://domain.com&aws_access_key={AWS_ACCESS_KEY}¤cy=USD" "{{recommender-api-url}}/organization/edit-application?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/organization/edit-application?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
application_id=12&name=New App Name&description=App Description&domain=https://domain.com&aws_access_key={AWS_ACCESS_KEY}¤cy=USD
{{recommender-api-url}}/organization/create-user?version=v3.0
urlencoded
version | v3.0 | (Optional) The API version |
first_name | John | (Required) First Name of the new user |
last_name | Doe | (Required) Last Name of the new user |
user@example.com | (Required) Email of the new user | |
user_type | Org-Admin | (Required) One of 4 values: Org-Owner, Org-Admin, Org-Billing or App-User |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "first_name=John&last_name=Doe&email=user@example.com&user_type=Org-Admin" "{{recommender-api-url}}/organization/create-user?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/organization/create-user?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
first_name=John&last_name=Doe&email=user@example.com&user_type=Org-Admin
{{recommender-api-url}}/organization/delete-user?version=v3.0
urlencoded
version | v3.0 | (Optional) The API version |
user_id | 10 | (Required) Auth User ID |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "user_id=10" "{{recommender-api-url}}/organization/delete-user?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/organization/delete-user?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
user_id=10
{{recommender-api-url}}/organization/delete-user-application?version=v3.0
urlencoded
version | v3.0 |
user_id | 10 | (Required) Auth User ID |
application_id | 10 | (Required) The Application ID |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "user_id=10&application_id=10" "{{recommender-api-url}}/organization/delete-user-application?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/organization/delete-user-application?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
user_id=10&application_id=10
{{recommender-api-url}}/organization/edit-user?version=v3.0
urlencoded
version | v3.0 |
user_id | 111 | (Required) Auth User ID |
first_name | John | (Required) The first name of the existing user |
last_name | Doe | (Required) The last name of the existing user |
johndoe@gmail.com | (Required) The email of the existing user | |
user_type | App-User | (Required) One of 3 values: Org-Admin, Org-Billing or App-User |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "user_id=111&first_name=John&last_name=Doe&email=johndoe@gmail.com&user_type=App-User" "{{recommender-api-url}}/organization/edit-user?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/organization/edit-user?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
user_id=111&first_name=John&last_name=Doe&email=johndoe@gmail.com&user_type=App-User
{{recommender-api-url}}/organization/add-user-application?version=v3.0
urlencoded
version | v3.0 | (Optional) The API version |
application_id | 12 | (Required) Application ID belonging to the Organization |
user_id | 90 | (Required) User ID belonging to the Organization |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "application_id=12&user_id=90" "{{recommender-api-url}}/organization/add-user-application?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/organization/add-user-application?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
application_id=12&user_id=90
{{recommender-api-url}}/organization/change-application?version=v3.0
urlencoded
version | v3.0 |
application_id | 12 | (Required) The application you want to use |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "application_id=12" "{{recommender-api-url}}/organization/change-application?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/organization/change-application?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
application_id=12
{{recommender-api-url}}/user?version=v3.0
version | v3.0 | (Optional) The API version |
curl -X GET "{{recommender-api-url}}/user?version=v3.0"
GET %7B%7Brecommender-api-url%7D%7D/user?version=v3.0 HTTP/1.1
Host:
Status | 200 OK |
---|---|
Content-Type | application/json |
|
{{recommender-api-url}}/user/addUser?version=v3.0
urlencoded
Admin user can add extra users, system generates password for user that can be changed
Admin users only
Content-Type | application/x-www-form-urlencoded |
version | v3.0 | (Optional) The API version |
user@example.com | (Required) New user email | |
first_name | John | (Required) New user's first name |
last_name | Doe | (Required) New user's last name |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Content-Type: application/x-www-form-urlencoded" -d "email=user@example.com&first_name=John&last_name=Doe" "{{recommender-api-url}}/user/addUser?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/user/addUser?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
Content-Type: application/x-www-form-urlencoded
email=user@example.com&first_name=John&last_name=Doe
{{recommender-api-url}}/user/update?version=v3.0
urlencoded
Content-Type | application/x-www-form-urlencoded |
version | v3.0 | (Optional) The API version |
first_name | John | (Optional) User first name |
last_name | Doe | (Optional) User last name |
(Optional) User email | ||
telephone | 55555555555 | (Optional) User telephone |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Content-Type: application/x-www-form-urlencoded" -d "first_name=John&last_name=Doe&email=&telephone=55555555555" "{{recommender-api-url}}/user/update?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/user/update?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
Content-Type: application/x-www-form-urlencoded
first_name=John&last_name=Doe&email=&telephone=55555555555
{{recommender-api-url}}/builder/batch?version=v3.0
urlencoded
Start building a model of recommender
Admin users only
version | v3.0 | (Optional) The API version |
aws_secret_key | {{aws_secret_key}} | (Required) AWS S3 Secret Key |
aws_bucket | xineoh-movielens-bucket | (Required) AWS S3 Bucket |
application_id | 20 | (Optional) The Application ID - Will use Token application if this is empty |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "aws_secret_key={{aws_secret_key}}&aws_bucket=xineoh-movielens-bucket&application_id=20" "{{recommender-api-url}}/builder/batch?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/builder/batch?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
aws_secret_key={{aws_secret_key}}&aws_bucket=xineoh-movielens-bucket&application_id=20
Status | 200 OK |
---|---|
Content-Type | application/json |
|
{{recommender-api-url}}/builder/build?version=v3.0&automate=0
urlencoded
Start building a model of recommender
Admin users only
version | v3.0 | (Optional) The API version |
automate | 0 | (Optional) If the rest of the steps should be automated, defaults to 1 |
application_id | 20 | (Optional) The Application ID - Will use Token application if this is empty |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "application_id=20" "{{recommender-api-url}}/builder/build?version=v3.0&automate=0"
POST %7B%7Brecommender-api-url%7D%7D/builder/build?version=v3.0&automate=0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
application_id=20
{{recommender-api-url}}/builder/train?version=v3.0&automate=0&continue_in_background=true
urlencoded
Start building a model of recommender
Admin users only
version | v3.0 | (Optional) The API version |
automate | 0 | (Optional) If the rest of the steps should be automated |
continue_in_background | true |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" "{{recommender-api-url}}/builder/train?version=v3.0&automate=0&continue_in_background=true"
POST %7B%7Brecommender-api-url%7D%7D/builder/train?version=v3.0&automate=0&continue_in_background=true HTTP/1.1
Host:
{{recommender-api-url}}/builder/test?version=v3.0&automate=0&continue_in_background=true
urlencoded
Start building a model of recommender
Admin users only
version | v3.0 | (Optional) The API version |
automate | 0 | (Optional) If the rest of the steps should be automated |
continue_in_background | true |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" "{{recommender-api-url}}/builder/test?version=v3.0&automate=0&continue_in_background=true"
POST %7B%7Brecommender-api-url%7D%7D/builder/test?version=v3.0&automate=0&continue_in_background=true HTTP/1.1
Host:
{{recommender-api-url}}/builder/optimize?version=v3.0
urlencoded
Start building a model of recommender
Admin users only
version | v3.0 | (Optional) The API version |
max_iter | 10 | (Optional) Maximum number of iterations to run the meta param optimization. (Min: 5, Max: 100) |
automate | 0 | (Optional) If the rest of the steps should be automated |
continue_in_background | true |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "max_iter=10&automate=0&continue_in_background=true" "{{recommender-api-url}}/builder/optimize?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/builder/optimize?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
max_iter=10&automate=0&continue_in_background=true
{{recommender-api-url}}/builder/cluster?version=v3.0
urlencoded
Start building a model of recommender
Admin users only
version | v3.0 | (Optional) The API version |
clusters_min | 4 | (Required) Minimum amount of clusters to do for a given cluster type (Min:2) |
clusters_max | 8 | (Required) Maximum amount of clusters to do for a given cluster type (Max:100) |
cluster_type | user | (Required) Which category to cluster - user or item |
automate | 0 | (Optional) If the rest of the steps should be automated |
continue_in_background | true |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "clusters_min=4&clusters_max=8&cluster_type=user&automate=0&continue_in_background=true" "{{recommender-api-url}}/builder/cluster?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/builder/cluster?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
clusters_min=4&clusters_max=8&cluster_type=user&automate=0&continue_in_background=true
{{recommender-api-url}}/builder/cluster?version=v3.0
urlencoded
Start building a model of recommender
Admin users only
version | v3.0 | (Optional) The API version |
clusters_min | 1 | (Required) Minimum amount of clusters to do for a given cluster type (Min:2) |
clusters_max | 3 | (Required) Maximum amount of clusters to do for a given cluster type (Max:100) |
cluster_type | location | (Required) Which category to cluster - user or item |
automate | 0 | (Optional) If the rest of the steps should be automated |
continue_in_background | true |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "clusters_min=1&clusters_max=3&cluster_type=location&automate=0&continue_in_background=true" "{{recommender-api-url}}/builder/cluster?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/builder/cluster?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
clusters_min=1&clusters_max=3&cluster_type=location&automate=0&continue_in_background=true
{{recommender-api-url}}/builder/cluster?version=v3.0
urlencoded
Start building a model of recommender
Admin users only
version | v3.0 | (Optional) The API version |
clusters_min | 2 | (Required) Minimum amount of clusters to do for a given cluster type (Min:2) |
clusters_max | 6 | (Required) Maximum amount of clusters to do for a given cluster type (Max:100) |
cluster_type | item | (Required) Which category to cluster - user or item |
automate | 0 | (Optional) If the rest of the steps should be automated |
continue_in_background | true |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "clusters_min=2&clusters_max=6&cluster_type=item&automate=0&continue_in_background=true" "{{recommender-api-url}}/builder/cluster?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/builder/cluster?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
clusters_min=2&clusters_max=6&cluster_type=item&automate=0&continue_in_background=true
{{recommender-api-url}}/charts/graph?version=v3.0&graph=trade_off&type=users
version | v3.0 | (Optional) The API version |
graph | trade_off | (Required) Graph Type |
type | users | (Required) Trade off data type. 'users'|'items' |
curl -X GET "{{recommender-api-url}}/charts/graph?version=v3.0&graph=trade_off&type=users"
GET %7B%7Brecommender-api-url%7D%7D/charts/graph?version=v3.0&graph=trade_off&type=users HTTP/1.1
Host:
Status | 200 OK |
---|---|
Content-Type | application/json |
|
{{recommender-api-url}}/builder/cluster_choose?version=v3.0
urlencoded
Start building a model of recommender
Admin users only
version | v3.0 | (Optional) The API version |
cluster_type | user | (Required) Which category of cluster to save the cluster info for |
cluster_amount | 6 | (Required) Chosen number of clusters to use for a given cluster type |
automate | 0 | (Optional) If the rest of the steps should be automated |
continue_in_background | true |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "cluster_type=user&cluster_amount=6&automate=0&continue_in_background=true" "{{recommender-api-url}}/builder/cluster_choose?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/builder/cluster_choose?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
cluster_type=user&cluster_amount=6&automate=0&continue_in_background=true
{{recommender-api-url}}/charts/graph?version=v3.0&graph=trade_off&type=locations
version | v3.0 | (Optional) The API version |
graph | trade_off | (Required) Graph Type |
type | locations | (Required) Trade off type. 'users'|'items' |
curl -X GET "{{recommender-api-url}}/charts/graph?version=v3.0&graph=trade_off&type=locations"
GET %7B%7Brecommender-api-url%7D%7D/charts/graph?version=v3.0&graph=trade_off&type=locations HTTP/1.1
Host:
Status | 200 OK |
---|---|
Content-Type | application/json |
|
{{recommender-api-url}}/builder/cluster_choose?version=v3.0
urlencoded
Start building a model of recommender
Admin users only
version | v3.0 | (Optional) The API version |
cluster_type | location | (Required) Which category of cluster to save the cluster info for |
cluster_amount | 2 | (Required) Chosen number of clusters to use for a given cluster type |
automate | 0 | (Optional) If the rest of the steps should be automated |
continue_in_background | true |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "cluster_type=location&cluster_amount=2&automate=0&continue_in_background=true" "{{recommender-api-url}}/builder/cluster_choose?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/builder/cluster_choose?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
cluster_type=location&cluster_amount=2&automate=0&continue_in_background=true
{{recommender-api-url}}/charts/graph?version=v3.0&graph=trade_off&type=items
version | v3.0 | (Optional) The API version |
graph | trade_off | (Required) Graph Type |
type | items | (Required) Trade off type. 'users'|'items' |
curl -X GET "{{recommender-api-url}}/charts/graph?version=v3.0&graph=trade_off&type=items"
GET %7B%7Brecommender-api-url%7D%7D/charts/graph?version=v3.0&graph=trade_off&type=items HTTP/1.1
Host:
Status | 200 OK |
---|---|
Content-Type | application/json |
|
{{recommender-api-url}}/builder/cluster_choose?version=v3.0
urlencoded
Start building a model of recommender
Admin users only
version | v3.0 | (Optional) The API version |
cluster_type | item | (Required) Which category of cluster to save the cluster info for |
cluster_amount | 4 | (Required) Chosen number of clusters to use for a given cluster type |
automate | 0 | (Optional) If the rest of the steps should be automated |
continue_in_background | true |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "cluster_type=item&cluster_amount=4&automate=0&continue_in_background=true" "{{recommender-api-url}}/builder/cluster_choose?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/builder/cluster_choose?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
cluster_type=item&cluster_amount=4&automate=0&continue_in_background=true
{{recommender-api-url}}/builder/cluster?version=v3.0
urlencoded
Start building a model of recommender
Admin users only
version | v3.0 | (Optional) The API version |
clusters_min | 2 | (Optional) Minimum amount of clusters to do for a given cluster type (Min:2) |
clusters_max | 6 | (Optional) Maximum amount of clusters to do for a given cluster type (Max:100) |
cluster_type | item | (Optional) Which category to cluster - user, location or item - if not sent through will cluster all types |
automate | 0 | (Optional) If the rest of the steps should be automated |
continue_in_background | true |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "clusters_min=2&clusters_max=6&cluster_type=item&automate=0&continue_in_background=true" "{{recommender-api-url}}/builder/cluster?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/builder/cluster?version=v3.0 HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
clusters_min=2&clusters_max=6&cluster_type=item&automate=0&continue_in_background=true
{{recommender-api-url}}/process?version=v3.0&process_id=360&application_id=20
version | v3.0 | (Optional) The API version |
process_id | 360 | (Required) Process ID recieved from one of the Builder endpoints |
application_id | 20 | (Optional) The Application ID - Will use Token application if this is empty |
curl -X GET "{{recommender-api-url}}/process?version=v3.0&process_id=360&application_id=20"
GET %7B%7Brecommender-api-url%7D%7D/process?version=v3.0&process_id=360&application_id=20 HTTP/1.1
Host:
Status | 200 OK |
---|---|
Content-Type | application/json |
|
{{recommender-api-url}}/process?version=v3.0&process=batch&application_id=20
version | v3.0 | (Optional) The API version |
process | batch | (Required) Process ID recieved from one of the Builder endpoints |
application_id | 20 | (Optional) The Application ID - Will use Token application if this is empty |
curl -X GET "{{recommender-api-url}}/process?version=v3.0&process=batch&application_id=20"
GET %7B%7Brecommender-api-url%7D%7D/process?version=v3.0&process=batch&application_id=20 HTTP/1.1
Host:
Status | 200 OK |
---|---|
Content-Type | application/json |
|
{{recommender-api-url}}/process/latest?version=v3.0&application_id=20
version | v3.0 | (Optional) The API version |
application_id | 20 | (Optional) The Application ID - Will use Token application if this is empty |
curl -X GET "{{recommender-api-url}}/process/latest?version=v3.0&application_id=20"
GET %7B%7Brecommender-api-url%7D%7D/process/latest?version=v3.0&application_id=20 HTTP/1.1
Host:
Status | 200 OK |
---|---|
Content-Type | application/json |
|
{{recommender-api-url}}/recommender/similar?version=v3.0&type=user_segment&id=1
Authorization | Bearer {{recommender_api_jwt}} |
version | v3.0 | (Optional) The API version |
type | user_segment | (Required) Type of recommendations to return |
id | 1 | (Required) Cluster/Segment Id. |
curl -X GET -H "Authorization: Bearer {{recommender_api_jwt}}" "{{recommender-api-url}}/recommender/similar?version=v3.0&type=user_segment&id=1"
GET %7B%7Brecommender-api-url%7D%7D/recommender/similar?version=v3.0&type=user_segment&id=1 HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
{{recommender-api-url}}/recommender/similar?version=v3.0&type=item_segment&id=1
Authorization | Bearer {{recommender_api_jwt}} |
version | v3.0 | (Optional) The API version |
type | item_segment | (Required) Type of recommendations to return |
id | 1 | (Required) Cluster/Segment Id. |
curl -X GET -H "Authorization: Bearer {{recommender_api_jwt}}" "{{recommender-api-url}}/recommender/similar?version=v3.0&type=item_segment&id=1"
GET %7B%7Brecommender-api-url%7D%7D/recommender/similar?version=v3.0&type=item_segment&id=1 HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
{{recommender-api-url}}/recommender/similar?version=v3.0&type=location_segment&id=1
Authorization | Bearer {{recommender_api_jwt}} |
version | v3.0 | (Optional) The API version |
type | location_segment | (Required) Type of recommendations to return |
id | 1 | (Required) Cluster/Segment Id. |
curl -X GET -H "Authorization: Bearer {{recommender_api_jwt}}" "{{recommender-api-url}}/recommender/similar?version=v3.0&type=location_segment&id=1"
GET %7B%7Brecommender-api-url%7D%7D/recommender/similar?version=v3.0&type=location_segment&id=1 HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
{{recommender-api-url}}/recommender/similar?version=v3.0&type=item&id=600427543
Authorization | Bearer {{recommender_api_jwt}} |
version | v3.0 | (Optional) The API version |
type | item | (Required) Type of recommendations to return |
id | 600427543 | (Required) Id of the item you want to get recommendations for |
curl -X GET -H "Authorization: Bearer {{recommender_api_jwt}}" "{{recommender-api-url}}/recommender/similar?version=v3.0&type=item&id=600427543"
GET %7B%7Brecommender-api-url%7D%7D/recommender/similar?version=v3.0&type=item&id=600427543 HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
{{recommender-api-url}}/recommender/similar?version=v3.0&type=user&id=ycg44Yo2kpb8jPqMeAiC0w==
Authorization | Bearer {{recommender_api_jwt}} |
version | v3.0 | (Optional) The API version |
type | user | (Required) Type of recommendations to return |
id | ycg44Yo2kpb8jPqMeAiC0w== | (Required) Id of the user you want to get recommendations for |
curl -X GET -H "Authorization: Bearer {{recommender_api_jwt}}" "{{recommender-api-url}}/recommender/similar?version=v3.0&type=user&id=ycg44Yo2kpb8jPqMeAiC0w=="
GET %7B%7Brecommender-api-url%7D%7D/recommender/similar?version=v3.0&type=user&id=ycg44Yo2kpb8jPqMeAiC0w== HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
{{recommender-api-url}}/recommender/similar?version=v3.0&type=location&id=rn7hS1WalYi6U8RUDpvK8g==
Authorization | Bearer {{recommender_api_jwt}} |
version | v3.0 | (Optional) The API version |
type | location | (Required) Type of recommendations to return |
id | rn7hS1WalYi6U8RUDpvK8g== | (Required) Id of the user you want to get recommendations for |
curl -X GET -H "Authorization: Bearer {{recommender_api_jwt}}" "{{recommender-api-url}}/recommender/similar?version=v3.0&type=location&id=rn7hS1WalYi6U8RUDpvK8g=="
GET %7B%7Brecommender-api-url%7D%7D/recommender/similar?version=v3.0&type=location&id=rn7hS1WalYi6U8RUDpvK8g== HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
{{recommender-api-url}}/recommender/recommendations?version=v3.0&id_type=user_segment&id=1&recommendation_type=item
version | v3.0 | (Optional) The API version |
id_type | user_segment | (Required) Type of recommendations to return |
id | 1 | (Required) Cluster/Segment Id. |
recommendation_type | item |
curl -X GET "{{recommender-api-url}}/recommender/recommendations?version=v3.0&id_type=user_segment&id=1&recommendation_type=item"
GET %7B%7Brecommender-api-url%7D%7D/recommender/recommendations?version=v3.0&id_type=user_segment&id=1&recommendation_type=item HTTP/1.1
Host:
{{recommender-api-url}}/recommender/recommendations?version=v3.0&id_type=item_segment&id=1&recommendation_type=item
Authorization | Bearer {{recommender_api_jwt}} | |
Content-Type | application/json |
version | v3.0 | (Optional) The API version |
id_type | item_segment | (Required) Type of recommendations to return |
id | 1 | (Required) Cluster/Segment Id. |
recommendation_type | item |
curl -X GET -H "Authorization: Bearer {{recommender_api_jwt}}" -H "Content-Type: application/json" "{{recommender-api-url}}/recommender/recommendations?version=v3.0&id_type=item_segment&id=1&recommendation_type=item"
GET %7B%7Brecommender-api-url%7D%7D/recommender/recommendations?version=v3.0&id_type=item_segment&id=1&recommendation_type=item HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
Content-Type: application/json
{{recommender-api-url}}/recommender/recommendations?version=v3.0&id_type=location_segment&id=1&recommendation_type=item
Authorization | Bearer {{recommender_api_jwt}} | |
Content-Type | application/json |
version | v3.0 | (Optional) The API version |
id_type | location_segment | (Required) Type of recommendations to return |
id | 1 | (Required) Cluster/Segment Id. |
recommendation_type | item |
curl -X GET -H "Authorization: Bearer {{recommender_api_jwt}}" -H "Content-Type: application/json" "{{recommender-api-url}}/recommender/recommendations?version=v3.0&id_type=location_segment&id=1&recommendation_type=item"
GET %7B%7Brecommender-api-url%7D%7D/recommender/recommendations?version=v3.0&id_type=location_segment&id=1&recommendation_type=item HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
Content-Type: application/json
{{recommender-api-url}}/recommender/recommendations?version=v3.0&id_type=user&id=ycg44Yo2kpb8jPqMeAiC0w==&size=20&recommendation_type=item
Authorization | Bearer {{recommender_api_jwt}} |
version | v3.0 | (Optional) The API version |
id_type | user | (Required) Type of recommendations to return |
id | ycg44Yo2kpb8jPqMeAiC0w== | (Required) User id to get recommendations for |
size | 20 | (Optional) Will default to 20 if not included |
recommendation_type | item |
curl -X GET -H "Authorization: Bearer {{recommender_api_jwt}}" "{{recommender-api-url}}/recommender/recommendations?version=v3.0&id_type=user&id=ycg44Yo2kpb8jPqMeAiC0w==&size=20&recommendation_type=item"
GET %7B%7Brecommender-api-url%7D%7D/recommender/recommendations?version=v3.0&id_type=user&id=ycg44Yo2kpb8jPqMeAiC0w==&size=20&recommendation_type=item HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
{{recommender-api-url}}/recommender/recommendations?version=v3.0&id_type=item&id=600427543&size=20&recommendation_type=user
Authorization | Bearer {{recommender_api_jwt}} |
version | v3.0 | (Optional) The API version |
id_type | item | (Required) Type of recommendations to return |
id | 600427543 | (Required) User id to get recommendations for |
size | 20 | (Optional) Will default to 20 if not included |
recommendation_type | user |
curl -X GET -H "Authorization: Bearer {{recommender_api_jwt}}" "{{recommender-api-url}}/recommender/recommendations?version=v3.0&id_type=item&id=600427543&size=20&recommendation_type=user"
GET %7B%7Brecommender-api-url%7D%7D/recommender/recommendations?version=v3.0&id_type=item&id=600427543&size=20&recommendation_type=user HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
{{recommender-api-url}}/recommender/recommendations?version=v3.0&id_type=location&id=rn7hS1WalYi6U8RUDpvK8g==&size=20&recommendation_type=user
Authorization | Bearer {{recommender_api_jwt}} |
version | v3.0 | (Optional) The API version |
id_type | location | (Required) Type of recommendations to return |
id | rn7hS1WalYi6U8RUDpvK8g== | (Required) User id to get recommendations for |
size | 20 | (Optional) Will default to 20 if not included |
recommendation_type | user |
curl -X GET -H "Authorization: Bearer {{recommender_api_jwt}}" "{{recommender-api-url}}/recommender/recommendations?version=v3.0&id_type=location&id=rn7hS1WalYi6U8RUDpvK8g==&size=20&recommendation_type=user"
GET %7B%7Brecommender-api-url%7D%7D/recommender/recommendations?version=v3.0&id_type=location&id=rn7hS1WalYi6U8RUDpvK8g==&size=20&recommendation_type=user HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
{{recommender-api-url}}/recommender/recommendations?version=v3.0&type=user&id=ycg44Yo2kpb8jPqMeAiC0w==&size=20&recommendation_type=item
Authorization | Bearer {{recommender_api_jwt}} |
version | v3.0 | (Optional) The API version |
type | user | (Required) Type of recommendations to return |
id | ycg44Yo2kpb8jPqMeAiC0w== | (Required) User id to get recommendations for |
size | 20 | (Optional) Will default to 20 if not included |
recommendation_type | item |
curl -X GET -H "Authorization: Bearer {{recommender_api_jwt}}" "{{recommender-api-url}}/recommender/recommendations?version=v3.0&type=user&id=ycg44Yo2kpb8jPqMeAiC0w==&size=20&recommendation_type=item"
GET %7B%7Brecommender-api-url%7D%7D/recommender/recommendations?version=v3.0&type=user&id=ycg44Yo2kpb8jPqMeAiC0w==&size=20&recommendation_type=item HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
{{recommender-api-url}}/recommender/recommendations?version=v3.0&type=user&id=138176&filter={"includes": {"genres": "Adventure"}, "excludes": {"genres": "Action"}}&size=20&recommendation_type=item
Authorization | Bearer {{recommender_api_jwt}} |
version | v3.0 | (Optional) The API version |
type | user | (Required) Type of recommendations to return |
id | 138176 | (Required) User id to get recommendations for |
filter | {"includes": {"genres": "Adventure"}, "excludes": {"genres": "Action"}} | (Optional) Filter to include and exclude items based on meta data field values |
size | 20 | (Optional) Will default to 20 if not included |
recommendation_type | item |
curl -X GET -H "Authorization: Bearer {{recommender_api_jwt}}" "{{recommender-api-url}}/recommender/recommendations?version=v3.0&type=user&id=138176&filter={"includes": {"genres": "Adventure"}, "excludes": {"genres": "Action"}}&size=20&recommendation_type=item"
GET %7B%7Brecommender-api-url%7D%7D/recommender/recommendations?version=v3.0&type=user&id=138176&filter={"includes": {"genres": "Adventure"}, "excludes": {"genres": "Action"}}&size=20&recommendation_type=item HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
{{recommender-api-url}}/recommender/recommendations?version=v3.0&type=user&id=138176&session_id=a79dc177-91dc-435a-abbf-1d21189f5151&context=alone&device=tablet&geolocation=North America&event_type=rating&filter={"includes": {"genres": "Adventure"}, "excludes": {"genres": "Action"}}&size=20&recommendation_type=item
Authorization | Bearer {{recommender_api_jwt}} |
version | v3.0 | (Optional) The API version |
type | user | (Required) Type of recommendations to return |
id | 138176 | (Required) User id to get recommendations for |
session_id | a79dc177-91dc-435a-abbf-1d21189f5151 | (Required) for session based recommendations |
context | alone | (Optional) Session Context - context will be taken into consideration when making session based recommendations |
device | tablet | (Optional) Session Device (mobile|desktop|tablet) |
geolocation | North America | (Optional) Session Geolocation |
event_type | rating | (Optional) Event Type - event type will be taken into consideration when making session based recommendations |
filter | {"includes": {"genres": "Adventure"}, "excludes": {"genres": "Action"}} | (Optional) Filter to include and exclude items based on meta data field values |
size | 20 | (Optional) Will default to 20 if not included |
recommendation_type | item |
curl -X GET -H "Authorization: Bearer {{recommender_api_jwt}}" "{{recommender-api-url}}/recommender/recommendations?version=v3.0&type=user&id=138176&session_id=a79dc177-91dc-435a-abbf-1d21189f5151&context=alone&device=tablet&geolocation=North America&event_type=rating&filter={"includes": {"genres": "Adventure"}, "excludes": {"genres": "Action"}}&size=20&recommendation_type=item"
GET %7B%7Brecommender-api-url%7D%7D/recommender/recommendations?version=v3.0&type=user&id=138176&session_id=a79dc177-91dc-435a-abbf-1d21189f5151&context=alone&device=tablet&geolocation=North America&event_type=rating&filter={"includes": {"genres": "Adventure"}, "excludes": {"genres": "Action"}}&size=20&recommendation_type=item HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
{{recommender-api-url}}/recommender/performance-delta?version=v3.0&containing_entity=lds denim&containing_entity_type=categories&secondary_entity=item_segment&interval_type=monthly&start_date=201601&end_date=201912&report_type=all&kpi=sales
Authorization | Bearer {{recommender_api_jwt}} |
version | v3.0 | (Optional) The API version |
containing_entity | lds denim | (Required) The id of the containing entity that gets the performance delta report. | set to "all" when containing entity type is all |
containing_entity_type | categories | (Required) The type of the containing_entity. 'categories', 'item_segment', 'user_segment', 'location_segment', 'campaign', 'all' |
secondary_entity | item_segment | (Optional) The type of the secondary_entity. Used if the user only wants to see the performance of only one secondary entity for a containing containing_entity_type 'categories', 'item_segment', 'user_segment', 'location_segment', 'campaign' |
interval_type | monthly | (Optional) The type of interval the report will partition the secondary entities into. Defaults to monthly. 'monthly' | 'quarterly' | 'yearly' | 'weekly' |
start_date | 201601 | (Optional) Start date of the report in the format of of the interval type. Defaults to 3 years ago. |
end_date | 201912 | (Optional) End date of the report in the format of the interval type. Defaults to current date or latest date for which there is data. |
report_type | all | (Optional) all | summary |
kpi | sales |
curl -X GET -H "Authorization: Bearer {{recommender_api_jwt}}" "{{recommender-api-url}}/recommender/performance-delta?version=v3.0&containing_entity=lds denim&containing_entity_type=categories&secondary_entity=item_segment&interval_type=monthly&start_date=201601&end_date=201912&report_type=all&kpi=sales"
GET %7B%7Brecommender-api-url%7D%7D/recommender/performance-delta?version=v3.0&containing_entity=lds denim&containing_entity_type=categories&secondary_entity=item_segment&interval_type=monthly&start_date=201601&end_date=201912&report_type=all&kpi=sales HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
{{recommender-api-url}}/schemas/schema-settings?version=v3.0&schema=item_meta_data
version | v3.0 | (Optional) The API version |
schema | item_meta_data |
curl -X GET "{{recommender-api-url}}/schemas/schema-settings?version=v3.0&schema=item_meta_data"
GET %7B%7Brecommender-api-url%7D%7D/schemas/schema-settings?version=v3.0&schema=item_meta_data HTTP/1.1
Host:
{{recommender-api-url}}/schemas/list-schemas?version=v3.0
version | v3.0 | (Optional) The API version |
curl -X GET "{{recommender-api-url}}/schemas/list-schemas?version=v3.0"
GET %7B%7Brecommender-api-url%7D%7D/schemas/list-schemas?version=v3.0 HTTP/1.1
Host:
{{recommender-api-url}}/schemas/list-schema-data-types?version=v3.0
version | v3.0 | (Optional) The API version |
curl -X GET "{{recommender-api-url}}/schemas/list-schema-data-types?version=v3.0"
GET %7B%7Brecommender-api-url%7D%7D/schemas/list-schema-data-types?version=v3.0 HTTP/1.1
Host:
{{recommender-api-url}}/schemas?version=v3.0&schema_id=31&application_id=25
version | v3.0 | (Optional) The API version |
schema_id | 31 | (Required) The schema_id you want info of |
application_id | 25 | (Optional) Will use the JWT application_id if omitted |
curl -X GET "{{recommender-api-url}}/schemas?version=v3.0&schema_id=31&application_id=25"
GET %7B%7Brecommender-api-url%7D%7D/schemas?version=v3.0&schema_id=31&application_id=25 HTTP/1.1
Host:
{{recommender-api-url}}/schemas?version=v3.0
urlencoded
Authorization | Bearer {{recommender_api_jwt}} | |
Content-Type | application/json |
version | v3.0 | (Optional) The API version |
schema | item_meta_data | |
fields[0] | {"name":"item_id","label":"sku","type":"integer"} | |
fields[1] | {"name":"meta_data_1","label":"title","type":"string","categorical":false,"hierarchy_level":null} | |
fields[2] | {"name":"meta_data_2","label":"description","type":"string","categorical":false,"hierarchy_level":null} | |
fields[3] | {"name":"meta_data_3","label":"category","type":"string","categorical":false,"hierarchy_level":1} | |
fields[4] | {"name":"meta_data_4","label":"range","type":"string","categorical":false,"hierarchy_level":2} | |
fields[5] | {"name":"created_dt","type":"timestamp"} |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Authorization: Bearer {{recommender_api_jwt}}" -H "Content-Type: application/json" -d "schema=item_meta_data&fields[0]={"name":"item_id","label":"sku","type":"integer"}&fields[1]={"name":"meta_data_1","label":"title","type":"string","categorical":false,"hierarchy_level":null}&fields[2]={"name":"meta_data_2","label":"description","type":"string","categorical":false,"hierarchy_level":null}&fields[3]={"name":"meta_data_3","label":"category","type":"string","categorical":false,"hierarchy_level":1}&fields[4]={"name":"meta_data_4","label":"range","type":"string","categorical":false,"hierarchy_level":2}&fields[5]={"name":"created_dt","type":"timestamp"}" "{{recommender-api-url}}/schemas?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/schemas?version=v3.0 HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
Content-Type: application/json
Content-Type: application/x-www-form-urlencoded
schema=item_meta_data&fields[0]={"name":"item_id","label":"sku","type":"integer"}&fields[1]={"name":"meta_data_1","label":"title","type":"string","categorical":false,"hierarchy_level":null}&fields[2]={"name":"meta_data_2","label":"description","type":"string","categorical":false,"hierarchy_level":null}&fields[3]={"name":"meta_data_3","label":"category","type":"string","categorical":false,"hierarchy_level":1}&fields[4]={"name":"meta_data_4","label":"range","type":"string","categorical":false,"hierarchy_level":2}&fields[5]={"name":"created_dt","type":"timestamp"}
{{recommender-api-url}}/info/users?version=v3.0&take={{take}}&skip={{skip}}
Returns a paginated list of users
version | v3.0 | (Optional) The API version |
take | {{take}} | (Optional) Number of results returned - Default = '10' |
skip | {{skip}} | (Optional) Number of results to skip - Default = '0' |
curl -X GET "{{recommender-api-url}}/info/users?version=v3.0&take={{take}}&skip={{skip}}"
GET %7B%7Brecommender-api-url%7D%7D/info/users?version=v3.0&take={{take}}&skip={{skip}} HTTP/1.1
Host:
Status | 200 OK |
---|---|
Content-Type | application/json |
|
{{recommender-api-url}}/info/users?version=v3.0&take=10&skip=0&filter[filters][0][field]=id&filter[filters][0][operator]=eq&filter[filters][0][value]=338041&filter[logic]=and&filter[filters][1][field]=id&filter[filters][1][operator]=eq&filter[filters][1][value]=338040
Returns a paginated list of users
Operators:
Operator | Comparative Logic |
---|---|
startswith | LIKE {value} %% |
contains | LIKE %%{value}%% |
doesnotcontain | NOT LIKE %%{value}%% |
endswith | LIKE %%{value} |
eq | \= |
gt | > |
lt | < |
gte | >= |
lte | <= |
neg | <> |
version | v3.0 | (Optional) The API version |
take | 10 | (Optional) Number of results returned - Default = '10' |
skip | 0 | (Optional) Number of results to skip - Default = '0' |
filter[filters][0][field] | id | (Required) Field to use for filter |
filter[filters][0][operator] | eq | (Required) Operator to use for filter. 'startswith'|'contains'|doesnotcontain'|'endswith'|'eq'|'gt'|'lt'|'gte'|'lte'|'neg' |
filter[filters][0][value] | 338041 | (Required) Value to use for filter. |
filter[logic] | and | (Required) Multiple Filters combination logic. 'and'|'or' |
filter[filters][1][field] | id | |
filter[filters][1][operator] | eq | |
filter[filters][1][value] | 338040 |
curl -X GET "{{recommender-api-url}}/info/users?version=v3.0&take=10&skip=0&filter[filters][0][field]=id&filter[filters][0][operator]=eq&filter[filters][0][value]=338041&filter[logic]=and&filter[filters][1][field]=id&filter[filters][1][operator]=eq&filter[filters][1][value]=338040"
GET %7B%7Brecommender-api-url%7D%7D/info/users?version=v3.0&take=10&skip=0&filter[filters][0][field]=id&filter[filters][0][operator]=eq&filter[filters][0][value]=338041&filter[logic]=and&filter[filters][1][field]=id&filter[filters][1][operator]=eq&filter[filters][1][value]=338040 HTTP/1.1
Host:
Status | 200 OK |
---|---|
Content-Type | application/json |
|
{{recommender-api-url}}/data/meta_data?version=v3.0
raw
Authorization | Bearer {{recommender_api_jwt}} | |
Content-Type | application/json |
version | v3.0 | (Optional) The API version |
curl -X POST -H "Authorization: Bearer {{recommender_api_jwt}}" -H "Content-Type: application/json" -d '{
"action" : "create",
"type" : "user",
"meta_data": {
"id": {
"value" : 1,
"date_created" : "2018-04-24 14:15:00"
}
}
}
' "{{recommender-api-url}}/data/meta_data?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/data/meta_data?version=v3.0 HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
Content-Type: application/json
{
"action" : "create",
"type" : "user",
"meta_data": {
"id": {
"value" : 1,
"date_created" : "2018-04-24 14:15:00"
}
}
}
{{recommender-api-url}}/data/user-delete?version=v3.0
urlencoded
Create new meta data entry for user or item and specify if it will be used for the recommender and date it got added
Admin users only
Authorization | Bearer {{recommender_api_jwt}} | |
Content-Type | application/json |
version | v3.0 | (Optional) The API version |
user_ids[] | 1 | An array of user id's to be deleted |
user_ids[] | 2 |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Authorization: Bearer {{recommender_api_jwt}}" -H "Content-Type: application/json" -d "user_ids[]=1&user_ids[]=2" "{{recommender-api-url}}/data/user-delete?version=v3.0"
POST %7B%7Brecommender-api-url%7D%7D/data/user-delete?version=v3.0 HTTP/1.1
Host:
Authorization: Bearer {{recommender_api_jwt}}
Content-Type: application/json
Content-Type: application/x-www-form-urlencoded
user_ids[]=1&user_ids[]=2