# Gets the consumption report for virtualization engine dSources.

Endpoint: GET /reporting/dsource-consumption-report
Version: 3.30.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 10000.

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

## Response 200:

  - `200` (unknown)
    Returns a list of dSource consumption data.

## Response 200 fields (application/json):

  - `items` (array)

  - `items.dsource_id` (string)
    The dSource id.
    Example: dsource-id-1

  - `items.name` (string)
    The name of the dSource
    Example: prod01-main

  - `items.status` (string)
    The status of the dSource
    Example: Running

  - `items.database_type` (string)
    The type of the dSource
    Example: Oracle

  - `items.engine_id` (string)
    The id of the engine the dSource belongs to.
    Example: 1

  - `items.engine_name` (string)
    The name of the engine the dSource belongs to
    Example: My favorite engine

  - `items.last_consumption_date` (string)
    The most recent date where consumption data was captured for this dSource.

  - `items.ingested_size` (integer)
    The ingested size of the dSource
    Example: 12345

  - `items.ingested_size_in_mb` (number)
    Value in MB (binary IEC base), rounded to one decimal place.

  - `items.ingested_size_in_gb` (number)
    Value in GB (binary IEC base), rounded to one decimal place.

  - `items.ingested_size_in_tb` (number)
    Value in TB (binary IEC base), rounded to one decimal place.

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

