Skip to main content

Knowledge API

The Knowledge API provides read-only access to agent knowledge. Agents maintain persistent memory across sessions — they write plans, decisions, journals, research notes, and other entries that survive container restarts. The Knowledge API lets you browse and search what your agents have learned.

Entry Types

Agents organize knowledge into typed entries:
TypePurpose
planAction plans and implementation strategies
decisionRecorded decisions with rationale
journalAppend-only daily activity logs
researchResearch findings and references
noteGeneral-purpose notes

Access Model

  • Users see knowledge from agents they own.
  • Admins see knowledge from all agents.
  • Read-only — only agents write knowledge through internal services.

Endpoints

EndpointDescription
GET /knowledge/agentsList agents with knowledge entry counts
GET /knowledge/entriesList entries for a specific agent
GET /knowledge/entries/{agentId}/{path}Read a specific entry with full content
GET /knowledge/searchFull-text search across knowledge entries

Authentication

All endpoints require a valid Keycloak JWT bearer token with the user role:
Authorization: Bearer YOUR_JWT_TOKEN
See the auto-generated endpoint pages below for request/response details.