POST
notion_file_uploads_create.py
Requires
Insert content.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Start a file upload. With mode="external_url" Notion fetches the file from a public HTTPS URL itself and no further upload step is needed — the one mode that completes without sending raw bytes, which this pack cannot do. Poll file_uploads_retrieve until the status is uploaded, then reference the ID as a file_upload on a page, block or files property.
from charter.packs import notion
result = await notion.file_uploads_create.ainvoke({})
Insert content.| Field | Type | Description |
|---|---|---|
body | FileUploadCreateBody | How the file will arrive. All fields optional for a single-part upload. |
Was this page helpful?