[api] avoid entire template in API (for now)