Skip to main content
POST
Upload File

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

context_id
string<uuid> | null

Body

multipart/form-data
file
string
required

Response

Successful Response

id
string<uuid>
required
filename
string
required
content_type
string
required
Maximum string length: 256
created_by
string<uuid>
required
file_size_bytes
integer | null
created_at
string<date-time>
file_type
enum<string>
default:user_upload
Available options:
user_upload,
extracted_text
parent_file_id
string<uuid> | null
context_id
string<uuid> | null