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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | Article id or slug. |
revisionId | path | string | Yes | The revision’s identifier. |
format | query | string | No | contentMarkdown (default) or contentHtml. |
bot_id | query | string | No | Only for a key that covers several bots (see GET /bots). Or send the Usedocs-Bot header. |
Responses
| Status | Description |
|---|---|
200 | The requested revision. |
400 | The request is missing something or has a bad value. |
401 | No API key, or the key is revoked. |
403 | A read key on a write endpoint, or a key for another bot. |
404 | Revision not found. |
429 | Rate limited: 120 requests a minute per key, 30 tasks an hour. See Retry-After. |
Response fields
| Field | Type | Description |
|---|---|---|
id | string | Revision identifier. |
articleId | string | Identifier of the article this revision belongs to. |
title | string | Title of the article at this revision. |
contentMarkdown | string | Full Markdown body of the article for this revision. |
status | string | Revision status – one of proposed, accepted, dismissed, history. |
source | string | Origin of the revision – e.g., pr, release, verify, customer, requested, manual, translation. |
reason | string | Short description of why the revision was created. |
baseContentMarkdown | string | The Markdown body the revision was based on (the previous version). |
evidence | object | JSON object containing evidence such as PR URLs, changed files, or issue details. |
createdAt | string (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.