Command
nylas audit config set
Set an audit configuration value. Valid keys: retention_days, max_size_mb, rotate_daily, compress_old, log_request_id, log_api_details.
Usage
nylas audit config set <key> <value>Flags
| Flag | Description |
|---|---|
| --json | Output as JSON |
| --no-color | Disable color output |
| --verbose(-v) | Enable verbose output |
| --config | Custom config file path |
| --help(-h) | Show help for the command |
| --limit | Limit results (most list commands) |
| --yes(-y) | Skip confirmations |
Examples
Change retention period
nylas audit config set retention_days 30Move log storage
nylas audit config set path /var/log/nylas-auditIncrease max log size
nylas audit config set max_size_mb 200Enable daily rotation
nylas audit config set rotate_daily trueLog API request details
nylas audit config set log_api_details trueTroubleshooting
Invalid configuration key
Valid keys: retention_days, max_size_mb, rotate_daily, compress_old, log_request_id, log_api_details, path.
Changes not taking effect
Configuration changes apply to new log entries. Existing entries are not affected.
Recommended guides
Create a Manus Skill for Email and Calendar
Build a Manus AI Skill that gives your agent email and calendar access using the Nylas CLI.
Nylas CLI with OpenClaw Personal Assistant
Give your OpenClaw assistant email, calendar, and contacts superpowers. Includes exec-approvals.json setup and a ready-made Nylas skill.
Manage Calendar from the Terminal
DST-aware event creation, timezone locking, AI scheduling, and break time protection.
GPG Encrypted Email from the CLI
Sign, encrypt, and verify email with GPG. Auto-fetches keys from public keyservers.
Give AI Agents Email Access via MCP
Connect Claude, Cursor, or VS Code to your inbox and calendar in one command.
Send Email from the Terminal
Send, read, search, and automate email from your terminal. Works with Gmail, Outlook, and IMAP.
Run nylas audit config set --help for full help output.