Skip to main content

Get Containers Count

GET 

/api/v31.02/containers/count

x-prisma-cloud-target-env: {"permission":"monitorImages","saas":true,"self-hosted":true}
x-public: true

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