> ## Documentation Index
> Fetch the complete documentation index at: https://docs.locusmedical.fr/llms.txt
> Use this file to discover all available pages before exploring further.

# Ce que le crédentiel présenté affirme

> Le client, le compte quand le crédentiel en nomme un, et par quelle porte on est entré. Une route de DIAGNOSTIC : c'est le premier appel à faire quand une intégration répond 401 sans qu'on sache si la clé est mauvaise, le jeton expiré, ou le client désactivé.



## OpenAPI

````yaml /openapi.json get /v2/whoami
openapi: 3.1.0
info:
  title: Locus API
  description: >-
    Locus knowledge layer — REST over a clinical knowledge graph.


    Two categories of surface:

    - **query** (read) — `/v2/retrieve` and `/v2/retrieve/stream`
    (knowledge-graph retrieval, MKF 0.1.3), `/v2/drugs/*` (the full text of an
    SmPC section a retrieval truncated) and `/v2/feedback` (a thumb on a traced
    answer);

    - **ops** — `/health`.


    The write plane (PDF → Neo4j graph: ingest, summarize, MKU extraction) is
    NOT exposed over HTTP — it is a batch pipeline driven by the `locus` CLI,
    which runs where the source PDFs are.
  version: 0.5.0
servers:
  - url: https://core.locusmedical.fr
    description: Production
security: []
paths:
  /v2/whoami:
    get:
      tags:
        - b2b
      summary: Ce que le crédentiel présenté affirme
      description: >-
        Le client, le compte quand le crédentiel en nomme un, et par quelle
        porte on est entré. Une route de DIAGNOSTIC : c'est le premier appel à
        faire quand une intégration répond 401 sans qu'on sache si la clé est
        mauvaise, le jeton expiré, ou le client désactivé.
      operationId: whoami_v2_whoami_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Whoami V2 Whoami Get
      security:
        - lsk: []
components:
  securitySchemes:
    lsk:
      type: http
      description: >-
        Locus API key — paste the raw `lsk_…` value (no 'Bearer ' prefix) — or a
        B2B session token minted by `POST /v2/session-token`.
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.