---
title: "List Scanned Containers"
method: POST
path: "/api/cloud/container-scanning/containers"
tags: ["Container Scanning"]
---

# List Scanned Containers

`POST /api/cloud/container-scanning/containers`

## Request

- Base URL: `https://api.codeant.ai`
- URL: `https://api.codeant.ai/api/cloud/container-scanning/containers`
- Auth: HTTP bearer

Returns one entry per tracked container (registry repository / image) across AWS ECR, Azure ACR, and GCP GAR, each with its latest scan's status, severity rollup, and `scan_id`. Use the returned `cloud` and `scan_id` with the results endpoint to fetch the full vulnerability list.

## Request body

- ContainerScanContextRequest
  - `platform` 'github' | 'gitlab' | 'bitbucket' | 'azure_devops', required: Git platform of the organization
  - `org` string, required: Organization / workspace slug
  - `github_base_url` string: Self-hosted instance URL (also gitlab_base_url / bitbucket_base_url / azure_devops_base_url). Defaults to the cloud host.

## Response `200`

Containers retrieved successfully

- object
  - `containers` Container[]
    - `name` string: Registry repository name
    - `image` string: Full image reference that was scanned
    - `tag` string
    - `cloud` 'aws' | 'azure' | 'gcp'
    - `registry` 'ECR' | 'ACR' | 'GAR'
    - `region` string
    - `scan_id` string: Latest scan of this container; pass to the results endpoint
    - `status` string: Latest scan status
    - `severity_rollup` object: Vulnerability counts by severity for the latest scan
    - `findings_total` integer
    - `last_scan` string, date-time
  - `total` integer

## Other responses

- `401`: Missing or invalid access token

## Changes

- **2026-11-03** `0eb1442ce49d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/codeant/apis/codeant-ai-api/changes/api/cloud/container-scanning/containers/post.md)

---

[API](https://skmtc.dev/codeant/apis/codeant-ai-api.md) - [All operations](https://skmtc.dev/codeant/apis/codeant-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/codeant/apis/codeant-ai-api/revisions/0eb1442ce49d?raw)
