Authorizations
Path Parameters
Your application's uid
1
Your context's uid
1
Body
Name of the file
1 - 100
mime type of the file to be ingested
video/mp4
, audio/mpeg
, application/pdf
, application/vnd.openxmlformats-officedocument.presentationml.presentation
, application/vnd.openxmlformats-officedocument.wordprocessingml.document
, text/html
, text/plain
, application/zip
Optional External ID of the file
When sending a scorm file set mimeType to application/zip and specify 'scorm' here
20
Url to download the file from for ingestion
2048
Content of the file, text (plain or markdown) or html to be ingested directly
65536
Automatically publish this file after successful ingestion
Allows the agent to refer to knowledge ingested from this document without ever revealing the source doc
How the agent can refer to this file. eg 'video', 'discussion', 'sales pitch'
200
An external URL to direct an end user to the file for this document
2048
An external URL for a custom thumbnail for this file. It must point to an image of less than 3MB
2048
A base64 encoded image to use as a thumbnail for this file.
65536
Instruct agent UI to launch the externalUrl provided
Optional string to support spotting content change
200
Array of label uids (max 10)
10
Optional string to track id of triggering process
200
Response
File accepted. Ingestion processing started
Unique identifier
Optional External ID of the file
Creation timestamp (ISO 8601)
Name to display to the end user
Status of the resource
Run identifier (if specified on ingestion)
MIME type of the file
Whether this file will be automatically made available after successful ingestion
Flag to hide file segments in agent responses. Does not hide the knowledge from the agent
Array of label UIDs to associate wth the file
10
Externally provided content hash string to enable decisions on when to replace the file
How the agent can refer to this item. Eg webinar, presentation, paper, specification etc
External URL to launch when aa user wishes to view this file
Flag to view using the provided externalUrl. Otherwise inbuilt player will be used
If a thumbnail has been changed by an admin this boolean will allow automated updates to skip replacing the thumbnail