Skip to main content
POST
Upload

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Workspace-Id
string | null

The workspace ID

Body

multipart/form-data
collection_id
string
required
file
file | null
files
file[] | null
content
string | null
urls
string[] | null
content_type
string | null
default:file
metadata
string | null
user_id
string | null
label
string | null
description
string | null
crawl
boolean | null
default:false
ingest
boolean | null
default:true
reader
string | null

Response

Successful Response