Skip to main content

Get Collections

GET 

/api/v31.02/collections

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

Retrieves a list of all collections.

This endpoint maps to the table in Manage > Collections and Tags > Collections in the Console UI.

cURL Request

Refer to the following example cURL command that returns a list of collections:

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

Request

Responses