POST
/
update_instance

This endpoint allows you to update an existing instance with new data. You need to provide the data source URL, the user email, and the instance ID as part of the request.

Request Parameters

user_email
string
required

The email address you are using on your berri.ai account Example: ishaan@berri.ai

instance_id
string
required

The instance you want to add data to, create_app returns an instance_id that you should use here

data_source
string

You can either send a single data source: a single file (.pdf, .zip, .pptx, .docx, .txt) or a website/API URL.

Response

message
string

returns Data updated successfully on successful update

status
string

Returns success on successful update