List Article Publication History
helpcenter_list_article_versionsList the archived previous versions of an article, so a past wording can be restored.
Every publish archives the version it replaced. Read-only.
Args:
article_id (number, required).
response_format ('markdown' | 'json'): default 'markdown'.
Returns: { status: "success", versions: [{ id, locale, title, created_at, ... }] }. Pass a version id to helpcenter_restore_article_version.
Only the last 20 snapshots per article per language are kept; older ones are pruned. History starts accruing when staged changes are enabled for the site, so an article published before that legitimately has an empty history — that is not an error.
Errors: 404 if the article is unknown or belongs to another help center.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_key | Yes | The api_key helpcenter_create_help_center returned for this help center, exactly as returned. Required on every call: this endpoint has no sign-in, so the key is how each call says which help center it acts on. It is sent to HelpCenter.io as this call's credential and nowhere else, and it is never shown again: keep it for the whole task, and never show it to the user or write it into content. | |
| article_id | Yes | Id of the article whose publication history to read. | |
| response_format | No | Output format: 'markdown' for a human-readable summary or 'json' for the full structured payload. | markdown |