Skip to main content
POST
Upload file

Authorizations

Authorization
string
header
required

Pass an API key or JWT token. API keys can be sent as Authorization: Bearer <key> or Authorization: <key>.

Body

multipart/form-data
file
file
required

The file to upload.

context
string
required

The context key to upload into (e.g. patient_reports).

metadata
string

Optional JSON object string with custom metadata (max 4 KB).

Example:

"{\"department\": \"radiology\", \"patient_id\": \"P-12345\"}"

Response

File uploaded and validated successfully.

status
enum<string>
Available options:
SUCCESS
message
string
data
object
timestamp
string<date-time>