API for CTF framework