Data Sources
Create a file data source
Add file content (PDF, DOCX, or Image) as a data source to train your agent. The content should be pre-extracted from the file.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Details for the file data source.
The body is of type object
.
Response
200
application/json
File data source created successfully
The response is of type object
.