cURL
curl --request POST \ --url 'https://api.example.com/api/v1/datasource/{datasource_id}/text_blob?api_key=' \ --header 'Content-Type: application/json' \ --data '{}'
{ "message": "Data created successfully", "meta": {}, "data": { "ds_type": "pdf", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "description": "<string>", "attributes": {}, "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } }
add a new file to a datasource
Your API key for authentication. You can generate it from the Settings page. Format: starts with in-.
in-
pdf
doc
http
tool
text_blob
image
text_image
The body is of type Attributes · object.
Attributes · object
Successful Response
Show child attributes
Was this page helpful?