About the Lens API
An API to run and manage batch processing jobs against multiple files.
Register Lens
Register a new lens configuration that can be used to create sessions
Clone Lens
Creates a copy of a lens template
Modify Lens
Modifies an existing lens template
Delete Lens
Deletes a lens template
Get Lens Info
Retrieve high-level information about all lenses in your organization
Get Lens Metadata
Retrieve detailed metadata for all lenses available to your organization
Create Lens Session
Create a new lens session for processing sensor data
Destroy Lens Session
Destroy an active lens session and free up resources
Get Sessions Info
Get summary information about all lens sessions in your organization
Get Sessions Metadata
Get detailed metadata for all active lens sessions
Session Events Process
Sends an event to an active session to process
Lens Events API (WebSocket)
Real-time control and data streaming for lens sessions via WebSocket
Consume Session Events (SSE)
Subscribe to a lens session’s Server-Sent Events stream to receive asynchronous inference results
Lens API Examples
Complete examples for CSV streaming and RTSP camera integration
Was this page helpful?