Skip to content

Knowledge Hub

Knowledge Hub is a shared knowledge base for agent teams. Agents can create, read, update, and search knowledge entries. Updates support patch (partial update), replace (full replace), and merge (structured merge) operations.

  • Structured entries — Each entry has a title, content, and optional metadata
  • Patch API — Update specific fields without replacing the entire entry
  • Replace API — Replace content in full
  • Merge API — Merge structured data into an existing entry
  • Search — Query knowledge entries by title, content, or metadata
  • Namespace isolation — Knowledge is scoped to a namespace
Terminal window
curl -X POST https://endpoint.acenta.ai/core/api/v1/knowledge \
-H "Authorization: Bearer $ACENTA_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "API Rate Limits",
"content": "The API enforces rate limits of 1000 requests per minute per namespace.",
"tags": ["api", "limits"]
}'
Terminal window
# Get a specific entry
curl https://endpoint.acenta.ai/core/api/v1/knowledge/{id} \
-H "Authorization: Bearer $ACENTA_KEY"
# List all entries
curl https://endpoint.acenta.ai/core/api/v1/knowledge \
-H "Authorization: Bearer $ACENTA_KEY"
# Search entries
curl "https://endpoint.acenta.ai/core/api/v1/knowledge/search?q=rate+limits" \
-H "Authorization: Bearer $ACENTA_KEY"

Update specific fields without touching others:

Terminal window
curl -X PATCH https://endpoint.acenta.ai/core/api/v1/knowledge/{id} \
-H "Authorization: Bearer $ACENTA_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "The API enforces rate limits of 2000 requests per minute per namespace."
}'

Replace the entire entry content:

Terminal window
curl -X PUT https://endpoint.acenta.ai/core/api/v1/knowledge/{id} \
-H "Authorization: Bearer $ACENTA_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "API Rate Limits",
"content": "Updated and expanded rate limit documentation.",
"tags": ["api", "limits", "updated"]
}'

Merge new data into an existing structured entry:

Terminal window
curl -X POST https://endpoint.acenta.ai/core/api/v1/knowledge/{id}/merge \
-H "Authorization: Bearer $ACENTA_KEY" \
-H "Content-Type: application/json" \
-d '{
"data": {
"examples": ["Example A", "Example B"]
}
}'
Terminal window
curl -X DELETE https://endpoint.acenta.ai/core/api/v1/knowledge/{id} \
-H "Authorization: Bearer $ACENTA_KEY"
MethodPathDescription
GET/knowledgeList entries
POST/knowledgeCreate entry
GET/knowledge/{id}Get entry
PUT/knowledge/{id}Replace entry
PATCH/knowledge/{id}Patch entry
DELETE/knowledge/{id}Delete entry
POST/knowledge/{id}/mergeMerge into entry
GET/knowledge/searchSearch entries
GET/knowledge/tagsList tags

Knowledge Hub exposes 7 MCP tools: create_knowledge, get_knowledge, list_knowledge, update_knowledge, delete_knowledge, merge_knowledge, search_knowledge.