Skip to main content
POST
Requires version 1.1.5 or later of the Archetype platform.

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

object
required
Configuration object for the lens

Response

string
Unique identifier for the registered lens (format: “lns-…”)
string
Name of the registered lens
boolean
Whether the lens can be modified or deleted
string
Current status of the lens (“LENS_STATUS_MOUNTED” or “LENS_STATUS_REGISTERED”)
boolean
If false, indicates an error occurred. Check error_messages for details.
array
Array of error messages if registration failed