Create a content fragment
Create a new content fragment in the workspace identified by .
Authorizations
Your DUST API key is a Bearer token.
Body
The title of the content fragment
"My content fragment"
The content of the content fragment (optional if fileId is set)
"This is my content fragment extracted text"
The content type of the content fragment (optional if fileId is set)
"text/plain"
The URL of the content fragment
"https://example.com/content"
The id of the previously uploaded file (optional if content and contentType are set)
"fil_123456"
Path of this file inside the sandbox conversation mount.
"conversation/report.csv"
Whether data source indexing was skipped for this file.
Whether upload-time file processing was skipped.
The id of the content node (optional if content and contentType are set)
"node_123456"
The id of the data source view (optional if content and contentType are set)
"dsv_123456"
Response
Content fragment created successfully.
The title of the content fragment
"My content fragment"
The content of the content fragment (optional if fileId is set)
"This is my content fragment extracted text"
The content type of the content fragment (optional if fileId is set)
"text/plain"
The URL of the content fragment
"https://example.com/content"
The id of the previously uploaded file (optional if content and contentType are set)
"fil_123456"
Path of this file inside the sandbox conversation mount.
"conversation/report.csv"
Whether data source indexing was skipped for this file.
Whether upload-time file processing was skipped.
The id of the content node (optional if content and contentType are set)
"node_123456"
The id of the data source view (optional if content and contentType are set)
"dsv_123456"