Upload File
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects a multipart form containing a file.
file
This is the File you want to upload for use with the Knowledge Base.
Response
File uploaded successfully
id
This is the unique identifier for the file.
orgId
This is the unique identifier for the org that this file belongs to.
createdAt
This is the ISO 8601 date-time string of when the file was created.
updatedAt
This is the ISO 8601 date-time string of when the file was last updated.
object
status
Allowed values:
name
This is the name of the file. This is just for your own reference.
originalName
bytes
purpose
mimetype
key
path
bucket
url
parsedTextUrl
parsedTextBytes
metadata