user_id and/or session_id. Recommendations combine long‑term user signals with short‑term session context to return relevant items in real time.
Request Body
Unique identifier for the user. Optional if
session_id is provided. Please check with our team for your specific account configuration. In some cases session_id is disabled and only user_id is supported.Unique identifier for the user’s current session. Optional if
user_id is provided. Please check with our team if your account supports session_id.A list of item IDs to consider for recommendations.
The unique identifier of the model to use.Example:
model_baseline-v1_4jbsb1qkzFJx3tQY7hB5Alternatively, older client versions can use the model_name field instead of model_id. Please confirm with our team if you are unsure.The maximum number of items to return.
Optional session or user context for improved ranking. Can include fields like
user_region, os_platform, device_type, referrer_source, or any custom context relevant to your use case.Example Request
Response
An array of recommended item objects sorted by rank (highest-ranked item first).Item Object Fields:
id(string, required): The unique identifier of the recommended itemscore(float, required): The recommendation score assigned by the model
A unique identifier for this specific set of recommendations.Example:
rec_0ujsswThIGTUYm2K8FjOOfXtY1KExample Response
Rate Limiting
Response Codes
200 - OK
200 - OK
Successful response with recommendations.
400 - Bad Request
400 - Bad Request
Malformed JSON or invalid parameters in the request body.
401 - Unauthorized
401 - Unauthorized
403 - Forbidden
403 - Forbidden
API key lacks permission to access this endpoint.
408 - Request Timeout
408 - Request Timeout
Request timed out. Please retry with exponential backoff.
422 - Validation Error
422 - Validation Error
Input failed validation. Check that required fields are present and correctly formatted.
429 - Too Many Requests
429 - Too Many Requests
Rate limit exceeded. Please retry with exponential backoff.
5xx - Server Error
5xx - Server Error
Temporary server issue. Please retry with exponential backoff.

