Changes to POST /api/kernel/instantiate

post/api/kernel/instantiate