π₯/v1/batch/match-products
Available at https://api.theproductllm.com/v1/batch/match-products
Processes batch product matching jobs to determine if product pairs are the same product.
This endpoint accepts a JSONL file where each line contains two products to compare. The batch job will process all product pairs and return match results asynchronously.
Required Parameters
file: JSONL file upload. Each line must be a valid JSON object with the following structure.
{
"product_left": {
"title": "string (required)",
"brand": "string (optional)",
"code": "string (optional)",
"description": "string or dict (optional)",
"id": "string (optional)",
"price": "string or float (optional)"
},
"product_right": {
"title": "string (required)",
"brand": "string (optional)",
"code": "string (optional)",
"description": "string or dict (optional)",
"id": "string (optional)",
"price": "string or float (optional)"
}
}Request
product_pairs.jsonl β example file below, each json is on a single line, lines separated by newline
Response
Last updated