Get Upload Config
GET
/ingest/upload/config
const url = 'https://example.com/api/ingest/upload/config';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/ingest/upload/config \ --header 'Authorization: Bearer <token>'Return upload configuration including presigned upload availability.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Successful Response
Media type application/json
UploadConfigResponse
object
presigned_uploads
required
Presigned Uploads
Whether presigned S3 uploads are enabled (requires STORAGE_PROVIDER=s3).
boolean
presigned_threshold_bytes
required
Presigned Threshold Bytes
File size threshold (bytes) above which multipart presigned URLs are used.
integer
max_file_size_bytes
required
Max File Size Bytes
Maximum allowed upload size in bytes.
integer
allowed_extensions
required
Allowed Extensions
Comma-separated list of allowed file extensions.
string
Example generated
{ "presigned_uploads": true, "presigned_threshold_bytes": 1, "max_file_size_bytes": 1, "allowed_extensions": "example"}