---
title: "Get scan result labels action fields"
method: GET
path: "/sast/scans/{scanId}/actionResults/{pathId}/labels"
tags: ["SAST"]
---

# Get scan result labels action fields

`GET /sast/scans/{scanId}/actionResults/{pathId}/labels`

## Request

- Base URL: `https://desktop-rmvpboc/cxrestapi/help`
- URL: `https://desktop-rmvpboc/cxrestapi/help/sast/scans/{scanId}/actionResults/{pathId}/labels`
- Auth: OAuth 2
  - Implicit: `https://desktop-rmvpboc/CxRestAPI/auth/identity/connect/authorize`
  - Scopes: `sast_api`
- TypeScript: <https://skmtc.dev/checkmarx/apis/checkmarx-rest-api/docs/sast/scans/:scanId/actionResults/:pathId/labels/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `scanId` integer, required
- `pathId` integer, required

## Response `200`

Labels are changes made on the results' properties by the user.

- CxSastResultsPresentationModelsResultActionLabelModel: Labels are changes made on the results' properties by the user. If no changes were made to the result's properties by the user - the state is "null"
  - `user` string
  - `comment` string
  - `createdDate` string, date-time

---

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