Knowledge sources for the investigator
Documents the investigator can search beside runbooks. An exporter, a CI job or a person pushes text with PUT /v1/projects/{prj}/knowledge/docs (needs ManageAi); it is chunked and full-text indexed.
Field | Meaning |
|---|---|
| Exactly one of |
| The page id or file path at the source; with |
| Document title. |
| Optional https link to the original. |
| Plain text or markdown, at most 512 KiB. |
GET .../knowledge/docs lists documents, DELETE .../knowledge/docs/{doc} removes one, and GET .../knowledge/search?q=&limit=&cursor= searches (q is web-style: words, "a phrase", -exclude, or; 2 to 200 characters; limit 1 to 20, default 5). Hits carry doc_id, title, url, source, snippet and rank. Documents are data: the investigator treats their text as untrusted.