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

# Generate summary PDF report

> Generates a summary (Attack Surface Discovery) PDF report.



## OpenAPI

````yaml /api-reference/openapi.json post /api/reports/generate/summary
openapi: 3.0.0
info:
  title: Open Attack Surface Management
  description: Open-source platform for cybersecurity Attack Surface Management (ASM)
  version: '1.0'
  contact: {}
servers:
  - url: https://{baseUrl}/api/v1
    variables:
      baseUrl:
        default: localhost:3000
        description: API server hostname with port (e.g. localhost:3000, api.example.com)
security: []
tags: []
externalDocs:
  description: Authentication Docs
  url: auth/docs
paths:
  /api/reports/generate/summary:
    post:
      tags:
        - Reports
      summary: Generate summary PDF report
      description: Generates a summary (Attack Surface Discovery) PDF report.
      operationId: ReportsController_generateSummaryReport
      parameters:
        - name: X-Workspace-Id
          in: header
          description: Workspace ID
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenerateSummaryReportBodyDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DefaultMessageResponseDto'
                allOf:
                  - $ref: '#/components/schemas/AppResponseSerialization'
components:
  schemas:
    GenerateSummaryReportBodyDto:
      type: object
      properties:
        startDate:
          type: string
          description: Start date for summary report filter
        endDate:
          type: string
          description: End date for summary report filter
        targetIds:
          description: Target IDs to filter summary data
          type: array
          items:
            type: string
    DefaultMessageResponseDto:
      type: object
      properties:
        message:
          type: string
          example: Success
      required:
        - message

````