getSession = (idOrSlug, options = {}) => {
  if (!idOrSlug) {
    throw new Error('No slug/id supplied')
  }
  return fetchJson(`/db/interactive/${idOrSlug}/session`, {
    method: 'GET',
    data: options
  })
}
Retrieves the json representation of interactive session.
@param {string} idOrSlug - Id/Slug of the interactive.
@param {'javascript'|'python'} options.codeLanguage - interactive session language
@return {Promise<Object>} - Raw Interactive Session object