Product details
Fetch a single product by ID and index name.
API overview
| Method | GET |
|---|---|
| Path | /insight/product/details |
| Query parameters |
id, indexName,
_source (optional)
|
| Base URL example | https://api.prophetes.ai |
| Full URL example |
https://api.prophetes.ai/insight/product/details?id={id}&indexName={indexName}&_source={_source}
|
Demo Download
Download our official Demos to quickly integrate Insight Search into your application:
Python Demo
Uses standard library urllib with no additional dependencies
Download Demo
Java Demo
Uses java.net.http.HttpClient with no third-party dependencies
Download Demo
Authentication
| Header | Description |
|---|---|
x-insight-application-id |
Application ID |
x-insight-api-key |
API Key |
Content-Type |
application/json |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Unique product ID |
indexName |
string | Yes | Index name |
_source |
string | No | Source or field selection (per server contract) |
Response structure
On success, returns a product JSON object. Example fields include
objectID, title, price,
description, brand_name,
category_name_path, etc., depending on indexed data.
Example
curl "https://api.prophetes.ai/insight/product/details?id=INSIGHT_OBJECT_ID&indexName=INSIGHT_INDEX_NAME&_source=" \
-H 'x-insight-application-id: INSIGHT_APPLICATION_ID' \
-H 'x-insight-api-key: INSIGHT_API_KEY'