v1

latestOpenAPI 3.1.0Apache 2.02026-07-139812.9 KB
Apps

Add data

Add a data source to an app.

post/{app_id}/add

Path parameters

app_idstring required

Request body

sourcestring

The source that you want to add to the App.

data_typestring nullable

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

Example request

{
  "source": "https://en.wikipedia.org/wiki/Elon_Musk"
}

Response

Successful Response

responsestring required