repl API