Add api endpoint for kinds