# Is space.writePage() an official API?

**URL:** https://community.silverbullet.md/t/is-space-writepage-an-official-api/4327
**Category:** Lua
**Created:** [August 16, 2026, 7:38pm UTC](https://community.silverbullet.md/t/is-space-writepage-an-official-api/4327 "2026-08-16T19:38:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![finestream](https://community.silverbullet.md/user_avatar/community.silverbullet.md/finestream/32/2338_2.png) [@finestream](https://community.silverbullet.md/u/finestream)
#### Post date: [August 16, 2026, 7:38pm UTC](https://community.silverbullet.md/t/is-space-writepage-an-official-api/4327/1 "2026-08-16T19:38:01Z")

</div>

Hi there

I am writing a library that relies on writing new pages. I found that space.writePage() works however it is not documented on [space](https://silverbullet.md/API/space)

is the API official?

- if not what is the official alternative to write a new page?
- if yes how can I ensure that SB is aware of the content of the newly created page and that this shows up in the queries on the current page?

Thank you in advance  
Finestream

---

<div class="post-metadata">

### Author: ![zef](https://community.silverbullet.md/user_avatar/community.silverbullet.md/zef/32/7_2.png) [@zef](https://community.silverbullet.md/u/zef)
#### Post date: [August 16, 2026, 8:25pm UTC](https://community.silverbullet.md/t/is-space-writepage-an-official-api/4327/2 "2026-08-16T20:25:28Z")

</div>

Have to check why it disappeared (used to be on that exact page), but yes, it’s an official API

---

<div class="post-metadata">

### Author: ![finestream](https://community.silverbullet.md/user_avatar/community.silverbullet.md/finestream/32/2338_2.png) [@finestream](https://community.silverbullet.md/u/finestream)
#### Post date: [August 17, 2026, 4:49am UTC](https://community.silverbullet.md/t/is-space-writepage-an-official-api/4327/3 "2026-08-17T04:49:05Z")

</div>

Thank you @zef do I need to call some other function to trigger a refresh of the queries in view of the new content that I just wrote? Thx Finestream
