KB Article Schema
Campos
KB Article Schema
Knowledge base article
articleNumber
Human-readable article number (server-generated, e.g. K-2026-00042)
title
Article title
slug
URL-friendly slug (auto-generated from title if missing)
content
Article body (plain text or Markdown depending on bodyFormat)
contentHtml
Rich-text HTML body (sanitized server-side)
bodyFormat
Content format used for rendering
MARKDOWNHTMLBLOCKScategory
Category label (free-text)
categoryId
Optional structured category UUID
status
Workflow status
DRAFTREVIEWPUBLISHEDARCHIVEDisPublished
Publication flag (mirrors status === PUBLISHED)
viewCount
Number of times the article has been viewed
authorId
Primary author user UUID (protected — assigned server-side)
successorAuthorId
Designated successor when the current author is offboarded
isPortalVisible
Visible in the customer portal
visibleToAllCustomers
Released to EVERY portal customer. Opt-in on purpose (ADR 0743): an empty visibleToPartyIds used to mean the same thing implicitly, so forgetting to pick an audience published the article to all customers.
visibleToPartyIds
Portal audience: the parties this article is shared with. Ignored when visibleToAllCustomers is true. Empty + not all-customers = visible to nobody.
tags
Free-text tags
attachments
linkedEntities
embeddingStatus
PENDINGPROCESSINGDONEFAILEDlastEmbeddedAt
spaceId
Owning kb_space UUID. Articles without a space appear in the default space.
parentId
Parent article UUID for hierarchy
sortOrder
Sort order among siblings under parentId
path
Materialized ancestor path (denormalized)
rootArticleId
Denormalized root article UUID for share-based visibility
isTemplate
If true, this article acts as a template/blueprint
templateName
templateDescription
icon
Emoji grapheme (e.g. "🚀") OR an Icons key from the shared set (e.g. "Server"). Rendered as an icon when the value matches an Icons key, otherwise as text.
iconColor
Optional accent color for the article icon (hex, e.g. "#3b82f6")
nextReviewDate
Scheduled date for the next content review
lastReviewedAt
Timestamp of the last completed review
source
External master of this article (e.g. CONFLUENCE). Absent = own article
externalOwnership
LOCAL = detached from the source, edited here from now on
sourceRef
Anchor of the mirrored page in the source. Internal, never shown in the portal
sourceAuthorName
Author as shown in the source. Display only: authorId would grant visibility
sourceMountBindingId
Set on the mount article a source binding hangs under
sourceLastCheckedAt
Last check against the source. Technical, carries no history
Ningún campo coincide con el filtro.
Endpoints estándar
Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:
GET /api/v1/kb_articles— Lista, paginada y filtrableGET /api/v1/kb_articles/<id>— Una entidadPOST /api/v1/kb_articles— CrearPATCH /api/v1/kb_articles/<id>— Actualización parcialDELETE /api/v1/kb_articles/<id>— Eliminación lógicaGET /api/v1/kb_articles/<id>/timeline— Auditoría y actividades