Documents
Manage documents and their chunks, including creation via URL or file upload, retrieval, update, deletion, search, and status control. Documents can be associated with datasets.
["xxxx"]78c8e44c-9ef2-461d-88ba-ee7783a90251{{tenantId}}the API Key
{{apiKey}}s3, gcs
use url or storageBucket + storagePath
use url or storageBucket + storagePath
{{currentTenantId}}{{tenantUnitId}}the API Key
{{apiKey}}UnstructuredFilepdf["[\"{{datasetId}}\"]"]{{tenantUnitId}}file://D:\study\Code\codeRepos\ecompilot-web\tests\synthetic_tests\WoolworthsAnnualReport.pdf{{tenantId}}{"test":true}External ID of the document
Optional list of dataset IDs as JSON string
["your-dataset-id"]{{tenantId}}the API Key
{{apiKey}}External ID used to identify the document
Name of the document
Tenant ID
Tenant Unit ID
URL of the document to fetch and process
Direct content of the document, if provided
Document successfully upserted
Invalid input
Unauthorized
Internal server error
2549d630-81ab-41b9-a691-5377fe140fed{{tenantId}}the API Key
{{apiKey}}UnstructuredFile{{tenantUnitId}}dataset ids, seperate with comma
xxx,yyy,zzzUnstructuredFile StructuredFile UnstructuredWebpage StructuredWebpage
UnstructuredFiledefault to 1 if not passing this query
1default to 10 if not passing this query
10{{tenantId}}the API Key
{{apiKey}}{{tenantId}}the API Key
{{apiKey}}use url or storageBucket + storagePath
{{tenantId}}the API Key
{{apiKey}}default to 1 if not passing this query
1default to 10 if not passing this query
10{{tenantId}}the API Key
{{apiKey}}{{tenantId}}the API Key
{{apiKey}}default is 5
currently support 'english' or 'chinese' , default is 'english'
{{tenantId}}the API Key
{{apiKey}}[""]the API Key
{{apiKey}}8313c091-eb49-4d42-91cb-0a1f965a4e9007284edf-f254-4503-8ca6-c2deff022fd4the API Key
{{apiKey}}active or inactive
{{tenantId}}the API Key
{{apiKey}}active or inactive
Last updated
Was this helpful?