POST
/
{app_id}
/
add
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" }
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" }

Path Parameters

app_id
string
required

Body

application/json
source
string
default:

The source that you want to add to the App.

data_type
string | null

The type of data to add, remove it if you want Embedchain to detect it automatically.

Response

200 - application/json
response
string
required