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

# Get a rendered report

> Fetch a single report and render it as Markdown or HTML on demand.



## OpenAPI

````yaml /developer-docs/api/openapi.json get /v1/public/clients/{client_id}/documents/{document_id}
openapi: 3.1.0
info:
  title: Everbility Public API
  version: 1.0.0
  description: >-
    Pull reports from Everbility, upload notes and files, poll asynchronous
    jobs, and generate reports from saved templates. Partner endpoints let
    approved platforms connect practices with OAuth 2.0, launch report-writing
    sessions, receive signed lifecycle webhooks, and retrieve completed
    documents.
servers:
  - url: https://api.everbility.com
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/public/clients/{client_id}/documents/{document_id}:
    get:
      tags:
        - external
      summary: Get a rendered report
      description: Fetch a single report and render it as Markdown or HTML on demand.
      operationId: >-
        get_client_document_v1_external_clients__client_id__documents__document_id__get
      parameters:
        - name: client_id
          in: path
          required: true
          schema:
            type: integer
            title: Client Id
        - name: document_id
          in: path
          required: true
          schema:
            type: string
            title: Document Id
        - name: format
          in: query
          required: false
          schema:
            enum:
              - markdown
              - html
            type: string
            default: markdown
            title: Format
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalDocumentDetail'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - bearerAuth: []
components:
  schemas:
    ExternalDocumentDetail:
      properties:
        _id:
          type: string
          title: ' Id'
        type:
          type: string
          enum:
            - report
          const: report
          title: Type
          default: report
        client_id:
          type: integer
          title: Client Id
        title:
          type: string
          title: Title
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        format:
          type: string
          enum:
            - markdown
            - html
          title: Format
        content:
          type: string
          title: Content
      type: object
      required:
        - _id
        - client_id
        - title
        - created_at
        - updated_at
        - format
        - content
      title: ExternalDocumentDetail
    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
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Use a Clerk-backed Everbility user or organisation API key directly as
        the bearer token.

````