Updated api.md wh¡ith models documentation