> ## 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.

# Get vulnerabilities statistics

> Provides aggregated statistical analysis of security vulnerabilities categorized by severity levels, enabling risk assessment and prioritization of remediation efforts.



## OpenAPI

````yaml /api-reference/openapi.json get /api/vulnerabilities/statistics
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/vulnerabilities/statistics:
    get:
      tags:
        - Vulnerabilities
      summary: Get vulnerabilities statistics
      description: >-
        Provides aggregated statistical analysis of security vulnerabilities
        categorized by severity levels, enabling risk assessment and
        prioritization of remediation efforts.
      operationId: VulnerabilitiesController_getVulnerabilitiesStatistics
      parameters:
        - name: workspaceId
          required: true
          in: query
          schema:
            type: string
        - name: targetIds
          required: false
          in: query
          schema:
            type: array
            items:
              type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetVulnerabilitiesStatisticsResponseDto'
                allOf:
                  - $ref: '#/components/schemas/AppResponseSerialization'
components:
  schemas:
    GetVulnerabilitiesStatisticsResponseDto:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/VulnerabilityStatisticsDto'
      required:
        - data
    VulnerabilityStatisticsDto:
      type: object
      properties:
        severity:
          type: string
          enum:
            - info
            - low
            - medium
            - high
            - critical
        count:
          type: number
      required:
        - severity
        - count

````