Push defect scan from edge device
Receive a defect-detection scan from an edge device after on-device inference. Updates
container.defectScan, auto-computes per-detection severity and overall structural
integrity. Auto-creates the Container if it doesn’t exist. Uses API key authentication.
See /v1/edge/containers/identify for user_email semantics.
Authentication
X-API-Keystring
API key for edge device authentication
Path parameters
containerNumber
Request
This endpoint expects an object.
detections
image
Base64-encoded JPEG (raw or data URL). Body limit 50MB.
visualization
Optional base64-encoded annotated image
user_email
Operator email; falls back to edge-device@cargovision.app
camera_id
device_id
timestamp
Response
Defect scan recorded
Errors
400
Bad Request Error
401
Unauthorized Error
