API is very slow for returning full page content #247
Replies: 3 comments 1 reply
-
Yes, from my experience as well, Notion API is quite slow, especially for reading large pages. From their docs:
On a side note, consider using |
Beta Was this translation helpful? Give feedback.
-
Thanks @ramnes ! I was hoping to get around creating another database on top of Notion for fast queries of our docs in Notion. I'm sure that Notion uses a vector database for their AI tooling. Why can't they expose it via the API, and instead, each developer must make their own? Better yet, why can't they exposure their AI tooling via their API? I'd be happy to pay per API call of their AI tools.
That's always good to point out. I wrote my own code since I was going to customize the functionality. |
Beta Was this translation helpful? Give feedback.
-
It would be great to have examples of using these helpful functions for iterating through pages and blocks in pages. I've tried using the helpful functions but just ran into The implementation should be |
Beta Was this translation helpful? Give feedback.
-
My code:
For a moderately sized page, but with many nested blocks (nested toggle lists), fetching the entire page contents takes >10 seconds!
Is there a faster method of obtaining the entire contents of a page? >10 seconds per page is way too slow for many applications.
Beta Was this translation helpful? Give feedback.
All reactions