---
title: "Scan container"
method: POST
path: "/containers/{container_repo_id}/scan"
---

# Scan container

`POST /containers/{container_repo_id}/scan`

## Request

- Base URL: `https://app.aikido.dev/api/public/v1`
- URL: `https://app.aikido.dev/api/public/v1/containers/{container_repo_id}/scan`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://app.aikido.io/api/oauth/token` scopes: `containers:write`

Scan a container

## Path parameters

- `container_repo_id` integer, required

## Response `200`

A scan has been started for the container.

- object
  - `success` integer: The integer 1 indicating success

## Other responses

- `400`: We were unable to initiate a scan for this container.

---

[API](https://skmtc.dev/aikido/apis/aikido-security-api-documentation.md) - [All operations](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/revisions/da8691338133?raw)
