Command
nylas audit config show
Show the current audit configuration, including log path, retention, rotation, and compression settings.
Written by Qasim Muhammad Staff SRE
What does nylas audit config show do?
The nylas audit config show command displays every audit setting in effect — log file path, retention period, max file size, daily rotation, compression, and whether request IDs and API details are recorded. Use it to verify your audit setup before enabling logging or to troubleshoot why logs aren't appearing where expected.
Usage
nylas audit config showFlags
| 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
The nylas audit config show command displays every audit setting in effect — log file path, retention period, max file size, daily rotation, compression, and whether request IDs and API details are recorded.
Display current audit configuration
nylas audit config showCheck configuration as JSON for scripting
nylas audit config show --jsonExample output
Audit Configuration
Enabled: true
Log directory: ~/.config/nylas/audit
Retention: 90 days
Max size: 100 MB
Rotate daily: true
Stored entries: 142 (1.2 MB)Troubleshooting
Config shows default values after running set
Ensure you ran `nylas audit config set <key> <value>` with a valid key. Run `nylas audit config show` again to confirm.
Permission denied reading config
Check file permissions on ~/.config/nylas/. The CLI needs read access to display the configuration.
Recommended guides
Thunderbird vs Nylas: GUI vs CLI email
Thunderbird is a desktop GUI email client with OAuth and calendar built in. Compare it to a scriptable, headless CLI for servers, cron jobs, and AI agents.
Pipedream vs Nylas for Email Automation
Pipedream wires 3,000+ apps with event workflows and code steps. Nylas is a native email API with a CLI for agents and cron. Compare as a Pipedream alternative.
Detect Calendar Conflicts from the CLI
Spot double-booked meetings and overlapping events from the terminal. AI conflict detection and jq scripts catch calendar conflicts before they derail your day.
Block Focus Time on Your Calendar (CLI)
Context-switching costs 23 minutes of focus per interruption. Block focus time on Google Calendar from your terminal so meetings can't eat your deep-work slots.
Build a Strands Email Agent
Give a Strands Agents SDK agent email access using the Nylas CLI as a @tool. One function reaches Gmail, Outlook, and 4 more providers — no OAuth code needed.
Cloudflare Agents Email Tools
Use the Cloudflare Agents SDK to build a stateful email agent on Workers — connect to the Nylas MCP server over HTTP and call email tools in TypeScript.
Run nylas audit config show --help for full help output.