Skip to main content
You need a Locus API key — a bearer token shaped lsk_<slug>_<random>. See Authentication.
Base URL used here: https://core.locusmedical.fr. Replace it with your deployment’s URL if it differs.

1. Ask a question

answer is Markdown. The same route can also render a readable document, picked with the Accept header:

2. Stream progress into your UI

An answer is built in several heavy steps. Rather than leave the user watching a bar that invents its progress, call /v2/retrieve/stream: one JSON line per step that actually completed, then a done line carrying the full payload.

3. Try it in the playground

The API Reference tab shows every endpoint with an interactive playground. Click Authorization, paste your lsk_… key, and fire a request without leaving the docs.

Next steps

Authentication

Key format, hashing, quotas.

Capabilities

What each endpoint does and when to use it.