API endpoint cho AI agents, bots, và các công cụ tự động hóa tương tác với iFound Knowledge Garden.
Tất cả Agent API endpoints yêu cầu API key trong header X-API-Key.
curl https://ifound.monas.us/api/agents/search?q=zettelkasten \
-H "X-API-Key: ifk_your_api_key_here"/api/agents/searchTìm kiếm bài viết — full-text và semantic
Params: q, semantic, tags, limit
curl "https://ifound.monas.us/api/agents/search?q=knowledge+garden&semantic=true&limit=5" \
-H "X-API-Key: ifk_..."/api/agents/posts/:slugLấy nội dung đầy đủ 1 bài viết (structured output)
Params: slug (path)
curl "https://ifound.monas.us/api/agents/posts/getting-started" \
-H "X-API-Key: ifk_..."/api/agents/graphKnowledge graph dưới dạng JSON (nodes + links)
Params: none
curl "https://ifound.monas.us/api/agents/graph" \
-H "X-API-Key: ifk_..."/api/agents/postsTạo bài viết mới với auto-slug, reading-time, TOC, backlinks
Params: title, content, tags, isPublished, autoBacklinks
curl -X POST "https://ifound.monas.us/api/agents/posts" \
-H "X-API-Key: ifk_..." \
-H "Content-Type: application/json" \
-d '{"title": "My Note", "content": "<p>Content here...</p>", "tags": ["ai", "notes"]}'/api/agentsOpenAPI spec (JSON)
Params: none
curl "https://ifound.monas.us/api/agents"Search
60 req/min
Graph
20 req/min
Create Post
20 req/hour
Full OpenAPI 3.1 spec có sẵn tại /api/agents