# Lists capacity metrics for all snapshots of dataset or the engine.

Endpoint: GET /snapshots/capacity
Version: 3.28.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header Authorization

## Query parameters:

  - `engine_id` (string)
    ID of a registered engine.

  - `dataset_id` (string)
    The ID of the dSource or VDB.

  - `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.

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `items` (array)
    Snapshot Capacity response.

  - `items.id` (string)
    Id of the snapshot
    Example: 1-ORACLE_SNAPSHOT-1

  - `items.engine_id` (string)
    Id of the engine this snapshot is associated with.
    Example: 1

  - `items.dataset_id` (string)
    DSource or VDB id this snapshot is associated with.
    Example: 1-ORACLE_DB_CONTAINER-32

  - `items.timestamp` (string)
    Timestamp of the snapshot
    Example: 2021-05-01T08:51:34.148000+00:00

  - `items.expiration` (string)
    Expiration date of the snapshot
    Example: 2021-05-01T08:51:34.148000+00:00

  - `items.size` (integer)
    Space used by the snapshot.
    Example: 217

  - `items.descendant_vbd_count` (integer)
    descendant vbd count.
    Example: 2

  - `items.timezone` (string)
    Timezone of the snapshot.
    Example: America/New_York,EST-0500

  - `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.

