Path
The id of the datastore you want to access.
Body
This is the ID of the Datasource you want to update.
This is the name of the Datasource.
This is the name of the Datasource.
This is the metadata object of the Datasource.
Response
curl --location --request POST 'https://app.zappway.ai/api/datastores/update/<datastoreId>' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <API_KEY>' \
--data-raw '{
"id": "<datasourceID>",
"text": "Lorem Ipsum...",
"name": "My Document",
"metadata": {
"source" : "https://en.wikipedia.org/wiki/Lorem_ipsum",
"author": "John Doe",
"date": "2021-01-01",
}
}'
{
"id": "60f9b9f0-0b1a-11ec-9a03-0242ac130003"
}