Quick Start
Last updated
Last updated
Two APIs to go live: This quick start guide will take you through the two APIs required for you to go live with Neuralens AI search: Indexing, and Search.
Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.
Indexing is how you add your products to the search engine. For better understanding by the Neuralens Engine and better relevance, refer the set of standardized fields. If you product attributes are not in the standardized set, you can use custom field names.
POST
https://api.neuralens.ai/search/index
Indexes a new product. You can index up to 100 products in a single request.
Indexing is asynchronous. It may take up to an hour for newly indexed products to reflect in Search.
Header | Value |
---|---|
Use the Search API to query the indexed products. The Search API is also used to apply any sorts or filters.
POST
https://api.neuralens.ai/search/query
Header | Value |
---|---|
X-Neuralens-API-Key
Bearer YOUR_API_KEY_HERE
X-Neuralens-Application-ID
YOUR_APPLICATION_ID
X-Neuralens-API-Key
Bearer YOUR_API_KEY_HERE
X-Neuralens-Application-ID
YOUR_APPLICATION_ID