> ## 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 projects

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

License Consumption by Projects reports show the number of pages consumed by each project 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 data collected by reports, please see [License Consumption by Projects](/flexi-capture/web-stations/monitoring-console/reports-consumptionbyprojects).

## 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>projectIds</p></td><td><p>Projects</p></td><td><p>string</p></td><td><p>List of project IDs for which the report should be generated. Use <a href="/flexi-capture/api/methods/get-projects">GetProjects</a> method to get information about all the projects on the Application Server. The default value is null, which means that data for all projects will be included in the report.</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><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>Tenants</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>batchTypeIds</p></td><td rowspan="2"><p>Batch types</p></td><td><p>string</p></td><td><p>List of batch type IDs for which the report should be generated. Use the <a href="/flexi-capture/api/methods/get-batch-types">GetBatchTypes</a> method to get information about all batch types in a project. The default value is null, which means that data for all batch types will be included in the report.</p></td></tr><tr><td><p>aggregateByBatchTypes</p></td><td><p>boolean</p></td><td><p>Specifies whether the aggregate report should be generated. Possible values are:</p><ul><li>true</li><li>false</li></ul><p>The default value is false.</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=day</li><li>2=week</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": "projectIds", "Value": "1;2" },
{ "Name": "batchTypeIds", "Value": "1" },
{ "Name": "aggregateByBatchTypes", "Value": true },
{ "Name": "groupByType", "Value": 1 } ]
```
