Skip to main content
POST
Roll back to an earlier version

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Path Parameters

id
string
required

Knowledge base ID (kb_…).

docId
string
required

Document ID to roll back.

Body

application/json
version
integer
required

1-based version number to restore (the first upload is version 1).

Required range: x >= 1

Response

Accepted. Returns the freshly-minted head document created from the restored version.

data
object
meta
object