[api] add hook subspace to hook arguments