Retrieves a single revision of an article, identified by its article id (or slug) and the revision’s revisionId.

Authentication

Bearer token (content:read): a workspace API key, e.g. ud_live_…

Parameters

NameInTypeRequiredDescription
idpathstringYesArticle id or slug.
revisionIdpathstringYesThe revision’s identifier.
formatquerystringNocontentMarkdown (default) or contentHtml.
bot_idquerystringNoOnly for a key that covers several bots (see GET /bots). Or send the Usedocs-Bot header.

Responses

StatusDescription
200The requested revision.
400The request is missing something or has a bad value.
401No API key, or the key is revoked.
403A read key on a write endpoint, or a key for another bot.
404Revision not found.
429Rate limited: 120 requests a minute per key, 30 tasks an hour. See Retry-After.

Response fields

FieldTypeDescription
idstringRevision identifier.
articleIdstringIdentifier of the article this revision belongs to.
titlestringTitle of the article at this revision.
contentMarkdownstringFull Markdown body of the article for this revision.
statusstringRevision status – one of proposed, accepted, dismissed, history.
sourcestringOrigin of the revision – e.g., pr, release, verify, customer, requested, manual, translation.
reasonstringShort description of why the revision was created.
baseContentMarkdownstringThe Markdown body the revision was based on (the previous version).
evidenceobjectJSON object containing evidence such as PR URLs, changed files, or issue details.
createdAtstring (date‑time)Timestamp when the revision was created.
decidedAt`string (date‑time)null`

Note: The format query parameter can be used to receive the body as HTML (contentHtml) instead of Markdown.