SCA

List AI components for a repository scan

Retrieve AI component rows from one repository's resolved AI-bearing scan, ordered by kind.

post/api/v1/sca/ai-inventory/components/search

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

organizationIdstring required
repositoryIdstring required
scanType'sca' | 'code' required

Which scan table the resolved AI-bearing scan lives in

scanIdstring required
offsetinteger
limitinteger
kindsstring[]
usagesstring[]
tiersstring[]
providersstring[]
detectionSourcesstring[]
searchQuerystring

Matches component name, provider, manifest path, or file path

Response

Successful response

totalCountinteger required
hasMoreboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.