MAIA PlusDocumentation

Knowledge · MAIA Plus

Your own documents,
in MAIA Plus.

MAIA Plus answers from the knowledge it has been given: ServiceDesk Plus solutions, portal content and the documents you add yourself. This page shows what it accepts, how to add it and how to confirm it actually became searchable.

PDF · DOCX · XLSX · TXT · MD · imagesUpload or API10 MB per file by default

What MAIA Plus can read

Upload a single file at a time. MAIA Plus checks the type and the file signature, then extracts the text before anything reaches the index.

FormatWhat is extracted
PDF (.pdf)Text layer of the document.
Word (.docx)Document text, checked for safe archives before parsing.
Excel (.xlsx)Workbook content, same archive safety check.
Text and Markdown (.txt, .md, .markdown)The file as it is, split into sections on blank lines.
Images (.png, .jpeg, .jpg)Accepted and stored; the text comes from the file’s own content, not from an OCR pass.
Size limit

The default limit is 10 MB per file. An administrator can raise it with the runtime setting rag.upload.maxBytes.

Anything else is rejected before it is queued: the extension allowlist and the file signature must both match.

Add a document from the WebUI

  1. Open Repozytorium wiedzy (Knowledge repository) in the left navigation.
  2. Choose Prześlij dokument (Upload document).
  3. Pick the file. MAIA Plus parses it and shows the extracted text, so you can see what will be indexed before you commit.
  4. Complete the metadata: source, source type, and — when your installation works with several ServiceDesk Plus portals — the portal the knowledge belongs to.
  5. Choose the audience: internal knowledge is available to assistants serving staff, public knowledge may be used where requesters are answered.
  6. Submit. The document enters the ingestion queue and the list shows its status.

You do not have to wait for indexing: the queue processes documents in the background and the status changes from pending to indexed.

Add documents from a script

Assignments that produce documents — an export, a generator, a nightly job — can post them directly. The endpoint is admin-only and accepts one file per request.

POST /maia/api/v1/knowledge/upload
Content-Type: multipart/form-data
Cookie: maia_webui_token=<admin session>

file        the document (required)
title       display title
sourceId    stable identifier of the source system
sourceType  label for the source, e.g. manual_upload
portalId    ServiceDesk Plus portal id, when the installation uses several
audience    internal | public

Send only the file first to rehearse the extraction:

POST /maia/api/v1/knowledge/parse

The response is the parsed text split into sections — nothing is queued by this call.

Uploading the same document twice

A document is identified by its source, source type and external identifier. Re-sending the same pair updates the existing entry instead of creating a duplicate, so a nightly export can safely repeat.

Approval before indexing

If your installation requires approval for knowledge, a new document waits in the queue as pending approval instead of being indexed. An administrator reviews it in Administration and approves or rejects it; the decision is recorded with the document version and content hash, so an approval cannot be applied to a document that changed in the meantime.

Confirm the knowledge is usable

  1. Wait for the status to read indexed in the knowledge repository.
  2. Search the repository for a phrase that appears only in your new document.
  3. Ask the same phrase in the response simulator — the answer should cite the document.
  4. If a workflow uses knowledge, run its test; the RAG step result shows which documents were retrieved.

Later edits are normal operations: reindex rebuilds the entry, unindex takes it out of search without deleting it, and delete removes it entirely.

Knowledge that arrives by itself

Adding files by hand is only part of the picture. MAIA Plus also keeps synchronising the sources configured in the installation:

  • ServiceDesk Plus solutions — polled on a schedule, so published articles reach the knowledge base without manual work.
  • Local policy folders — files placed in the configured directory are picked up automatically.
  • ServiceDesk Plus database sources — ticket history is read through the configured connection.

These synchronisations skip while the installation is paused and resume when it is running again.

If an upload is refused

  • Unsupported file type — the extension is not on the list above, or the file content does not match its extension.
  • File too large — above the configured limit; compress or split the document, or ask an administrator to raise it.
  • Empty document — the extracted text was blank. A scanned PDF without a text layer produces no text; supply a text-based version.
  • Nothing appears in search — the document may still be in the queue or waiting for approval; check its status first.