Skip to main content

Usage

anaconda repo report --date_from <YYYY-mm-dd> [--date_to <YYYY-mm-dd>] [--file-type json|csv] [--user_names <LIST>] [--channels <LIST>] [--filename <FILE>]
Replace <YYYY-mm-dd> with the start (and optionally end) date for the report.
Replace <LIST> with comma-separated user names or channel names to filter.
Replace <FILE> with the output filename.

Description

Downloads reports from the repository, such as artifact download reports. 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
anaconda repo report --date_from 2024-01-01 --date_to 2024-01-31
Export as CSV with a custom filename
anaconda repo report --date_from 2024-01-01 --file-type csv --filename monthly_report.csv
Filter by channels
anaconda repo report --date_from 2024-01-01 --channels channel1,channel2