curl -X POST https://api.dev.u1.archetypeai.app/v0.5/lens/sessions/events/process \ -H "Authorization: Bearer $ATAI_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "session_id": "lsn-250313c2177253cbaa7a73542edd90", "event": { "type": "image", "data": "base64_encoded_image_data" } }'
{ "type": "success", "event_data": { "response": "Processing result..." } }
Sends an event to an active session to process
Bearer $ATAI_API_KEY
type
Was this page helpful?