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

# anaconda repo report

## Usage

```bash theme={null}
anaconda repo report --date_from <YYYY-mm-dd> [OPTIONS]
```

Comments

Replace \<YYYY-mm-dd> with the start date for the report.

## Description

Downloads artifact download reports for your Package Security Manager (On-prem) instance. You specify a date range and optionally filter by users or channels, and choose output format (JSON or CSV) and filename.

## Options

Option

Default

Description

`--date_from <DATE>`

Start date for the report (YYYY-mm-dd, required)

`--date_to <DATE>`

today

End date for the report (YYYY-mm-dd)

`--file-type <TYPE>`

`json`

Report format: `json` or `csv`

`--user_names <LIST>`

Comma-separated list of users to filter

`--channels <LIST>`

Comma-separated list of channels to filter

`--filename <FILE>`

auto

Output filename or full path

`-h, --help`

Show help for this command

## Examples

**Download a report for a date range**

```bash theme={null}
anaconda repo report --date_from 2024-01-01 --date_to 2024-01-31
```

**Export as CSV with a custom filename**

```bash theme={null}
anaconda repo report --date_from 2024-01-01 --file-type csv --filename monthly_report.csv
```

**Filter by channels**

```bash theme={null}
anaconda repo report --date_from 2024-01-01 --channels channel1,channel2
```
