rough cut of Knowledge Base Builder API