import { apiRequest } from './api.js'

export function fetchOntologyParse(payload, options = {}) {
  return apiRequest('/ontology/parse', {
    method: 'POST',
    body: JSON.stringify(payload),
    ...options
  })
}
