Search APIs
POSTVisual Search
Search products by uploading an image.
Requests go to the live API through streamoid.com and act on your real data.
Authorization
AuthorizationstringrequiredheaderBearer token,
Bearer <token>. Create one under Tokens in your workspace.Query parameters
store_uuidstringrequiredStore identifier
Example:
69b3a770f5006c4b0be47c85offsetintegerdefault: 0Pagination offset
limitintegerdefault: 100Maximum number of results
filtersstringdefault: "{}"Filters as a JSON-encoded string. Example: '{"Category": "Tops", "Color": "Blue"}'. Must be valid JSON if provided.
Example:
{"Category": "Tops", "Color": "Blue"}Headers
X-Request-IdstringOptional trace ID
Body
multipart/form-data required
imagefilerequiredImage file for visual search
Responses
200Visual search results
statusobjectFields
codeinteger0 = success, -1 = error
Example:
0messagestringExample:
SUCCESSrequest_idstringExample:
8c8b2b7e-23d7-4c2a-91b0-2a7c4dfbb312dataobject[]List of visually similar products with relevance scores.
Item fields
product_codestringExample:
SKU001scorenumberExample:
0.92image_urlstringExample:
https://cdn.example.com/img1.jpg400Validation error
statusstringdefault: "error"The status of the request, typically 'error'
detailstringrequiredA description of the error
401Unauthorized – Bearer token missing or invalid
statusobjectFields
codeintegerExample:
-1messagestringExample:
Unauthorized – invalid or missing Bearer token500Internal server error
statusobjectFields
codeintegerExample:
-1messagestringExample:
Internal server error. Please contact support@catalogix.ai502Downstream service unavailable
statusstringdefault: "error"The status of the request, typically 'error'
detailstringrequiredA description of the error
Something missing or unclear? Write to support@streamoid.com.