# Retrieve the list of compliance job collections.

Endpoint: GET /compliance-job-collections
Version: 3.20.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header Authorization

## Query parameters:

  - `limit` (integer)
    Maximum number of objects to return per query. The value must be between 1 and 1000. Default is 100.

  - `cursor` (string)
    Cursor to fetch the next or previous page of results. The value of this property must be extracted from the 'prev_cursor' or 'next_cursor' property of a PaginatedResponseMetadata which is contained in the response of list and search API endpoints.

  - `sort` (string)
    The field to sort results by. A property name with a prepended '-' signifies a descending order.

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `items` (array)

  - `items.id` (string)
    The Compliance Job Collection entity ID.
    Example: compliance-job-collection-1

  - `items.name` (string)
    The name of the compliance job collection.
    Example: My favorite Compliance Job Collection

  - `items.description` (string)
    The description of the compliance job collection.
    Example: Compliance Job Collection for app finance

  - `items.creation_date` (string)
    The date this compliance job collection was created.
    Example: 2022-11-30T08:51:34.148000+00:00

  - `items.job_count` (integer)
    The number of jobs in this compliance job collection.
    Example: 10

  - `items.last_execution_id` (string)
    The ID of the last execution of this compliance job collection if exists.
    Example: 414ed52c-fa89-455d-9fb9-9c2fa5115f80

  - `items.failure_handling` (string)
    Enum: "IGNORE", "CANCEL_ALL", "CANCEL_SUBSEQUENT"

  - `items.job_missing` (boolean)
    Whether any jobs in the collection are missing.

  - `items.members` (array)
    The list of compliance job IDs and their collection sequence to be included in the collection.

  - `items.members.sequence` (integer)
    The sequence number of the job in the collection.

  - `items.members.compliance_job_id` (string)
    The ID of the compliance job.

  - `items.tags` (array)
    The tags of this compliance job collection.

  - `items.tags.key` (string, required)
    Key of the tag
    Example: key-1

  - `items.tags.value` (string, required)
    Value of the tag
    Example: value-1

  - `response_metadata` (object)

  - `response_metadata.prev_cursor` (string)
    Pointer to the previous page of results. Use this value as a cursor query parameter in a subsequent request, along with limit, to navigate through the collection by virtual page.

  - `response_metadata.next_cursor` (string)
    Pointer to the next page of results. Use this value as a cursor query parameter in a subsequent request, along with limit, to navigate through the collection by virtual page.

  - `response_metadata.total` (integer)
    The total number of results. This value may not be provided.

