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

# KnowledgeArticleDraft

> Changes staged on a knowledge article by `createKnowledgeArticle`, `updateKnowledgeArticle` or `deleteKnowledgeArticle`. Commerce Agent does not use them until you publish them with `knowledgeArticlePublish`.

**content** `String!` *required*

The body the article gets on publish.

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the draft was first staged.

**deletesArticle** `Boolean!` *required*

True when publishing removes the article. The other fields then repeat the article as it was when the removal was staged.

**effectiveEndAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

When the article stops being retrievable after publish. Null means no end.

**effectiveStartAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

When the article becomes retrievable after publish, if `status` is ACTIVE. Null means immediately.

**referencedArticleIds** `[ID!]!` *required*

The ids of the knowledge articles the article cites after publish, as accepted by `referencedArticleIds` on the write inputs.

**referencedProductFamilyIds** `[ID!]!` *required*

The ids of the product families the article cites after publish, as accepted by `referencedProductFamilyIds` on the write inputs.

**revision** `String!` *required*

Identifies this draft's content. Pass it as `expectedRevision` to `knowledgeArticlePublish`; it changes whenever the draft does.

**status** `[KnowledgeArticleStatus!](/docs/api-reference/v3/reference/commerce-agent/knowledge-article-status)` *required*

The status the article gets on publish.

**title** `String!` *required*

The title the article gets on publish.

**updatedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the draft was last changed.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.