---
title: "Get the npm audit report"
method: GET
path: "/v1/projects/{projectID}/npm-audit-report"
tags: ["Apps"]
---

# Get the npm audit report

`GET /v1/projects/{projectID}/npm-audit-report`

## Request

- Base URL: `https://api.liara.ir`
- URL: `https://api.liara.ir/v1/projects/{projectID}/npm-audit-report`
- Auth: HTTP bearer

Returns the `npm audit` report from the app's latest build. A report exists only for `node` apps deployed with `platformConfig.npmAudit` set to `true`. Team permission: `deploy`, `operate` or `manage`.

## Path parameters

- `projectID` string, required: 24-character hexadecimal ID.

## Query parameters

- `teamID` string: 24-character hexadecimal ID.

## Response `200`

The report, as produced by `npm audit --json`.

- object
  - `report` object

## Other responses

- `400`: `teamID` isn't a valid ID.
- `401`: The API token is missing, invalid or expired.
- `403`: With `teamID`: you aren't a member of the team (`team_not_found`), or you don't have the required permission on this app (`no_permission`).
- `404`: The app doesn't exist or is frozen, or there's no report.

## Changes

- **2026-11-02** `610162e8a623`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/liara-cloud/apis/paas/changes/v1/projects/:projectID/npm-audit-report/get.md)

---

[API](https://skmtc.dev/liara-cloud/apis/paas.md) - [All operations](https://skmtc.dev/liara-cloud/apis/paas/llms.txt) - [OpenAPI document](https://skmtc.dev/liara-cloud/apis/paas/revisions/610162e8a623?raw)
