> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# License consumption by tenants

> Web API parameters for the ABBYY FlexiCapture License Consumption by Tenants report, showing pages consumed per tenant by Processing Stations, with JSON.

License Consumption by Tenants reports show the number of pages consumed by each tenant during the reporting period. License consumption data are aggregated into 24-hour periods and only include pages consumed as a result of running Processing Stations. For detailed information about the data collected by reports, see [License consumption by tenants](/flexi-capture/web-stations/monitoring-console/reports-consumptionbytenants).

## Parameters

<table width="100%"><tbody><tr><td><p><strong>Name</strong></p></td><td><p>Corresponding UI option</p></td><td><p><strong>Type</strong></p></td><td><p><strong>Description</strong></p></td></tr><tr><td><p>tenantIds</p></td><td><p>Tenants</p></td><td><p>string</p></td><td><p>Specifies the tenants for which license consumption data should be collected. Possible values are:</p><ul><li>Null – license consumption data will be collected for all available tenants.</li><li>0 – license consumption data will be collected only for the default tenant.</li><li>1 and greater – license consumption data will be collected only for the tenant with the specified ID.</li></ul><p>The default value is null.</p></td></tr><tr><td><p>dateFrom</p></td><td rowspan="2"><p>Interval</p></td><td><p>datetime</p></td><td><p>Date and time of the beginning of the time interval for which the report should be generated. The default value is calculated using the following formula: "date and time at the moment of the report generation minus one day".</p></td></tr><tr><td><p>dateTo</p></td><td><p>datetime</p></td><td><p>Date and time of the end of the time interval for which the report should be generated. The default value is the date and time at the moment of the report generation.</p></td></tr><tr><td><p>groupByType</p></td><td><p>Time period</p></td><td><p>int</p></td><td><p>The time period by which the data will be grouped in the report. Possible values are:</p><ul><li>1=hour</li><li>2=day</li><li>3=month</li></ul><p>The default value is 1.</p></td></tr></tbody></table>

## Example

```
[ { "Name": "dateFrom", "Value": "2021-10-31T21:00:00.000Z" }, 
{ "Name": "dateTo", "Value": "2022-04-05T21:00:00.000Z" }, 
{ "Name": "tenantIds", "Value": "1" }, 
{ "Name": "groupByType", "Value": 1 }]
```
