The unsurprisingly-named and -located:
Code:
from calibre.ebooks import BOOK_EXTENSIONS
And some people use ~/Downloads as an auto-add folder.
...
How do I find these things out? I take a look at how calibre adds things, in calibre.gui2.add_to_library and calibre.gui2.auto_add