Storages

Create a new storage

Create a new storage configuration for cloud storage providers like AWS S3, Cloudflare R2, etc. The storage credentials will be validated before saving.

POST
/api/storages

Authorization

Authorization
header
string
required

Enter the project access token with the Bearer prefix, e.g. "Bearer project_access_token"

Bodyapplication/json

Storage creation parameters

Storage parameters for AWS S3 storage.

access_key_id
string
required

AccessKeyId is the access key for the storage provider. Required if not using Chunkify storage.

Examples:
1234567890
bucket
string
required

Bucket is the name of the storage bucket.

Examples:
my-bucket
provider
"aws"
string
required

Provider specifies the storage provider.

Available options:
aws
Examples:
aws
region
string
required

Region specifies the region of the storage provider.

Available options:
us-east-1us-east-2us-central-1us-west-1us-west-2eu-west-1eu-west-2eu-west-3eu-central-1eu-north-1ap-east-1ap-east-2ap-northeast-1ap-northeast-2ap-south-1ap-southeast-1ap-southeast-2
Examples:
us-east-1
secret_access_key
string
required

SecretAccessKey is the secret key for the storage provider. Required if not using Chunkify storage.

Examples:
1234567890
base_prefix
string

Object-key prefix for final job outputs. The API normalizes it without a leading slash and with one trailing slash. Omit it or send an empty string to use the bucket root.

Examples:
chunkify/
cdn_base_url
string
uri

Optional customer-managed HTTPS delivery origin. It must not contain credentials, a path, query string, or fragment.

Examples:
https://media.example.com
public
default: false
boolean

Public indicates whether the storage is publicly accessible.

Examples:
false

Responses

application/json
data
object
required

Data contains the response object

status
"success"
string
required

Status indicates the response status "success"

The storage was created successfully