Skip to main content
PATCH
Re-file a wiki page in the table of contents

Authorizations

Authorization
string
header
required

An aik_… programmatic API key (app.atako.ai → Settings → API keys) or a Supabase session JWT.

Path Parameters

projectId
string<uuid>
required

Project id

pageId
string<uuid>
required

Wiki page id

Body

application/json
parentId
string<uuid> | null
required
position
integer
required

Rank among the new siblings; past the end of the list it lands last.

Required range: 0 <= x <= 10000

Response

page
object
required

An open page: its current text, a page of its history (newest first) and its sub-pages as table-of-contents entries. Every wiki write returns this same shape, so an editor never has to re-read the page it just saved.