curl --request POST \ --url http://localhost:8080/{app_id}/add \ -d "source=https://www.forbes.com/profile/elon-musk" \ -d "data_type=web_page"
{ "response": "fec7fe91e6b2d732938a2ec2e32bfe3f" }
Add a data source to an app.
Documentation IndexFetch the complete documentation index at: https://docs.embedchain.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.embedchain.ai/llms.txt
Use this file to discover all available pages before exploring further.
The source that you want to add to the App.
The type of data to add, remove it if you want Embedchain to detect it automatically.
Successful Response
Was this page helpful?