Skip to main content
GET
Get a document version

Authorizations

Authorization
string
header
required

An API key from your Devic console, sent as Authorization: Bearer <key>. An embedded front end sends a tenant-session token instead, so no API key reaches the browser, and an OAuth integration sends its access token. Missing, invalid or expired credentials get a 401. See Authentication.

Path Parameters

id
string
required

Document ID

version
integer
required

Version number

Response

Document version

version
integer

Version number

markdownContent
string

Content at this version

createdAt
integer<int64>

Timestamp (ms)

changeType
string

Type of change (created, updated, reverted)

changeDescription
string

Human-readable change description

isActive
boolean

Whether this is the active version