JavaScript
import Morphik from 'morphik'; const client = new Morphik({ apiKey: 'My API Key', }); const response = await client.ee.connectors.ingestFile('connector_type', { file_id: 'file_id' }); console.log(response);
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Ingest a single file from a connector.
Identifier of the connector file being ingested.
Optional Morphik folder name applied to the ingested document.
Metadata attached to the document when ingesting from the connector.
Successful Response
Was this page helpful?