extended ingest api to support options object