documents

listDocumentVersions

List version history for a document. Returns timestamps, creator, change summary, and content.

post/tools/listDocumentVersions

Request

  • Base URL: https://api.stablebaseline.io/functions/v1/cloud-serve/api/v1
  • URL: https://api.stablebaseline.io/functions/v1/cloud-serve/api/v1/tools/listDocumentVersions
  • Auth: HTTP bearer

Request body

projectIdstring

Optional. Narrows a friendly-id lookup to one project. Only needed when a friendly id is ambiguous — TAS-/IMP-/PLN- ids are numbered per PROJECT, so the same id can exist in several. Ignored when the id is a UUID.

documentIdstring required

Accepts either the UUID or the friendly id (e.g. DOC-815); friendly ids are resolved within your organisation.

versionNumbernumber

Filter to a specific version.

fromDatestring

ISO 8601 date filter (from).

toDatestring

ISO 8601 date filter (to).

sortAscendingboolean

Sort oldest first. Default: false.

limitnumber

Max versions. Default: 50, max: 200.

offsetnumber

Pagination offset.

fieldsstring[]

Field projection. Valid fields: id, documentId, versionNumber, title, contentMarkdown, changeSummary, createdBy, createdAt.

Response

Tool result (shape varies per tool — refer to the tool's docs for the exact return value).

object required

Changes

No recorded changes to this operation across all 1 revision of this API.