get all agents for a user id and api key