{"info":{"_postman_id":"cfe420bf-55dc-416c-9955-aa8068c6011a","name":"Neurolabs API v2","description":"<html><head></head><body><h1 id=\"neurolabs-api-workflows\">Neurolabs API Workflows</h1>\n<p>Welcome to the Postman documentation for the Neurolabs API. This guide is designed to provide a detailed overview of the API functionalities, empowering you with the knowledge to seamlessly integrate and effectively utilize our cutting-edge synthetic image recognition services. Learn more at <a href=\"https://www.neurolabs.ai\">neurolabs.ai</a></p>\n<h2 id=\"table-of-contents\">Table of Contents</h2>\n<ul>\n<li><p><a href=\"#introduction\">Introduction</a></p>\n</li>\n<li><p><a href=\"#api-workflows\">API Workflows</a></p>\n<ul>\n<li><a href=\"#pre-requisite-terms\">Pre-requisite Terms</a></li>\n</ul>\n</li>\n<li><p><a href=\"#catalog-onboarding-workflows\">Catalog Onboarding Workflows</a></p>\n</li>\n<li><p><a href=\"#image-recognition-workflows\">Image Recognition Workflows</a></p>\n<ul>\n<li><a href=\"#asynchronous-image-recognition\">Asynchronous Image Recognition</a></li>\n<li><a href=\"#synchronous-image-recognition\">Synchronous Image Recognition</a></li>\n<li><a href=\"#retrieving-image-recognition-results\">Retrieving Image Recognition Results</a></li>\n</ul>\n</li>\n<li><p><a href=\"#upkeep-workflows\">Upkeep Workflows</a></p>\n</li>\n<li><p><a href=\"#item-catalog\">Item Catalog</a></p>\n</li>\n<li><p><a href=\"#task-management\">Task Management</a></p>\n</li>\n<li><p><a href=\"#start-image-recognition\">Start Image Recognition</a></p>\n</li>\n<li><p><a href=\"#image-recognition-results\">Image Recognition Results</a></p>\n</li>\n</ul>\n<h2 id=\"introduction\">Introduction</h2>\n<p>The Neurolabs API offers robust solutions for image recognition, enabling seamless integration and utilization of advanced AI capabilities.</p>\n<p>Access the Open API documentation at <a href=\"https://api.neurolabs.ai/v2/docs\">Neurolabs API v2 Docs</a> and find additional resources at <a href=\"https://docs.neurolabs.ai/\">Neurolabs Documentation</a>.</p>\n<h2 id=\"api-workflows\">API Workflows</h2>\n<h3 id=\"pre-requisite-terms\">Pre-requisite Terms</h3>\n<p>Familiarize yourself with key terms used in this documentation:</p>\n<ol>\n<li><strong>Image Recognition Result (</strong><code>IR Result</code><strong>)</strong>: The output of an image recognition request, detailing the identified items.</li>\n<li><strong>Image Recognition Task (</strong><code>IR Task</code><strong>)</strong>: A job created for processing images for recognition.</li>\n<li><strong>Item Catalog</strong>: A repository of items that the API can recognize, including metadata and reference images.</li>\n<li><strong>Item Catalog - Reference Images</strong>: Images that help in identifying items in the catalog.</li>\n<li><strong>Item Catalog - 3D Asset</strong>: 3D models of catalog items to improve recognition accuracy.</li>\n<li><strong>Zia-Capture App</strong>: An application facilitating image capture and catalog integration.</li>\n</ol>\n<h2 id=\"catalog-onboarding-workflows\">Catalog Onboarding Workflows</h2>\n<p>Onboard catalogs and create image recognition tasks efficiently:</p>\n<ol>\n<li><p><strong>Onboard Catalog &amp; Create IR Task</strong></p>\n<ul>\n<li><p><strong>Step 1</strong>: Initiate catalog onboarding by iterating over your source of truth and sending catalog details via POST <code>/catalog-items</code>.</p>\n<ul>\n<li>Using <code>Zia-Capture</code> will automatically pull details, setting <code>Status: Processing</code>.</li>\n<li>Without <code>Zia-Capture</code>, the status remains <code>Ready</code> until updated to <code>Capture Needed</code>.</li>\n</ul>\n</li>\n<li><p><strong>Step 2</strong>: Retrieve all catalog items using GET <code>/catalog-items</code> and select a list of relevant ones for image recognition.</p>\n</li>\n<li><p><strong>Step 3</strong>: Create an IR task with selected <code>catalog_items</code> via POST <code>/image-recognition/tasks</code>.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Updating Catalog &amp; IR Tasks</strong><br> Regularly update both the catalog and IR tasks to maintain accuracy and efficiency. This is a process often used to match to the customer image capture workflows, i.e sending images from different geographies, field reps, customers.</p>\n<ul>\n<li><strong>Step 1</strong>: Add new items to an existing IR Task using the PUT <code>/image-recognition/tasks/{task_uuid}</code>.</li>\n<li><strong>Step 2</strong>: Exclude irrelevant items from IR Tasks to improve IR Results, using the same PUT method. Onboarding items in an IR task that are outside of the scope of image recognition, can result in worse <code>IR Results</code>, in which case you can exclude items from an IR task such that it's not processed by the image recognition process.</li>\n</ul>\n</li>\n</ol>\n<p>Congratulations, you are ready for detecting items!</p>\n<h2 id=\"image-recognition-workflows\">Image Recognition Workflows</h2>\n<p>Dive into the core of image recognition with these workflows:</p>\n<h3 id=\"asynchronous-image-recognition\">Asynchronous Image Recognition</h3>\n<ol>\n<li><strong>Step 1</strong>: Retrieve the <code>IR Task</code> ID (<code>task_uuid</code>).</li>\n<li><strong>Step 2</strong>: Start recognizing images asynchronously with POST <code>/image-recognition/tasks/{task_uuid}/urls</code>. Provide images as publicly accessible URLs.</li>\n<li><strong>Step 3</strong>: Each image gets an <code>IR Result</code>. Image recognition can take longer, depending on the amount of images you're sending and the SLAs agreed upon.</li>\n<li><strong>Step 4</strong>: Track these using GET <code>/v2/image-recognition/tasks/{task_uuid}/results/{result_uuid}</code>.</li>\n<li><strong>Step 5 (Optional)</strong>: Providing a <code>callback</code> URL in the payload triggers an HTTP POST request with the <code>IR result</code> to that URL once each prediction is complete.</li>\n<li><strong>Step 6 (Optional)</strong>: For private images, upload them using POST <code>/image-recognition/tasks/{task_uuid}/images</code> with <strong>multipart/form-data</strong> encoding.\"</li>\n</ol>\n<h3 id=\"synchronous-image-recognition\">Synchronous Image Recognition</h3>\n<ol>\n<li><strong>Step 1</strong>: Obtain the relevant <code>IR Task</code> (<code>task_uuid</code>).</li>\n<li><strong>Step 2</strong>: Recognize images synchronously via POST <code>/image-recognition/tasks/{task_uuid}/sync-image</code>. Upload images directly for immediate processing. If the image processing takes longer than the timeout, the response will be returned with empty <code>IR Results</code> and a 408 status code. However, the processing will continue running in the background.</li>\n<li><strong>Step 3</strong>: Retrieve the <code>IR Results</code> using GET <code>/image-recognition/tasks/{task_uuid}/results/{result_uuid}</code>.</li>\n</ol>\n<h3 id=\"retrieving-image-recognition-results\">Retrieving Image Recognition Results</h3>\n<p>Obtain detailed IR Results for comprehensive analysis and utilization:</p>\n<ul>\n<li>Use GET <code>/image-recognition/tasks/{task_uuid}/results/</code> to fetch results for an entire IR Task or specific images.</li>\n</ul>\n<p>A sample response for IR Results can be found below</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n\"uuid\": \"123455ab-123\",\n\"task_uuid\": \"5454ad-123\",\n\"image_url\": \"https://storage.googleapis.com/nlb-dev/public/demo.jpeg\",\n\"duration\": 3.5,\n\"created_at\": \"2024-01-01T12:00:00.000Z\",\n\"updated_at\": \"2024-01-01T12:00:00.000Z\",\n\"postprocessing_results\": {\n   \"realogram\": [...],\n   \"shares\": [...]\n},\n\"coco\": {...},\n\"confidence_score\": 0.98\n}\n\n</code></pre>\n<h2 id=\"upkeep-workflows\">Upkeep Workflows</h2>\n<p>Maintain the integrity and accuracy of your image recognition system:</p>\n<ol>\n<li><strong>Catalog Management Validation &amp; Improvements</strong><br> Ensure the performance of the IR system through regular validation and improvement of the catalog and IR tasks. In order to get an accuracy metric in our web app UI, you need to validate and correct predicted items. This is a crucial part of the catalog management &amp; up-keep, and it further gives you the ability to manually add new items from processed images. The validated images will appear in the catalog Item <code>Improve Accuracy</code> window, where you can add them as real reference crops for such that the image recognition process learns &amp; improves.<ul>\n<li><strong>Step 1</strong>: Validate IR Results using the web app UI or your interface.</li>\n<li><strong>Step 2</strong>: Enhance item recognition by uploading real-reference images or crops via UI or use POST <code>/catalog-items/{item_uuid}/reference-images</code>. Both of these workflows have been designed to enhance the capabilities of the image labelling process.</li>\n</ul>\n</li>\n<li><strong>Image Recognition Re-processing</strong><br> In some situations, there is a need to re-process images, either as soon as the previous step has finished, or in order to re-run certain reports within a new &amp; updated IR task. This is currently in development, and users will be given the ability to re-process images given certain filters, such as processing intervals.</li>\n</ol>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Neurolabs API Workflows","slug":"neurolabs-api-workflows"}],"owner":"13254294","collectionId":"cfe420bf-55dc-416c-9955-aa8068c6011a","publishedId":"2sA35A7k1j","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-03-22T03:23:58.000Z"},"item":[{"name":"Item Catalog","item":[{"name":"Retrieve Catalog Item(s)","id":"fffa4138-2ed9-4e5d-b51b-3d25f8c4d2fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.neurolabs.ai/v2/catalog-items?limit=5","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{api-key}}"}]},"isInherited":true,"source":{"_postman_id":"98d11c1c-4cc4-4bfc-b4b3-7bbc64d29058","id":"98d11c1c-4cc4-4bfc-b4b3-7bbc64d29058","name":"Item Catalog","type":"folder"}},"urlObject":{"path":["catalog-items"],"host":["https://api.neurolabs.ai/v2"],"query":[{"description":{"content":"<p>Set the limit of Items you want to Retrieve</p>\n","type":"text/plain"},"key":"limit","value":"5"},{"disabled":true,"description":{"content":"<p>Retrieve all Items with the given Catalog Name (Optional)</p>\n","type":"text/plain"},"key":"name","value":""},{"disabled":true,"description":{"content":"<p>Retrieve all Items by the Custom ID field (Optional)</p>\n","type":"text/plain"},"key":"custom_id","value":""},{"disabled":true,"description":{"content":"<p>Set the position in the dataset for where you want to start retrieval of Items (Optional)</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"disabled":true,"description":{"content":"<p>Retrieve all items by the Barcode/UPC field</p>\n","type":"text/plain"},"key":"barcode","value":""}],"variable":[]}},"response":[],"_postman_id":"fffa4138-2ed9-4e5d-b51b-3d25f8c4d2fc"},{"name":"Create Catalog Item","id":"69c3071f-1aab-4029-ad04-58e74a7335e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"thumbnail","description":"<p>Thumbnail Image (Required)</p>\n","type":"file","src":"postman-cloud:///1eee644e-d84c-44d0-844e-543ca07d4642"},{"key":"name","value":"UPC Name","description":"<p>Product Name (Required)</p>\n","type":"text"},{"key":"barcode","value":"","description":"<p>UPC number (Optional)</p>\n","type":"text","disabled":true},{"key":"custom_id","value":"","description":"<p>Custom ID from Customer Database (Optional)</p>\n","type":"text","disabled":true},{"key":"brand","value":"","description":"<p>Brand name (Optional)</p>\n","type":"text","disabled":true},{"key":"container_type","value":"","description":"<p>Type of container (Optional)</p>\n","type":"text","disabled":true},{"key":"tags","value":"","description":"<p>Comma separated tags (Optional) </p>\n","type":"text","disabled":true},{"key":"size","value":"","description":"<p>Size of container (Optional)</p>\n","type":"text","disabled":true},{"key":"height","value":"","description":"<p>Height of Product Item (Optional)</p>\n","type":"text","disabled":true},{"key":"width","value":"","description":"<p>Width of Product Item (Optional)</p>\n","type":"text","disabled":true},{"key":"depth","value":"","description":"<p>Depth of Product Item (Optional)</p>\n","type":"text","disabled":true}]},"url":"https://api.neurolabs.ai/v2/catalog-items","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{api-key}}"}]},"isInherited":true,"source":{"_postman_id":"98d11c1c-4cc4-4bfc-b4b3-7bbc64d29058","id":"98d11c1c-4cc4-4bfc-b4b3-7bbc64d29058","name":"Item Catalog","type":"folder"}},"urlObject":{"path":["catalog-items"],"host":["https://api.neurolabs.ai/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"69c3071f-1aab-4029-ad04-58e74a7335e1"},{"name":"Upload Reference Images for a catalog item","id":"74272f53-c112-4506-9393-78e30997d4fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"images","description":"<p>Images to add as real references for an Item </p>\n","type":"file","src":"postman-cloud:///1eee63a3-56aa-4fe0-9e44-82ad60d9ac08"},{"key":"images","description":"<p>Images to add as real references for an Item </p>\n","type":"file","src":"postman-cloud:///1eee63a3-56aa-4fe0-9e44-82ad60d9ac08"}]},"url":"https://api.neurolabs.ai/v2/catalog-items/{{item_uuid}}/reference-images","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{api-key}}"}]},"isInherited":true,"source":{"_postman_id":"98d11c1c-4cc4-4bfc-b4b3-7bbc64d29058","id":"98d11c1c-4cc4-4bfc-b4b3-7bbc64d29058","name":"Item Catalog","type":"folder"}},"urlObject":{"path":["catalog-items","{{item_uuid}}","reference-images"],"host":["https://api.neurolabs.ai/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"74272f53-c112-4506-9393-78e30997d4fb"},{"name":"Create a one-faced asset request","id":"1a21abac-589a-49b0-9d8b-211cd7878a2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","description":"<p>Image to add for one-faced 3D asset</p>\n","type":"file","src":"postman-cloud:///1eee63a3-56aa-4fe0-9e44-82ad60d9ac08"}]},"url":"https://api.neurolabs.ai/v2/catalog-items/{{item_uuid}}/asset-requests/one-faced-asset","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{api-key}}"}]},"isInherited":true,"source":{"_postman_id":"98d11c1c-4cc4-4bfc-b4b3-7bbc64d29058","id":"98d11c1c-4cc4-4bfc-b4b3-7bbc64d29058","name":"Item Catalog","type":"folder"}},"urlObject":{"path":["catalog-items","{{item_uuid}}","asset-requests","one-faced-asset"],"host":["https://api.neurolabs.ai/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"1a21abac-589a-49b0-9d8b-211cd7878a2c"}],"id":"98d11c1c-4cc4-4bfc-b4b3-7bbc64d29058","description":"<h1 id=\"📦-item\">📦 Item</h1>\n<p><strong>Items</strong> are the atomic unit for Neurolabs ZIA Product.</p>\n<p>The Neurolabs ZIA API &amp; web application allow you to create, read, update, and delete <strong><code>Items</code></strong> in your catalog. You can also list all available <strong><code>Items</code></strong> and upload 3D assets, digital artwork data, and real reference images to <strong><code>Items</code></strong>.</p>\n<h2 id=\"thumbnail\">Thumbnail</h2>\n<p>Thumbnails and names are mandatory and are used to better identify new Items.</p>\n<h2 id=\"3d-assets\">3D assets<a href=\"https://docs.neurolabs.ai/docs/definitions/product#3d-assets\">​</a></h2>\n<p>3D assets are an important part of the <strong><code>Item Catalog</code></strong> as they provide the data necessary to train accurate Computer Vision models that are used within <strong><code>IR Tasks</code></strong>.</p>\n<h4 id=\"one-faced-3d-asset\">One-faced 3D asset</h4>\n<p>Ocassionally, we might want to create a one-faced 3D asset in the case of detecting POS displays, to further enhance our computer vision models.</p>\n<h2 id=\"reference-images\">Reference Images<a href=\"https://docs.neurolabs.ai/docs/definitions/product#reference-images\">​</a></h2>\n<p>Real Reference Images can be added to the <strong><code>Item Catalog</code></strong> to automatically enhance the performance of the Computer Vision models that power the <strong><code>IR Tasks</code></strong>. These usually come from either <strong><code>Zia-Capture</code></strong> or shelf data cropped items.</p>\n<img src=\"https://content.pstmn.io/857f9867-5a36-45bf-ab60-9f1e32963b44/YjQ3ZDBhODktMTk3NC00MjhkLWFlZGMtOGYxMjM5YjdiMTZlLnBuZw==\" alt=\"An%20Item%20thumbnail\" width=\"100\" height=\"275\" />\n\n<img src=\"https://content.pstmn.io/608d48ff-faba-47c3-a5d0-729835632b4a/U2NyZWVuc2hvdCAyMDI0LTAzLTE5IGF0IDIwLjM1LjExLnBuZw==\" alt=\"A%20snapshot%20of%20an%20Item's%20associated%203D%20asset\" width=\"156\" height=\"244\" />","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{api-key}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"3a86528a-fec7-49af-a5b9-da6c6c455dcc","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"67bedcb9-11b7-4f67-9b2d-0fc68c2bd85f","type":"text/javascript","exec":[""]}}],"_postman_id":"98d11c1c-4cc4-4bfc-b4b3-7bbc64d29058"},{"name":"Task Management","item":[{"name":"List all image recognition tasks","event":[{"listen":"test","script":{"id":"b4b17590-77db-4895-816c-42f89ea75482","exec":[""],"type":"text/javascript","packages":{}}}],"id":"b6ad42a3-143c-4e6d-91ee-b4ccda23eedc","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true,"user-agent":true,"accept-encoding":true,"connection":true}},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://api.neurolabs.ai/v2/image-recognition/tasks?limit=50","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{api-key}}"}]},"isInherited":true,"source":{"_postman_id":"a2dfc610-294c-4122-ae06-d9228e3e778f","id":"a2dfc610-294c-4122-ae06-d9228e3e778f","name":"Task Management","type":"folder"}},"urlObject":{"path":["image-recognition","tasks"],"host":["https://api.neurolabs.ai/v2"],"query":[{"description":{"content":"<p>Page size limit (Optional)</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"disabled":true,"description":{"content":"<p>Page offset (Optional)</p>\n","type":"text/plain"},"key":"offset","value":"0"}],"variable":[]}},"response":[],"_postman_id":"b6ad42a3-143c-4e6d-91ee-b4ccda23eedc"},{"name":"Retrieve single image recognition task","id":"f273c323-573d-4fb6-9c87-fed2d3fa52b8","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true,"user-agent":true,"accept-encoding":true,"connection":true}},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://api.neurolabs.ai/v2/image-recognition/tasks/{{task_uuid}}","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{api-key}}"}]},"isInherited":true,"source":{"_postman_id":"a2dfc610-294c-4122-ae06-d9228e3e778f","id":"a2dfc610-294c-4122-ae06-d9228e3e778f","name":"Task Management","type":"folder"}},"urlObject":{"path":["image-recognition","tasks","{{task_uuid}}"],"host":["https://api.neurolabs.ai/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"f273c323-573d-4fb6-9c87-fed2d3fa52b8"},{"name":"Create new image recognition task","id":"6e802b5d-9bed-45bb-b8e0-97599dbf5f86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": {{name}},\n  \"catalog_items\": {{catalog_items}},\n  \"compute_realogram\": false,\n  \"compute_shares\": false\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.neurolabs.ai/v2/image-recognition/tasks","description":"<p>To create a new task, you will need to make a request with the following parameters:</p>\n<ul>\n<li><code>name</code>: a string that will be used to identify the task.</li>\n<li><code>catalog_items</code>: an array of strings representing the <code>uuids</code> of the items that the task should detect. If no item is selected, the task will only do localisation of the objects present in the image, assigning all detected bounding boxes to the generic object category.</li>\n<li><code>realogram</code>: this optional field can be used in case you want to retrieve the placement of items on the shelf, for further analysis.</li>\n<li><code>share of shelf</code>: this optional field can be used in case you want to retrieve the share of shelf of each item in your catalog, which can be used for for further analysis.</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{api-key}}"}]},"isInherited":true,"source":{"_postman_id":"a2dfc610-294c-4122-ae06-d9228e3e778f","id":"a2dfc610-294c-4122-ae06-d9228e3e778f","name":"Task Management","type":"folder"}},"urlObject":{"path":["image-recognition","tasks"],"host":["https://api.neurolabs.ai/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e802b5d-9bed-45bb-b8e0-97599dbf5f86"},{"name":"Update existing image recognition task","id":"177f6296-ff4c-46b1-a243-af1651293ba9","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true,"user-agent":true,"accept-encoding":true,"connection":true}},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": {{name}},\n  \"catalog_items\": {{catalog_items}},\n  \"compute_realogram\": false,\n  \"compute_shares\": false\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.neurolabs.ai/v2/image-recognition/tasks/{{task_uuid}}","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{api-key}}"}]},"isInherited":true,"source":{"_postman_id":"a2dfc610-294c-4122-ae06-d9228e3e778f","id":"a2dfc610-294c-4122-ae06-d9228e3e778f","name":"Task Management","type":"folder"}},"urlObject":{"path":["image-recognition","tasks","{{task_uuid}}"],"host":["https://api.neurolabs.ai/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"177f6296-ff4c-46b1-a243-af1651293ba9"},{"name":"Delete existing image recognition task","id":"4630c272-5606-47aa-b433-44debb112cd3","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true,"user-agent":true,"accept-encoding":true,"connection":true}},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.neurolabs.ai/v2/image-recognition/tasks/{{task_uuid_delete}}","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{api-key}}"}]},"isInherited":true,"source":{"_postman_id":"a2dfc610-294c-4122-ae06-d9228e3e778f","id":"a2dfc610-294c-4122-ae06-d9228e3e778f","name":"Task Management","type":"folder"}},"urlObject":{"path":["image-recognition","tasks","{{task_uuid_delete}}"],"host":["https://api.neurolabs.ai/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"4630c272-5606-47aa-b433-44debb112cd3"}],"id":"a2dfc610-294c-4122-ae06-d9228e3e778f","description":"<p>These endpoints allow you to create, read, update, and delete <code>IR Tasks</code>, as well as list all available tasks in your account.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"{{api-key}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"b38ab0c4-2924-4eb2-8457-c98f49211143","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"90e73879-467b-4adb-a72e-af405ffca6e2","type":"text/javascript","exec":[""]}}],"_postman_id":"a2dfc610-294c-4122-ae06-d9228e3e778f"},{"name":"Start Image Recognition","item":[{"name":"Process single image synchronously","event":[{"listen":"test","script":{"id":"c87639ab-a99b-4163-bff0-c7577692d5bd","exec":[""],"type":"text/javascript","packages":{}}}],"id":"c276afc8-a187-4f2b-92ae-866c8d52e863","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","description":"<p>Send Image to a task to analyse</p>\n","type":"file","value":null}]},"url":"https://api.neurolabs.ai/v2/image-recognition/tasks/{{task_uuid}}/sync-image","description":"<p>This endpoint will start image recognition with existing <code>IR task.</code></p>\n<p>A single image needs to be uploaded using the <strong>multipart/form-data</strong> encoding method. This endpoint works <strong>synchronously,</strong> and a new <code>IR Result</code> object will be created and returned in the response when recognition is finished.</p>\n<p>If the image recognition takes longer than the timeout, the response will be returned with empty results and a <code>408</code> status code. However, the recognition will continue running in the background. To get an update on its status, use the <code>/v2/image-recognition/tasks/{task_uuid}/results/{result_uuid}</code> endpoint.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{api-key}}"}]},"isInherited":true,"source":{"_postman_id":"cfe420bf-55dc-416c-9955-aa8068c6011a","id":"cfe420bf-55dc-416c-9955-aa8068c6011a","name":"Neurolabs API v2","type":"collection"}},"urlObject":{"path":["image-recognition","tasks","{{task_uuid}}","sync-image"],"host":["https://api.neurolabs.ai/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"c276afc8-a187-4f2b-92ae-866c8d52e863"},{"name":"Process multiple images asynchronously","event":[{"listen":"test","script":{"id":"c87639ab-a99b-4163-bff0-c7577692d5bd","exec":[""],"type":"text/javascript","packages":{}}}],"id":"732f8b74-4abb-47f2-95a0-8cc240efa8d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"images","description":"<p>Send Image to an IR task to label</p>\n","type":"file","src":"postman-cloud:///1eee644e-d84c-44d0-844e-543ca07d4642"}]},"url":"https://api.neurolabs.ai/v2/image-recognition/tasks/{{task_uuid}}/images","description":"<p>This endpoint will start image recognition with existing image recognition <code>IR Task</code>.</p>\n<p>Images need to be uploaded using the <strong>multipart/form-data</strong> encoding method.</p>\n<p>A separate <code>IR Result</code> will be created for each specified image and a list of <code>result_uuid</code> will be returned as the response. This endpoint works <strong>asynchronously,</strong> so returning the actual <code>IR Results</code> will take longer, depending on SLA agreements.</p>\n<p>You can track status via <code>/v2/image-recognition/tasks/{task_uuid}/results/{result_uuid}</code> endpoint.</p>\n<p>If you provide a value for the <code>callback</code> field in the original payload, after recognition is ready, an HTTP POST request will be sent to the specified url with the <code>IR result</code> as a payload. A callback request will be sent for each <code>IR Result</code> independently as soon as it is ready.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{api-key}}"}]},"isInherited":true,"source":{"_postman_id":"cfe420bf-55dc-416c-9955-aa8068c6011a","id":"cfe420bf-55dc-416c-9955-aa8068c6011a","name":"Neurolabs API v2","type":"collection"}},"urlObject":{"path":["image-recognition","tasks","{{task_uuid}}","images"],"host":["https://api.neurolabs.ai/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"732f8b74-4abb-47f2-95a0-8cc240efa8d3"},{"name":"Process multiple Images from urls asynchronously","id":"49ea3450-78a1-406f-b733-f87be6585f0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"urls\": [\n    \"https://storage.googleapis.com/nlb-dev/public/demo.jpeg\"\n  ],\n  \"callback\": \"https://example.com/\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.neurolabs.ai/v2/image-recognition/tasks/{{task_uuid}}/urls","description":"<p>This endpoint will start image recognition using existing <code>IR Task</code></p>\n<p>Images need to be provided in form of publicly accessible http(s) urls or be made accessible for a certain period of time.</p>\n<p>A separate <code>IR Result</code> will be created for each specified image and a list of <code>result_uuid</code> will be returned as the response. This endpoint works <strong>asynchronously,</strong> so returning the actual <code>IR Results</code> will take longer, depending on SLA agreements.</p>\n<p>You can track status via <code>/v2/image-recognition/tasks/{task_uuid}/results/{result_uuid}</code> endpoint.</p>\n<p>If you provide a value for the <code>callback</code> field in the original payload, after recognition is ready, an HTTP POST request will be sent to the specified url with the <code>IR result</code> as a payload. A callback request will be sent for each <code>IR Result</code> independently as soon as it is ready.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{api-key}}"}]},"isInherited":true,"source":{"_postman_id":"cfe420bf-55dc-416c-9955-aa8068c6011a","id":"cfe420bf-55dc-416c-9955-aa8068c6011a","name":"Neurolabs API v2","type":"collection"}},"urlObject":{"path":["image-recognition","tasks","{{task_uuid}}","urls"],"host":["https://api.neurolabs.ai/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"49ea3450-78a1-406f-b733-f87be6585f0d"}],"id":"b4ba1073-25c3-4d19-a066-41cf3421cec7","description":"<p>These two endpoints provide <strong>synchronous</strong> and <strong>asynchronous</strong> ways to start image recognition with existing <code>IR Task</code> configuration.</p>\n","_postman_id":"b4ba1073-25c3-4d19-a066-41cf3421cec7","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{api-key}}"}]},"isInherited":true,"source":{"_postman_id":"cfe420bf-55dc-416c-9955-aa8068c6011a","id":"cfe420bf-55dc-416c-9955-aa8068c6011a","name":"Neurolabs API v2","type":"collection"}}},{"name":"Image Recognition Results","item":[{"name":"Retrieve results for an image recognition task","id":"d1007c6d-7610-4b7b-a242-ca548446ed6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.neurolabs.ai/v2/image-recognition/tasks/0ab06455-ea0f-4663-9aa7-4874636bf68d/results?limit=50&offset=50","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{api-key}}"}]},"isInherited":true,"source":{"_postman_id":"cfe420bf-55dc-416c-9955-aa8068c6011a","id":"cfe420bf-55dc-416c-9955-aa8068c6011a","name":"Neurolabs API v2","type":"collection"}},"urlObject":{"path":["image-recognition","tasks","0ab06455-ea0f-4663-9aa7-4874636bf68d","results"],"host":["https://api.neurolabs.ai/v2"],"query":[{"disabled":true,"key":"cursor","value":""},{"disabled":true,"key":"start_datetime","value":""},{"disabled":true,"key":"end_datetime","value":""},{"description":{"content":"<p>Maxinum number of image recognition results to return </p>\n","type":"text/plain"},"key":"limit","value":"50"},{"key":"offset","value":"50"}],"variable":[]}},"response":[],"_postman_id":"d1007c6d-7610-4b7b-a242-ca548446ed6b"},{"name":"Retrieve specific image predictions from a Task","id":"6959e7fb-1587-46e5-9aaf-95eb09631e9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.neurolabs.ai/v2/image-recognition/tasks/{{task_uuid}}/results/{{result_uuid}}","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{api-key}}"}]},"isInherited":true,"source":{"_postman_id":"cfe420bf-55dc-416c-9955-aa8068c6011a","id":"cfe420bf-55dc-416c-9955-aa8068c6011a","name":"Neurolabs API v2","type":"collection"}},"urlObject":{"path":["image-recognition","tasks","{{task_uuid}}","results","{{result_uuid}}"],"host":["https://api.neurolabs.ai/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"6959e7fb-1587-46e5-9aaf-95eb09631e9f"}],"id":"3212abe0-67a1-4fa1-b53e-8560a63ac7fe","description":"<p>These two endpoints provide all image predictions for a given <code>IR Task</code> via the <code>task_uuid</code> or provide image predictions for a specific <code>IR Task</code> and a specific <code>Image</code> via the <code>result_uuid</code></p>\n<h2 id=\"coco-neurolabs-annotation\">COCO Neurolabs Annotation<a href=\"https://docs.neurolabs.ai/docs/definitions/detection-job#coco-neurolabs-annotation\">​</a></h2>\n<p>We have added a <code>score</code> property that is a <code>float</code> and represents the calculated confidence of our inference. <code>1</code> representing a <code>100%</code> confidence.</p>\n<p>The <code>alternative_predictions</code> property field highlights the two next best predictions for an <code>item</code> for which the vision model was deployed. These should be used with caution when integrating and the use case further discussed with the Neurolabs Technical team.</p>\n<h3 id=\"coco-neurolabs-category\">COCO Neurolabs Category<a href=\"https://docs.neurolabs.ai/docs/definitions/detection-job#coco-neurolabs-category\">​</a></h3>\n<p>The extra information provided in the <code>neurolabs</code> field is mapped to fields set in <code>Catalog Item</code>. This is useful for mapping back to one's catalog information.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">\"neurolabs\": {\"barcode\": \"1000000\",\n               \"customId\": \"123456\",\n               \"label\": \"Keystone Light 18/12C\",\n               \"productUuid\": \"00000000000000000000\"}\n\n</code></pre>\n","_postman_id":"3212abe0-67a1-4fa1-b53e-8560a63ac7fe","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{api-key}}"}]},"isInherited":true,"source":{"_postman_id":"cfe420bf-55dc-416c-9955-aa8068c6011a","id":"cfe420bf-55dc-416c-9955-aa8068c6011a","name":"Neurolabs API v2","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{api-key}}"}]}},"event":[{"listen":"prerequest","script":{"id":"d023c12f-5bec-4c0e-afc2-9877b72f2df9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"08c7e7b1-e724-4dd3-8923-4a9d87375a6d","type":"text/javascript","exec":[""]}}],"variable":[{"key":"API-URL","value":"https://api.neurolabs.ai/v2"}]}