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

# Read the manual the catalog publishes for a document

> Returns the curated manual as markdown, read from the CATALOG: the newest release of this deployment's channel, the same one the documents list reads, with X-Document-Version naming that catalog version. Unlike its sibling document routes, which answer the copy a subscription pinned, it needs no subscription — it is what a person reads before choosing a document. A tenant filing an adopted version reads that version's manual on the subscription's manual route. A document the catalog does not publish, or a deployment with no catalog, answers 404 RPT-0147; a document that publishes no manual answers 404. An origin that cannot be read or verified answers 400 RPT-0155, as the documents list does.



## OpenAPI

````yaml /pt/openapi/v3-current/reporter.yaml get /v1/regulatory/documents/{documentId}/manual
openapi: 3.1.0
info:
  contact:
    email: contact@lerian.studio
    name: Lerian Studio
    url: https://lerian.studio
  description: >-
    Reporter generates regulatory, accounting and operational reports from
    templates over your data sources.
  license:
    name: Lerian Studio General License
  title: Reporter API
  version: 4.0.0
servers:
  - url: https://reporter.sandbox.lerian.net
security:
  - BearerAuth: []
tags:
  - description: Generated report instances and their lifecycle.
    name: Reports
  - description: Reusable report definitions.
    name: Templates
  - description: Interactive construction of report templates.
    name: Template Builder
  - description: Scheduled report due-date tracking.
    name: Deadlines
  - description: Configured inputs that feed report data.
    name: Data Sources
  - description: Aggregated reporting metrics.
    name: Metrics
  - description: Published business event catalog and delivery policies.
    name: Streaming
paths:
  /v1/regulatory/documents/{documentId}/manual:
    get:
      tags:
        - Regulatory Catalog
      summary: Read the manual the catalog publishes for a document
      description: >-
        Returns the curated manual as markdown, read from the CATALOG: the
        newest release of this deployment's channel, the same one the documents
        list reads, with X-Document-Version naming that catalog version. Unlike
        its sibling document routes, which answer the copy a subscription
        pinned, it needs no subscription — it is what a person reads before
        choosing a document. A tenant filing an adopted version reads that
        version's manual on the subscription's manual route. A document the
        catalog does not publish, or a deployment with no catalog, answers 404
        RPT-0147; a document that publishes no manual answers 404. An origin
        that cannot be read or verified answers 400 RPT-0155, as the documents
        list does.
      operationId: getRegulatoryDocumentManual
      parameters:
        - description: Document identifier, as the catalog publishes it.
          example: br.bcb.cadoc-4010
          in: path
          name: documentId
          required: true
          schema:
            description: Document identifier, as the catalog publishes it.
            type: string
      responses:
        '200':
          content:
            text/markdown; charset=utf-8:
              schema:
                description: The document's manual, as the catalog publishes it.
                type: string
          description: OK
          headers:
            Content-Type:
              schema:
                description: Media type of the manual.
                examples:
                  - text/markdown; charset=utf-8
                type: string
            X-Document-Version:
              schema:
                description: >-
                  The document version this manual explains, as the catalog
                  publishes it now (the newest release of the deployment's
                  channel).
                examples:
                  - 1.0.0
                type: string
        '400':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Detail'
          description: Bad Request
        '401':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Detail'
          description: Unauthorized
        '403':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Detail'
          description: Forbidden
        '404':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Detail'
          description: Not Found
        '500':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Detail'
          description: Internal Server Error
components:
  schemas:
    Detail:
      properties:
        code:
          description: >-
            Stable, machine-readable domain error code scoped to the emitting
            service (format: <SERVICE>-NNNN).
          type: string
        detail:
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem.
          examples:
            - Property foo is required but is missing.
          type: string
        errors:
          description: Optional list of individual error details
          examples:
            - - location: body.templateId
                message: expected string to match 'uuid' format
                value: not-a-uuid
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type:
            - array
            - 'null'
        instance:
          description: >-
            A URI reference that identifies the specific occurrence of the
            problem.
          examples:
            - https://example.com/error-log/abc123
          format: uri
          type: string
        status:
          description: HTTP status code
          examples:
            - 400
          format: int64
          type: integer
        title:
          description: >-
            A short, human-readable summary of the problem type. This value
            should not change between occurrences of the error.
          examples:
            - Bad Request
          type: string
        type:
          default: about:blank
          description: A URI reference to human-readable documentation for the error.
          examples:
            - https://example.com/errors/example
          format: uri
          type: string
        upstream:
          $ref: '#/components/schemas/Upstream'
          description: >-
            RFC 9457 extension member: the error a proxied third-party provider
            reported. Absent unless the emitting service explicitly surfaced
            one.
      type: object
    ErrorDetail:
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          examples:
            - body.templateId
          type: string
        message:
          description: Error message text
          examples:
            - expected string to match 'uuid' format
          type: string
        value:
          description: The value at the given location
          examples:
            - not-a-uuid
      type: object
    Upstream:
      additionalProperties: false
      properties:
        code:
          description: The upstream provider's own error code, verbatim.
          examples:
            - E4001
          type: string
        message:
          description: >-
            The upstream provider's own error message, verbatim (bounded, never
            its raw response body).
          examples:
            - account not found at provider
          type: string
      type: object
  securitySchemes:
    BearerAuth:
      bearerFormat: JWT
      description: JWT bearer token issued by the identity provider.
      scheme: bearer
      type: http

````

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