> ## Documentation Index
> Fetch the complete documentation index at: https://60db.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Analytics

> Analytics and usage monitoring commands

# Analytics

## Get Usage Statistics

```bash theme={null}
60db analytics:usage
```

### Options

* `--user-id <id>` - Filter by user ID
* `--start-date <date>` - Start date (YYYY-MM-DD)
* `--end-date <date>` - End date (YYYY-MM-DD)
* `--limit <number>` - Number of records to return

## Examples

### Get Overall Usage

```bash theme={null}
60db analytics:usage
```

### Get Usage for Specific User

```bash theme={null}
60db analytics:usage --user-id 123
```

### Get Usage for Date Range

```bash theme={null}
60db analytics:usage --start-date 2024-01-01 --end-date 2024-01-31
```

### Export Usage Data

```bash theme={null}
60db --json analytics:usage > usage.json
```

### Monitor Usage in Real-Time

```bash theme={null}
watch -n 10 '60db --json analytics:usage --limit 10'
```
