Skip to main content
This guide walks you from zero to a running analysis in a handful of curl commands.
Prefer a CLI over raw HTTP? Install lymo and run lymo setup && lymo summary latest — same API, with browser-based sign-in, named profiles, and built-in MCP support for agents.

1. Get an API key

In the Lymo web app, go to Settings → Platform and click Create key. Copy the generated key (starts with lymo_) — 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:
Then confirm your key is accepted:
If /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

Pick a video ID from the response and save it. IDs are UUIDs — there is no resource prefix.

4. Trigger an analysis

Analyses are asynchronous — POST creates the resource and returns 201 immediately with status: "processing". Poll the resource for completion.
Poll for the result:
When 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 are unauthorized (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):
See Async pattern → Idempotency for the full cache semantics, TTL, and when to send a fresh key.