Knowledge sources
Texts, web pages and Site content the agents answer from: type, trust level, required module, refresh, state (active, error, quarantined). Re-read with the refresh action.
Module: AI agents (agents).
Endpoints
Section titled “Endpoints”GET /api/v1/agent_knowledge_sources- List with filters, sorting and pagination (scopeagents:read)GET /api/v1/agent_knowledge_sources/{id}- A record by id (scopeagents:read)POST /api/v1/agent_knowledge_sources- Create a record (scopeagents:write)PATCH /api/v1/agent_knowledge_sources/{id}- Modify the submitted fields (scopeagents:write)DELETE /api/v1/agent_knowledge_sources/{id}- Delete or deactivate (scopeagents:write)POST /api/v1/agent_knowledge_sources/{id}/refresh- Re-reads the source now; a quarantined source is also re-read from here, after a person has seen it. (scopeagents:write)POST /api/v1/agent_knowledge_sources/{id}/ocr- Reads a scanned document (PDF without text, or photo) in the background: method = local (free, slower) or ai (paid, recorded in the register). The state shows on the source: processing, then active or error. (scopeagents:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).agent_id(string; write)kind(string; write)title(string; write, required)ref(string; write)body(string; write)trust(string; read)module(string; write)refresh(string; write)status(string; read)error(string; read)chunk_count(integer; read)last_read_at(string, date-time; read)last_changed_at(string, date-time; read)next_refresh_at(string, date-time; read)created_by(string; read)created_at(string, date-time; read): Creation date (ISO 8601).updated_at(string, date-time; read): Last modification date (ISO 8601).file_mime(string; read)file_pages(integer; read)ocr_method(string; read)