---
title: "List AI component provider facets"
method: POST
path: "/api/v1/sca/ai-inventory/providers/search"
tags: ["SCA"]
---

# List AI component provider facets

`POST /api/v1/sca/ai-inventory/providers/search`

## Request

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

Distinct provider values for AI components across accessible repositories (optionally scoped).

## Request body

- ListAIComponentProvidersInput
  - `organizationId` string, required
  - `repositoryIds` string[]
  - `branch` string: Read each repository as of its newest finished scan on this branch. Omit for the newest scan on any branch.

## Response `200`

Successful response

- AIComponentProvidersResponse
  - `providers` string[], required: Distinct provider values from AI components in scope

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