Create a new file context (upload pipeline). Contexts define the rules applied to every file uploaded under them — allowed extensions, size limits, blank/corrupt rejection, virus scanning, rate limits, and storage quotas.
Pass an API key or JWT token. API keys can be sent as Authorization: Bearer <key> or Authorization: <key>.
Unique, immutable identifier in snake_case.
1 - 100Human-readable name.
1 - 2551000Allowed file extensions (e.g. ["pdf", "png"]). Empty array allows all.
Maximum file size in megabytes.
1 <= x <= 500Custom S3 path template for uploaded files.
500Reject files detected as blank or placeholder content.
Reject files that fail integrity checks.
Scan files for malware using ClamAV.
Optional per-context upload rate limit.
Storage quota in MB. null means unlimited.
1 <= x <= 10485760