OlammaAPI

Update page

Change a page’s title, content, icon or place. Markdown replaces the whole content. Send the version you read as expectedVersion: if someone saved in between, nothing is written and you get conflict.

PATCH/v1/w/{workspace}/pages/{id}

Send an Idempotency-Key. This may answer 202 while it waits for approval.

Path parameters

workspacestringrequired

Your workspace’s address name.

idstringrequired

The page’s id, like pg_…, from List pages.

Headers

Idempotency-Keystring

8–100 characters. Repeat the same key and body to get the first outcome back instead of writing twice.

Body

titlestring

A new title.

markdownstring

The content as Markdown: headings, lists, to-dos (- [ ]), quotes, code, tables, links and **bold**/_italic_.

blocksobject[]

Page blocks, including embed blocks. Use instead of markdown.

projectstring

Where a top-level page goes: general, a product key like APP, or a custom project’s id. Defaults to general.

parentIdstring | null

Put it inside this page instead.

folderIdstring | null

File a top-level page in this folder, in the same project.

iconstring

An icon like hi:rocket, or one emoji.

positionnumber

Its place among its siblings.

expectedVersioninteger

The page’s version from your last read.

Response

pageobjectrequired

Details

Update a page's title, Markdown, blocks or location. folderId files a top-level page; null removes it. Changing parent or project clears its folder unless a matching folderId is sent. expectedVersion prevents overwriting a newer save.

Since 2026-12. Errors are listed in Errors.