Pentest-Tools.com Reports API

Operations done on Reports

GitHub OpenAPI

Operations 5

GET /reports Get all reports #
POST /reports Create a report #
GET /reports/{id} Get report information by ID #
DELETE /reports/{id} Delete a report #
GET /reports/{id}/download Download a report #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pentest-tools-com:pentest-tools-com-reports-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pentest-tools-com-reports-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: pentest-tools.com REST Reports API
  version: 1.0.1.1
  description: Operations done on Reports
servers:
- url: https://api.pentest-tools.com/api/v2
  description: Recommended (auto-routes by API key region)
- url: https://app-us.pentest-tools.com/api/v2
  description: US region (direct)
- url: https://app.pentest-tools.com/api/v2
  description: Europe region (direct)
security:
- bearerAuth: []
tags:
- name: Reports
  x-displayName: Reports
  description: Operations done on Reports
paths:
  /reports:
    get:
      summary: Get all reports
      operationId: get_reports
      tags:
      - Reports
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Report'
        401:
          $ref: '#/components/responses/UnauthorizedError'
        403:
          $ref: '#/components/responses/ForbiddenError'
        429:
          $ref: '#/components/responses/TooManyRequestsError'
        500:
          description: Internal server error
    post:
      summary: Create a report
      operationId: create_report
      tags:
      - Reports
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateReport'
      responses:
        202:
          description: Accepted
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    type: object
                    properties:
                      report_id:
                        type: integer
                        example: 123456
                        description: The ID of the report that is being generated
        401:
          $ref: '#/components/responses/UnauthorizedError'
        403:
          $ref: '#/components/responses/ForbiddenError'
        422:
          $ref: '#/components/responses/UnprocessableEntityError'
        429:
          $ref: '#/components/responses/TooManyRequestsError'
        500:
          description: Internal server error
  /reports/{id}:
    parameters:
    - name: id
      in: path
      description: id of report
      required: true
      schema:
        type: integer
    get:
      summary: Get report information by ID
      operationId: get_report
      tags:
      - Reports
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    $ref: '#/components/schemas/Report'
        401:
          $ref: '#/components/responses/UnauthorizedError'
        403:
          $ref: '#/components/responses/ForbiddenError'
        404:
          $ref: '#/components/responses/ObjectNotFoundError'
        429:
          $ref: '#/components/responses/TooManyRequestsError'
        500:
          description: Internal server error
    delete:
      summary: Delete a report
      operationId: delete_report
      tags:
      - Reports
      responses:
        204:
          description: Deleted successfully
        401:
          $ref: '#/components/responses/UnauthorizedError'
        403:
          $ref: '#/components/responses/ForbiddenError'
        404:
          $ref: '#/components/responses/ObjectNotFoundError'
        429:
          $ref: '#/components/responses/TooManyRequestsError'
        500:
          description: Internal server error
  /reports/{id}/download:
    parameters:
    - name: id
      in: path
      description: id of report
      required: true
      schema:
        type: integer
    get:
      summary: Download a report
      operationId: download_report
      tags:
      - Reports
      responses:
        200:
          description: OK
          content:
            application/pdf:
              schema:
                type: string
                format: binary
            text/html:
              schema:
                type: string
            text/csv:
              schema:
                type: string
            application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:
              schema:
                type: string
                format: binary
            application/zip:
              schema:
                type: string
                format: binary
            application/json:
              schema:
                type: object
        202:
          description: The report is still being generated.
        204:
          description: There is no data for the report. This may be due to the a failure in report generation
        401:
          $ref: '#/components/responses/UnauthorizedError'
        403:
          $ref: '#/components/responses/ForbiddenError'
        404:
          $ref: '#/components/responses/ObjectNotFoundError'
        429:
          $ref: '#/components/responses/TooManyRequestsError'
        500:
          description: Internal server error
components:
  responses:
    ObjectNotFoundError:
      description: The object with the given ID was not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    UnauthorizedError:
      description: API key is missing or invalid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    UnprocessableEntityError:
      description: Invalid parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    ForbiddenError:
      description: You can"t perform this action.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    TooManyRequestsError:
      description: Too many requests made in a short period of time
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    CreateReport:
      type: object
      required:
      - format
      - group_by
      - source
      - resources
      properties:
        format:
          type: string
          enum:
          - pdf
          - html
          - json
          - csv
          - xlsx
          - docx
        group_by:
          type: string
          enum:
          - target
          - vulnerability
        source:
          type: string
          enum:
          - scans
          - findings
        resources:
          type: array
          items:
            type: integer
          description: The IDs of the resources to include in the report. Use finding IDs if the source parameter is set to `findings`, or scan IDs if the source parameter is set to `scans`.
        filters:
          type: object
          properties:
            include_finding_history:
              type: boolean
              default: false
            include_all_targets:
              type: boolean
              default: false
            include_how_to_reproduce:
              type: boolean
              default: true
            include_false_positives:
              type: boolean
              default: false
            include_info:
              type: boolean
              default: true
            include_not_verified:
              type: boolean
              default: true
            include_ignored:
              type: boolean
              default: false
            include_accepted:
              type: boolean
              default: true
            include_fixed:
              type: boolean
              default: true
            include_tool_configuration:
              type: boolean
              default: true
        webhook_url:
          type:
          - string
          - 'null'
          format: url
    ErrorResponse:
      type: object
      additionalProperties: false
      properties:
        status:
          type: integer
          example: 401
        message:
          type: string
          example: No API key specified
    Report:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        download_name:
          type: string
          example: report.pdf
          readOnly: true
        status:
          type: string
          enum:
          - waiting
          - in_progress
          - finished
          - failed
          - unauthorized
          readOnly: true
        format:
          type: string
          enum:
          - pdf
          - html
          - json
          - csv
          - xlsx
          - docx
          readOnly: true
        generation_date:
          type: string
          format: date-time
          readOnly: true
        expiration_date:
          type: string
          format: date-time
          readOnly: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Use the "API key" from the [profile page](https://app.pentest-tools.com/account/api) as the token