Retrieve by imageCopy Pagepost https://image-search.cnstrc.com/v2/image_searchRetrieve AI optimized search results for products (or optionally other sections) by image with optional multi-item detection (segmentation) support.Query Paramskeystringrequiredlength between 1 and 100The key of the index to use.sectionstringlength between 1 and 100Defaults to ProductsThe section of the index to use.search_crop_typestringenumDefaults to bboxHow to crop detected segments for visual search. Only relevant when use_segmentation is true.bboxbboxsegmentAllowed:bboxsegmentvariations_mapjsonA JSON string containing a instructions on how to map item variation data in the response (typically used for swatches). More details, including the exact schema for this value can be found herefmt_optionsobjectAn object containing options to format different aspect of the response.Fmt Options objectcstringlength between 1 and 100The ID of the client and version that the request is coming from, such as cio-js-2.90.usarray of stringsA customer defined context (such as vip-club-member) used to evaluate redirect or refined tag rules. Pass multiple segments by passing multiple us arguments.usADD stringuse_segmentationbooleanDefaults to falseWhether to detect and individually search multiple objects in the image. When true, the image is split into detected objects and each is searched separately; results are merged.truetruefalseuistringA customer generated anonymized identifier for a user on a customer website. It should only be sent for logged in customers and helps Constructor to tie multiple client and session IDs together to form a behavioral data profile across devices.return_segmentsbooleanDefaults to falseWhether to include per-segment metadata in the response. Only applicable when use_segmentation is true.truetruefalsesintegerAn integer representing the users session number (starting with 1), incremented after a 30 minute period of inactivity.istringA globally unique identifier for the user browser (or mobile application instance) making the request.Body ParamsResponses 200OK 400Bad RequestUpdated about 3 hours ago