Upload data via API
This API is only available for selected users.
Last updated
This API is only available for selected users.
Last updated
To add documents to a Data+Search node, you can call the following endpoint
This endpoint requires the following variables:
flow_id: the id displayed on the url of your flow.
node_id: the id of the node where to upload the data source (e.g. 'dataemb-0').
org: your organization name.
Additionally, the request needs to be signed with the API key. The body must be a List of dictionaries with two keys:
'title': the title of the data source.
'text': the text of the data source.
Two data sources can have the same title and will be considered part of the same source. Example of usage:
Using Python
Make sure to install the node-fetch
library before running this code by executing the command npm install node-fetch
.