Your cart is currently empty!
This documentation describes the APIs for a Recommendation Engine that provides product recommendations, learns from user sessions, and trains its recommendation model. The API is designed to be RESTful and responds with JSON-formatted data.
The base URL for all API endpoints is https://api.appengine.co.uk/recomengine/v1.0/
Each request must include an account_id parameter that uniquely identifies the client.
/recommend/GETaccount_id: The unique identifier for the client’s account.product_id: The product ID for which recommendations are sought.{ "account_id": "example_account_id", "product_id": "example_product_id", "recommended_products": ["prod123", "prod456", "prod789"] }{ "error": "Missing or invalid parameters." }curl -X GET "https://api.appengine.co.uk/recomengine/v1.0/recommend/?account_id=example_account_id&product_id=example_product_id"/learn/GETaccount_id: The unique identifier for the client’s account.session_id: Session identifier for the user session.product_ids: Comma-separated list of product IDs observed in the session.{ "account_id": "example_account_id", "output": "Matrix Updated", "products_processed": 3, "new_products_added": 1, "execution_time_seconds": 0.512 }{ "error": "Missing or invalid parameters." }curl -X GET "https://api.appengine.co.uk/recomengine/v1.0/learn/?account_id=example_account_id&session_id=session123&product_ids=prod123,prod456,prod789"/train/GETaccount_id: The unique identifier for the client’s account.{ "account_id": "example_account_id", "output": "Training complete." }{ "error": "Missing or invalid account_id parameter." }curl -X GET "https://api.appengine.co.uk/recomengine/v1.0/train/?account_id=example_account_id"