API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · kb_articles

KB Article Schema

Schema ID
kb_article
Collection
kb_articles
Permissions
  • Readkb_article_view
  • Createkb_article_create
  • Editkb_article_edit
  • Deletekb_article_delete

Fields

KB Article Schema

kb_articles4 permissions

Knowledge base article

articleNumberstringoptional

Human-readable article number (server-generated, e.g. K-2026-00042)

read-onlynullable
titlestringrequired

Article title

1–500 characters
slugstringoptional

URL-friendly slug (auto-generated from title if missing)

max 500 charactersnullable
contentstringoptional

Article body (plain text or Markdown depending on bodyFormat)

Default: ""nullable
contentHtmlstringoptional

Rich-text HTML body (sanitized server-side)

nullable
bodyFormatstringoptional

Content format used for rendering

MARKDOWNHTMLBLOCKS
nullable
categorystringoptional

Category label (free-text)

Default: "Allgemein"nullable
categoryIdstringoptional

Optional structured category UUID

nullable
statusstringoptional

Workflow status

DRAFTREVIEWPUBLISHEDARCHIVED
Default: "DRAFT"
isPublishedbooleanoptional

Publication flag (mirrors status === PUBLISHED)

Default: falsenullable
viewCountintegeroptional

Number of times the article has been viewed

≥ 0Default: 0nullable
authorIduuidoptional

Primary author user UUID (protected — assigned server-side)

read-onlynullable
successorAuthorIduuidoptional

Designated successor when the current author is offboarded

Default: nullnullable
isPortalVisiblebooleanoptional

Visible in the customer portal

Default: falsenullable
visibleToAllCustomersbooleanoptional

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.

Default: falsenullable
visibleToPartyIdsuuid[]optional

Portal audience: the parties this article is shared with. Ignored when visibleToAllCustomers is true. Empty + not all-customers = visible to nobody.

Default: []nullable
tagsstring[]optional

Free-text tags

Default: []nullable
attachmentsobject[]optional
Default: []nullable
s3Keystringrequired
fileNamestringrequired
mimeTypestringrequired
sizeBytesnumberrequired
≥ 0
uploadedAtdatetimerequired
uploadedByuuidrequired
isInternalbooleanoptional
nullable
linkedEntitiesobject[]optional
Default: []nullable
entityTypestringrequired
partyassetticketcontractprojectuseropportunitykb_articleproblem
entityIduuidrequired
rolestringrequired
embeddingStatusstringoptional
PENDINGPROCESSINGDONEFAILED
nullable
lastEmbeddedAtdatetimeoptional
nullable
spaceIduuidoptional

Owning kb_space UUID. Articles without a space appear in the default space.

Default: nullnullable
parentIduuidoptional

Parent article UUID for hierarchy

Default: nullnullable
sortOrderintegeroptional

Sort order among siblings under parentId

≥ 0Default: 0nullable
pathstring[]optional

Materialized ancestor path (denormalized)

nullable
rootArticleIduuidoptional

Denormalized root article UUID for share-based visibility

nullable
isTemplatebooleanoptional

If true, this article acts as a template/blueprint

Default: falsenullable
templateNamestringoptional
max 200 charactersnullable
templateDescriptionstringoptional
max 2000 charactersnullable
iconstringoptional

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.

max 60 charactersnullable
iconColorstringoptional

Optional accent color for the article icon (hex, e.g. "#3b82f6")

Patternnullable
nextReviewDatedatetimeoptional

Scheduled date for the next content review

Default: nullnullable
lastReviewedAtdatetimeoptional

Timestamp of the last completed review

Default: nullnullable
sourcestringoptional

External master of this article (e.g. CONFLUENCE). Absent = own article

read-onlynullable
externalOwnershipstringoptional

LOCAL = detached from the source, edited here from now on

read-onlynullable
sourceRefobjectoptional

Anchor of the mirrored page in the source. Internal, never shown in the portal

read-onlynullable
sourceAuthorNamestringoptional

Author as shown in the source. Display only: authorId would grant visibility

read-onlynullable
sourceMountBindingIdstringoptional

Set on the mount article a source binding hangs under

read-onlynullable
sourceLastCheckedAtdatetimeoptional

Last check against the source. Technical, carries no history

read-onlynullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/kb_articles — List, paginated + filterable
  • GET /api/v1/kb_articles/<id> — Single entity
  • POST /api/v1/kb_articles — Create
  • PATCH /api/v1/kb_articles/<id> — Partial update
  • DELETE /api/v1/kb_articles/<id> — Soft delete
  • GET /api/v1/kb_articles/<id>/timeline — Audit + activities

Search