Skip to main content

Get Containers Count

GET 

/api/v33.02/containers/count

x-prisma-cloud-target-env: {"permission":"monitorImages"}

Returns an integer representing the number of containers in your environment.

cURL Request

Refer to the following example cURL command that returns the number of containers.

$ curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X GET \
https://<CONSOLE>/api/v<VERSION>/containers/count

Request

Responses