> ## 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.

# Update article

> Update an existing article.

Use this route to change the content or metadata of an existing 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 to update.
</ParamField>

## Body parameters

<ParamField body="title" type="string" required>
  Updated article title.
</ParamField>

<ParamField body="mainKnowledge" type="string" required>
  Updated main knowledge body.
</ParamField>

<ParamField body="agentInstruction" type="string" required>
  Updated instructions the agent should apply when using this article.
</ParamField>

<ParamField body="questions" type="array" required>
  Updated question prompts for the article.
</ParamField>

<ParamField body="keywords" type="array" required>
  Updated keywords for the article.
</ParamField>

<ParamField body="escalation" type="boolean" required>
  Updated escalation flag.
</ParamField>

<ParamField body="active" type="boolean">
  Updated active state.
</ParamField>

<ParamField body="public" type="boolean">
  Updated help-center visibility.
</ParamField>

<Note>
  This update route does not accept `parentFolderId`, `isDraft`, or `origin`. Use [Move article](/en/api-reference/move-article) to change folders.
</Note>

## Response

Returns the full updated article object. See [Manage knowledge](/en/api-reference/manage-knowledge) for the shared article fields.

<Note>
  The response includes the article's latest `version` after the update is applied.
</Note>

## Errors

<AccordionGroup>
  <Accordion title="400 Bad Request" icon="circle-exclamation">
    The request body is malformed or one of the required arrays is empty.
  </Accordion>

  <Accordion title="401 Unauthorized" icon="lock">
    The API key is missing, malformed, revoked, or invalid.
  </Accordion>

  <Accordion title="403 Forbidden" icon="shield-halved">
    The API key does not include the `write` scope.
  </Accordion>

  <Accordion title="404 Not Found" icon="ghost">
    The article does not exist in the workspace.
  </Accordion>
</AccordionGroup>
