> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usefini.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Revert article version

> Revert an article to a saved history version.

Reverts an article to a saved history version. This changes live knowledge content, so use it only when your workflow intentionally rolls back an article.

## Headers

<ParamField header="Authorization" type="string" required>
  Bearer token containing your Fini workspace API key. Format: `Bearer fini_...` The key needs `write` scope.
</ParamField>

<ParamField header="Content-Type" type="string" required>
  `application/json`
</ParamField>

## Path parameters

<ParamField path="id" type="string" required>
  Article ID.
</ParamField>

## Body parameters

<ParamField body="version" type="number" required>
  Article version number to restore.
</ParamField>

## Response

Returns the reverted article.

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://api-prod.usefini.com/v2/hc-articles/4f5ef695-d03b-4d56-8fef-7f2bd5c17ef3/revert/public' \
    --header 'Authorization: Bearer fini_your_api_key' \
    --header 'Content-Type: application/json' \
    --data '{
    "version": 0
  }'
  ```

  ```javascript Node.js theme={null}
  const response = await fetch('https://api-prod.usefini.com/v2/hc-articles/4f5ef695-d03b-4d56-8fef-7f2bd5c17ef3/revert/public', {
    method: 'POST',
    headers: {
      Authorization: 'Bearer fini_your_api_key',
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
    'version': 0
  }
    )
  });

  const data = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.post(
      "https://api-prod.usefini.com/v2/hc-articles/4f5ef695-d03b-4d56-8fef-7f2bd5c17ef3/revert/public",
      headers={"Authorization": "Bearer fini_your_api_key", "Content-Type": "application/json"},
      json={
      "version": 0
  },
  )

  data = response.json()
  ```
</RequestExample>

<ResponseExample>
  ```json 201 Created theme={null}
  {
    "id": "4f5ef695-d03b-4d56-8fef-7f2bd5c17ef3",
    "title": "Refund policy",
    "mainKnowledge": "Customers can request a refund within 30 days of purchase.",
    "agentInstruction": "Use this article for refund eligibility questions.",
    "questions": [
      "Can I get a refund?"
    ],
    "keywords": [
      "refund",
      "billing"
    ],
    "escalation": false,
    "parentFolderId": "0f4da4fe-b2ae-4787-8c3b-854f36d9eb1b",
    "isDraft": false,
    "origin": "api",
    "createdAt": "2026-07-28T08:55:32.000Z",
    "updatedAt": "2026-07-28T09:10:18.000Z"
  }
  ```
</ResponseExample>

<Warning>
  This route writes to the knowledge graph immediately. If you need review before changing live answers, create or update a draft instead.
</Warning>
