curl commands.
1. Get an API key
In the Lymo web app, go to Settings → Platform and click Create key. Copy the generated key (starts withlymo_) — it is shown once.
LYMO_BASE stops at the host so the same variable works for both the unversioned /health probe and every versioned /v1/* endpoint.
2. Verify the connection
Start with a no-auth health check to confirm you can reach the API:/health returns but /v1/members/me does not, the problem is authentication (wrong key, revoked, or missing scope). If /health itself fails, you have a network or base-URL problem.
3. List your videos
4. Trigger an analysis
Analyses are asynchronous —POST creates the resource and returns 201 immediately with status: "processing". Poll the resource for completion.
status becomes completed, a result object carrying the analysis output appears on the same resource. See Async pattern for the full polling loop and idempotency.
Error handling
All errors share a consistent shape. The codes you’re most likely to see during setup areunauthorized (401), forbidden (403), not_found (404), validation_failed (422), and rate_limited (429). For the full table — including recovery steps and cross-tenant 404 semantics — see the Errors guide.
Idempotency
POST requests accept an Idempotency-Key header. Reuse it whenever a network retry could cause duplicate work (e.g. an ambiguous client timeout on analysis creation):
