> ## 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 issues timeline statistics for a workspace

> Retrieves issues timeline statistics for a workspace, showing the number of vulnerabilities over time.



## OpenAPI

````yaml /api-reference/openapi.json get /api/statistic/issues-timeline
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/statistic/issues-timeline:
    get:
      tags:
        - Statistic
      summary: Get issues timeline statistics for a workspace
      description: >-
        Retrieves issues timeline statistics for a workspace, showing the number
        of vulnerabilities over time.
      operationId: StatisticController_getIssuesTimeline
      parameters:
        - name: X-Workspace-Id
          in: header
          description: Workspace ID
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IssuesTimelineResponseDto'
                allOf:
                  - $ref: '#/components/schemas/AppResponseSerialization'
components:
  schemas:
    IssuesTimelineResponseDto:
      type: object
      properties:
        data:
          description: List of issues over time
          type: array
          items:
            $ref: '#/components/schemas/IssuesTimelineItem'
        total:
          type: number
          description: Total count of issues timeline records
          example: 5
      required:
        - data
        - total
    IssuesTimelineItem:
      type: object
      properties:
        vuls:
          type: number
          description: Number of vulnerabilities
          example: 10
        createdAt:
          format: date-time
          type: string
          description: Creation timestamp
          example: '2023-10-27T10:00:00Z'
      required:
        - vuls
        - createdAt

````