Detect
POST /detect
labelsis optional and defaults to the instrument and hand set. Labels can be free text or catalog ids, up to 32.thresholddefaults to 0.2. Use 0.3 or more on cluttered scenes.- Images are downscaled so the long side is at most 1024 px. Encoded images over 8 MB are rejected.
id is set when a label maps to exactly one catalog tool; otherwise check candidateIds.
Errors return {"error": code}: invalid_request (422), invalid_base64, invalid_image, unsupported_image_format, empty_image and image_too_large (413).
Other routes
GET /healthreturns{status, model, device, warmupMs}.GET /modelsreturns the active model, the backends and the default labels.