{ "success": true, "count": 1, "knowledge_bases": [ { "knowledge_base_id": "knowledge_base_7a0682ce5fc02413", "knowledge_base_name": "Acme Solutions", "unique_id": "1764105884537x291772143525964264", "status": "in_progress", "total_sources": 2, "source_types": ["url", "text"], "source_details": { "urls": ["https://www.prantanirbarua.dev/"], "texts": [ { "title": "Policy", "text_length": 131 } ] }, "enable_auto_refresh": false, "default_top_k": 3, "default_filter_score": 0.6, "organization_id": "4d051118-c116-4923-8ff4-1a9761115fec", "tenant_id": "bevri", "created_at": "2025-11-25T21:24:44.643602+00:00", "updated_at": "2025-11-25T21:24:44.643602+00:00" } ], "powered_by": "Teli" }
List all knowledge bases for an organization
curl "https://api.teli.ai/v1/knowledge-bases?organization_id=1762896364768x389173798861431550&user_id=1762896366429x599348279945132448&is_admin=true" \ -H "X-API-Key: YOUR_API_KEY"
in_progress
complete
error
["url", "text", "document"]
GET /v1/knowledge-bases?organization_id=xxx&user_id=xxx&is_admin=true → Returns all KBs for organization
GET /v1/knowledge-bases?organization_id=xxx&user_id=xxx&is_admin=false → Returns only KBs created by this user