Upload File

Authentication

AuthorizationBearer

Retrieve your API Key from Dashboard.

Request

This endpoint expects a multipart form containing a file.
filefileRequired
This is the File you want to upload for use with the Knowledge Base.

Response

File uploaded successfully
idstring
This is the unique identifier for the file.
orgIdstring
This is the unique identifier for the org that this file belongs to.
createdAtdatetime

This is the ISO 8601 date-time string of when the file was created.

updatedAtdatetime

This is the ISO 8601 date-time string of when the file was last updated.

objectenum
Allowed values:
statusenum
Allowed values:
namestring<=40 characters
This is the name of the file. This is just for your own reference.
originalNamestring
bytesdouble
purposestring
mimetypestring
keystring
pathstring
bucketstring
urlstring
parsedTextUrlstring
parsedTextBytesdouble
metadataobject

Errors

400
Bad Request Error