Loading...
Log an analytics event.
Optional session ID for users who have not signed in yet. Helps match anonymous activity with user activity once they sign in.
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
const response = await fetch('https://studio.edgeimpulse.com/v1/api-metrics/events', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "eventName": "text" }), }); const data = await response.json();
{ "success": false, "error": "text" }