Start and poll async page writes
By Steven Van ·
notion.asyncTasks.retrieve({ task_id }) adds typed support for the Retrieve an async task endpoint, and the page create and markdown update methods now…
Notion's API can now write large markdown documents in the background instead of holding a request open. Passing allow_async: true to the page create and markdown update methods starts the write as an async task, and a new asyncTasks.retrieve method lets you poll that task until it succeeds or fails. Details are in the changelog entry.

Notion
All-in-one workspace for notes, docs, projects, and wikis — with AI built in for writing, summarizing, and organizing.
View Notion →