Notion Prefer official CLI. Use curl only when is unavailable or a raw request is clearer. Setup Script/headless auth: sets and automatically. It uses CLI login by default, or when set. Inspect Pages Markdown-first helpers: Notes: - prints Markdown with page properties as frontmatter. - Content input: , stdin, or editor in a TTY. - Parent refs: , , . - For properties/templates/full Pages API, use . Data sources Use when you have a database ID. Query needs a data source ID. Raw API Input syntax: - : string body field. - : typed JSON body field. - : query parameter. - : request header. - or stdβ¦