---
title: "List SCA alert facet options"
method: POST
path: "/api/v1/sca/alerts/facets"
tags: ["SCA"]
---

# List SCA alert facet options

`POST /api/v1/sca/alerts/facets`

## Request

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

Retrieve lists of facet options for alerts, currently languages.

## Request body

- ListScaAlertFacetOptionsInput
  - `organizationId` string
  - `repositoryIds` string[]

## Response `200`

Successful response

- ScaAlertFacetOptions
  - `languages` string[]

## Other responses

- `400`: Bad Request
- `401`: Unauthorized

---

[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)
