Skip to content

Knowledge Base

The knowledge base (KB) stores structured knowledge in Markdown articles and links them with tickets.

Knowledge Base

Articles

Each article has:

FieldDescription
titleArticle title
slugURL-friendly identifier (auto-generated)
contentMarkdown content
categoryCategory (e.g. "Networking", "Guides")
tagsArray of tags for filtering
visibilityinternal (agents only) or public (also customer portal)
statusdraft, published, archived

Visibility

Internal (internal): Visible only to logged-in agents. Typical for: Escalation procedures, internal checklists, password policies.

Public (public): Also appears in the customer portal. Typical for: End-user guides, FAQ, known issues.

Ticket Linking

Articles can be linked to tickets:

  • "Known Issue" → references all affected incidents
  • "How-To" → linked to the change that requires the guide

Links appear:

  • In the Knowledge Base tab of the ticket (all linked articles)
  • In the article detail under linked_ticket_ids
  • Full-text search across title and category
  • Filters: Status, visibility, category
  • In the portal: only published, public articles

REST API

GET    /api/v1/kb/articles                    # List (filter, paginate, search)
POST   /api/v1/kb/articles                    # Create
GET    /api/v1/kb/articles/:id                # Detail with linked_ticket_ids
PUT    /api/v1/kb/articles/:id                # Update
DELETE /api/v1/kb/articles/:id                # Delete (+ links)
POST   /api/v1/kb/articles/:id/link/:ticketId # Link to ticket
DELETE /api/v1/kb/articles/:id/link/:ticketId # Remove link

Filter Parameters

GET /api/v1/kb/articles?q=exchange&status=published&visibility=public&category=Networking
GET /api/v1/kb/articles?linked_ticket_id=<uuid>  # Articles linked to ticket

Released under the AGPL-3.0 License.