Skip to main content
PATCH
Update file context

Authorizations

Authorization
string
header
required

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

Path Parameters

context_key
string
required

The file context's unique key (e.g. patient_reports).

Body

application/json
display_name
string
Required string length: 1 - 255
description
string | null
Maximum string length: 1000
allowed_extensions
string[]
max_file_size_mb
integer
Required range: 1 <= x <= 500
storage_path_template
string | null
Maximum string length: 500
reject_blank_files
boolean
reject_corrupt_files
boolean
scan_for_viruses
boolean
upload_rate_limit
object | null
storage_quota_mb
integer | null
Required range: 1 <= x <= 10485760
status
enum<string>
Available options:
active,
inactive
metadata
object | null
storage_config_id
string | null

Storage bucket (config_id) to route this context to. Send an empty string to reset to the tenant's default bucket.

Response

File context updated.

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