Quick Start
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.
Get your API keys
Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.
Indexing API
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.
Request Headers
X-Neuralens-API-Key
Bearer YOUR_API_KEY_HERE
X-Neuralens-Application-ID
YOUR_APPLICATION_ID
Request Body
Explore Indexing API
Search API
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
Request Headers
X-Neuralens-API-Key
Bearer YOUR_API_KEY_HERE
X-Neuralens-Application-ID
YOUR_APPLICATION_ID
Request Body
Response
Explore Search API
Last updated