Lens API
Register Lens
Register a new lens configuration that can be used to create sessions
POST
Overview
Register a new lens by providing a configuration. The lens can be a minimal registration (just a name) or a full production lens with model pipeline and parameters.Request Body
Configuration object for the lens
Response
Unique identifier for the registered lens (format: “lns-…”)
Name of the registered lens
Whether the lens can be modified or deleted
Current status of the lens (“LENS_STATUS_MOUNTED” or “LENS_STATUS_REGISTERED”)
If
false, indicates an error occurred. Check error_messages for details.Array of error messages if registration failed