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

# Generate profile audit PDF

> Returns a PDF audit export for the specified screening profile. Provide the profile ID in the path and omit the request body. Minerva generates the report from stored records, including profile details, screening history, retained match evidence, analyst comments, and the authenticated application that requested the export. The API key must belong to an application that can access the profile's tenant and workspace.



## OpenAPI

````yaml /api-reference/profiles.json post /profile-audit-reports/v1/profiles/{profile_id}/pdf
openapi: 3.1.0
info:
  title: Profiles API
  version: 1.0.0
  description: >-
    Customer-facing API endpoints for managing screening profiles and updating
    potential match review workflows.
servers:
  - description: The production API server for Minerva AI for managing screening profiles
    url: https://api.gominerva.com/clm/v1
security: []
tags:
  - name: Profile Management
    description: Create, list, update, and comment on screening workflow profiles.
  - name: Potential Matches
    description: Update review workflow state for potential matches returned by searches.
externalDocs:
  description: ''
  url: ''
paths:
  /profile-audit-reports/v1/profiles/{profile_id}/pdf:
    post:
      tags:
        - Profile Management
      summary: Generate profile audit PDF
      description: >-
        Returns a PDF audit export for the specified screening profile. Provide
        the profile ID in the path and omit the request body. Minerva generates
        the report from stored records, including profile details, screening
        history, retained match evidence, analyst comments, and the
        authenticated application that requested the export. The API key must
        belong to an application that can access the profile's tenant and
        workspace.
      parameters:
        - description: ID of the screening profile to export.
          in: path
          name: profile_id
          required: true
          schema:
            type: string
          example: 66c391b92888a0db5cc6d3f6
        - description: >-
            Optional download filename, without the `.pdf` extension. This
            changes only the `Content-Disposition` filename; report content is
            always generated from Minerva records.
          in: query
          name: fileName
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Generated profile audit PDF.
          content:
            application/pdf:
              schema:
                type: string
                format: binary
        '400':
          description: Invalid profile ID or filename.
        '401':
          description: Invalid application API key.
        '403':
          description: >-
            Missing API key, archived tenant, disabled account, disallowed
            request IP, or tenant/workspace scope mismatch.
        '404':
          description: Profile not found.
      security:
        - ApiKeyAuth: []
      servers:
        - url: https://api.gominerva.com
          description: The production API server for Minerva AI
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        The Minerva API key used for this integration. Manage API keys in the
        Minerva dashboard under Administration > Developers.

````