> ## 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.

# Texte intégral d'une rubrique de RCP

> `rubric_id` est le sha256 du texte normalisé, tel que rendu par `/v2/retrieve` dans `drugs[].reference.rubrics[].id`. La réponse porte le texte ENTIER (`truncated: false`) — jamais un résumé : une contre-indication résumée est une contre-indication réécrite.



## OpenAPI

````yaml /openapi.json get /v2/drugs/rubrics/{rubric_id}
openapi: 3.1.0
info:
  title: Locus API
  description: >-
    Locus knowledge layer — REST + MCP for clinical knowledge.


    Two categories of surface:

    - **query** (read) — `/v1/search`, `/v1/answer`, `/v1/context` (legacy Meili
    contract serving AlmaPro) and `/v2/retrieve` (knowledge-graph retrieval, MKF
    0.1.3).

    - **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.2.0
servers:
  - url: https://core.locusmedical.fr
    description: Production
security: []
paths:
  /v2/drugs/rubrics/{rubric_id}:
    get:
      tags:
        - query
      summary: Texte intégral d'une rubrique de RCP
      description: >-
        `rubric_id` est le sha256 du texte normalisé, tel que rendu par
        `/v2/retrieve` dans `drugs[].reference.rubrics[].id`. La réponse porte
        le texte ENTIER (`truncated: false`) — jamais un résumé : une
        contre-indication résumée est une contre-indication réécrite.
      operationId: drug_rubric_v2_drugs_rubrics__rubric_id__get
      parameters:
        - name: rubric_id
          in: path
          required: true
          schema:
            type: string
            title: Rubric Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RetrieveDrugRubric'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - lsk: []
components:
  schemas:
    RetrieveDrugRubric:
      properties:
        id:
          type: string
          title: Id
        code:
          type: string
          title: Code
          description: 4.1 | 4.2 | 4.3 | 4.4 | 4.5 | 4.6 | 4.8 | 5.1
          default: ''
        label:
          type: string
          title: Label
          default: ''
        text:
          type: string
          title: Text
          default: ''
        truncated:
          type: boolean
          title: Truncated
          default: false
      type: object
      required:
        - id
      title: RetrieveDrugRubric
      description: >-
        Une rubrique de RCP (MKF-Drug 0.1.0, sous-graph entretenu par
        locus-drugs).


        `text` est TRONQUÉ côté serveur, jamais résumé — un résumé de

        contre-indication est une contre-indication réécrite. `truncated` le
        dit, et

        `id` (sha256 du texte normalisé) permet d'aller chercher le texte entier
        :

        `GET /v2/drugs/rubrics/{id}`.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    lsk:
      type: http
      description: Locus API key — paste the raw `lsk_…` value (no 'Bearer ' prefix).
      scheme: bearer

````