Lucida for developers
Lucida is product analytics, session replay, heatmaps, experiments and feature flags behind one HTTP API. You send events from your app, and everything you can click in the console you can also read and script.
Start here
- Quickstart Create a project, copy its public key, send your first event.
- API reference Every endpoint by area, generated from the live OpenAPI document.
- OpenAPI document
/v1/openapi.json. Management API and capture routes. - Capture wire format The JSON batch the SDKs post, if you would rather send events yourself.
- SDK repositories Browser (TypeScript) first, published from github.com/lucidaanalytics with provenance.
- llms.txt The docs as plain text for coding assistants.
Send an event
Events go to the capture host with a project public key. Replace the key and the distinct id with yours.
curl -X POST https://capture.lucidace.com/v1/batch \
-H 'Content-Type: application/json' \
-d '{"api_key":"lc_pk_...","batch":[{"uuid":"0192f4c4-7f0e-7c3a-9d21-5b1f0e8a4c11","event":"signed_up","distinct_id":"user_123"}]}'
Success is 200 with {"status":1}. Fields, keys, limits and the server-to-server and replay routes are on the capture wire page.
Things to know
- Delivery is at least once. Lucida removes duplicates by each event's
uuid, so give every event one and reuse it on retry. - Retry
429(honourRetry-After),500,502,503,504and network errors with exponential backoff and the sameuuid; never other4xx. A deploy can interrupt capture for minutes, and the SDKs give up after about 15-31 s by default. Details on the capture wire page. - The project and organisation come from your key, never from the request body. Properties that start with
$lc_are stripped at the edge. - The public API lives under
/v1. Errors areapplication/problem+json(RFC 9457), and lists use?limit=&cursor=and return{data, next_cursor}. - Resources you cannot access return 404, not 403.
- Replay masks inputs by default and nothing is collected before consent. Errors, traces and performance belong to Watchtower, which Lucida links to.
Pricing · Trust · Status · Changelog · Community · Privacy · Terms