Skip to main content
POST
/
ee
/
connectors
/
{connector_type}
/
ingest
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);
{}

Headers

authorization
string

Path Parameters

connector_type
string
required

Body

application/json
file_id
string
required
morphik_folder_name
string | null
morphik_end_user_id
string | null
metadata
object | null
rules
Rules · object[] | null

Response

Successful Response

The response is of type object.

I