haddock-api