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

# Publish article draft

> Publish a draft article.

Use this route to publish a draft article into the live knowledge graph.

## 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>
  Draft article ID to publish.
</ParamField>

## Body parameters

This route uses the same required content fields as [Create article](/en/api-reference/create-article). `active`, `public`, and `origin` are also accepted here.

## Response

Returns the live article that remains after publish. See [Manage knowledge](/en/api-reference/manage-knowledge) for the shared article fields.

<Note>
  If the draft was created from an existing live article, the response is that updated original live article. Otherwise, the response is a newly created live article.
</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 draft article does not exist in the workspace.
  </Accordion>
</AccordionGroup>
