---
title: "Get compliance statistics per application"
method: GET
path: "/compliance/per-application"
tags: ["Compliance"]
---

# Get compliance statistics per application

`GET /compliance/per-application`

## Request

- Base URL: `https://public.escape.tech/v3`
- URL: `https://public.escape.tech/v3/compliance/per-application`
- Auth: API key in header `X-ESCAPE-API-KEY`

Get compliance statistics (failed/total items per framework) for each application. Optionally filter by profile IDs.

## Query parameters

- `cursor` string: The cursor to start the pagination from
- `size` integer: The number of items to return
- `profileIds` union: Filter by profile IDs (comma-separated)
  - string
  - string[]

## Response `200`

OK

- object
  - `nextCursor` string, nullable, required
  - `totalCount` integer
  - `data` object[], required
    - `application` object, required
      - `id` string, required: The application ID
      - `name` string, required: The application name
    - `compliances` object[], required: Compliance statistics for this application
      - `framework` 'BITSIGHT' | 'CRA' | 'CWE' | 'DORA' | 'FEDRAMP' | 'GDPR' | 'HIPAA' | 'HITRUST_CSF' | 'IEC62443' | 'ISO27001' | 'MITRE_ATTACK' | 'NIS2' | 'NIST' | 'OWASP' | 'OWASP_ASVS' | 'OWASP_LLM' | 'PCI_DSS' | 'PSD2' | 'SECURITY_SCORECARD' | 'SOC2' | 'WASC', required: The compliance framework
      - `failed` integer, required: Number of failed compliance items
      - `total` integer, required: Total number of compliance items

## Other responses

- `400`: Bad Request

---

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