Back to Home
postmanlabs icon

postman-code-examples

Verified Safe

by postmanlabs

Overview

A CLI tool for searching, navigating, and reading content from a Notion workspace, designed for AI agents.

Installation

Run Command
npm run cli -- <command> [options]

Environment Variables

  • NOTION_API_KEY

Security Notes

The CLI securely handles API keys by requiring them to be loaded from environment variables (NOTION_API_KEY), preventing hardcoding. It interacts with the official Notion API endpoints. No 'eval' or obfuscation is present. Standard API interaction patterns are followed, and the code appears straightforward. Minor deduction for not including explicit network request timeouts in the generated fetch clients, which is a common practice for robustness but less critical for a simple demo.

Similar Servers

Stats

Interest Score30
Security Score9
Cost ClassMedium
Avg Tokens2500
Stars1
Forks0
Last Update2026-01-16

Tags

NotionCLIAI AgentsWorkspacePostman Code