---
title: "Get issues by application"
method: POST
path: "/api/v1/stats/issuesByApplication"
tags: ["Stats"]
---

# Get issues by application

`POST /api/v1/stats/issuesByApplication`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v1/stats/issuesByApplication`
- Auth: API key in header `X-ZeroPath-API-Token-Id` and API key in header `X-ZeroPath-API-Token-Secret`

## Request body

- object
  - `organizationId` string
  - `projectId` string
  - `startDate` string, date
  - `endDate` string, date
  - `severities` string[]
  - `vulnClasses` string[]
  - `applicationFilters` object[]
    - `repositoryId` string, required
    - `relativePath` string, required

## Response `200`

Successful response

- object[]
  - `id` string
  - `repositoryId` string
  - `repositoryName` string
  - `repositoryMonorepoName` string, nullable
  - `name` string
  - `relativePath` string
  - `open` number
  - `resolved` number

---

[API](https://skmtc.dev/zeropath/apis/zeropath-api-2.md) - [All operations](https://skmtc.dev/zeropath/apis/zeropath-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/zeropath/apis/zeropath-api-2/revisions/ea6ae4b68cd3?raw)
