Space Docs
API ReferenceKnowledge Article

knowledgeArticle.create

Type: Mutation · Auth: Workspace-aware

Input

FieldTypeRequiredDefaultDescription
titlestringYes—Title
topicTagsstring[]No—Topic tags
solutionFamilystringNo—Solution family
roleScopestringNo—Role scope
contentMarkdownstringYes—Content markdown
statusenum(draft, published, archived)Yes"draft"Status
sourceReferenceIdsstring[]No—Source reference ids
revisionNumberintegerYes1Revision number
ownerUserIdstringNo—ID of the associated owner user
workspaceIdstringNo—ID of the associated workspace
visibilityModeunknownNo—Visibility mode

Example

{
  "title": "Example Title",
  "topicTags": [],
  "solutionFamily": "example",
  "roleScope": "example",
  "contentMarkdown": "example",
  "status": "draft",
  "revisionNumber": 1
}

On this page