Lucida API
Base URL, API keys, errors, pagination and where to find each endpoint.
Everything the Lucida app does goes through the same HTTP API, so anything you can click you can also script. The endpoints are listed by area under Endpoints, generated from the live OpenAPI document.
Base URL
https://lucidace.comThe control-plane API lives under /v1. Browsers and servers send events to the capture host shown in your project's install instructions, not to the app host.
Authentication
Create a key under Settings → Project and send it as a bearer token:
curl https://lucidace.com/v1/me \
-H "Authorization: Bearer lc_sk_..."A secret key (
lc_sk_) is for servers only. Give it the narrowest scopes it needs.A public key (
lc_pk_) is for the browser and mobile SDKs and can only capture events and read flags. It never authenticates the control plane.A personal key (
lc_pat_) acts as you, from Settings → Personal.Which organization and project a call touches comes only from the key. Resources you cannot see answer
404, not403.
Errors
Errors are application/problem+json (RFC 9457) with a title, a status and a detail. Validation errors list each failing field in errors.
Pagination
List endpoints take ?limit=&cursor= and answer { "data": [...], "next_cursor": "..." }. Pass next_cursor back as cursor until it is null.
Delivery
Events are delivered at least once and deduplicated by the event uuid. Send the same uuid when you retry.
Guides
Step-by-step guides are in the Guides. What changed is in the changelog.