v1

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

Create Document by URL

post/brain/{brain_id}/documents/url

Path parameters

brain_idstring required

Request body

urlstring

Url of the website that you want to add

Example request

{
  "url": "https://en.wikipedia.org/wiki/Artificial_intelligence"
}

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