notion-cli - Notion CLI for terminal automation
Work with Notion from the terminal using the CLI with full API coverage
Tags
Updated: 2026-06-15Capabilities
Typical Inputs
Typical Outputs
What this skill does
- search pages
- search databases
- create page
- view page
- list pages
- edit page
- archive page
- restore page
- move page
- open page
- set page property
- get page property
- link page
- unlink page
- export page markdown
- import page markdown
- create database
- query database
- export database
- list databases
Inputs
- Notion API token
- Notion workspace
- Page ID or URL
- Database ID
- Block ID
- User ID
- Comment ID
- File path
- Upload ID
- Filter parameters
- Markdown file
- Property values
- Search query
Outputs
- Search results
- Page content
- Database schema
- Query results
- Block list
- Comment thread
- User info
- File URL
- API response
- Exported file
- JSON output
- Table output
Requirements
- Notion API token
- Notion workspace access
- CLI installation
