v1

latestOpenAPI 3.1.0raw.githubusercontent.com2024-11-01441490.1 KB
Brain

Upload Document

post/brain/{brain_id}/documents/file

Path parameters

brain_idstring required

The ID of the knowledge base to which the document belongs

Response

brain_idstring required

A unique identifier for the “brain” associated with this document or data object

created_atstring required

The timestamp indicating when the document or file was created

document_idstring required

A unique identifier for the document associated with this object

idinteger required

An internal ID for this object

namestring required

The name of the file or document

statusstring required

The current status of the document processing.

typestring required

The type of the document or file

urlstring required

A URL link to access or download the file. This is likely a temporary signed URL from AWS S3, as it includes authentication details and an expiration timestamp