curl -X POST https://api.dev.u1.archetypeai.app/v0.5/lens/register \ -H "Authorization: Bearer $ATAI_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "lens_config": { "lens_name": "My Test Lens" } }'
{ "lens_id": "lns-test-lens-176520-e7885b3f", "lens_name": "My Test Lens", "lens_status": "LENS_STATUS_MOUNTED", "lens_modifiable": true, "lens_config": { "model_pipeline": [ { "processor_name": "lens_noop_processor", "processor_config": {} } ] } }
Register a new lens configuration that can be used to create sessions
Bearer $ATAI_API_KEY
Show properties
false
error_messages
Was this page helpful?