Skip to main content
Use CDN for directly served files. Use Storage for buckets, private objects, access keys, and S3-compatible tools.

Storage buckets

Create a bucket

string
required
Unique display name for the bucket.
private | public
default:"private"
Controls whether objects can be opened without authentication.
string
Preferred storage region when your account has a choice.
string
Optional cache behavior for public objects.
boolean
default:"false"
Retains supported object versions.
Returns

Bucket operations

Objects

Upload an object

string
required
Destination bucket ID.
file | bytes
required
Object contents.
string
required
Name stored for the object.
string
Optional path inside the bucket.
private | public
default:"public"
Per-object visibility.
Returns

Access keys

string
Label that identifies the integration using the key.
read | read_write
default:"read"
Allowed S3 operations.
Returns once
Pxxl returns secretAccessKey only when the key is created. Store it securely and never log it.

S3-compatible data access

Pxxl uses separate credentials for management and object data:
  • Use PXXL_API_KEY to create buckets, issue or revoke access keys, and read analytics or billing.
  • Use the bucket-scoped accessKeyId and one-time secretAccessKey for S3 object requests.
Never send PXXL_API_KEY to the S3 endpoint. A storage access key is restricted to one bucket and has either read or read_write permission.

Create a Node.js S3 client

PxxlS3 supports list, get, head, put, delete, copy, signedGetUrl, and signedPutUrl.

Use stored credentials without a Pxxl API key

For Go, Python, and Rust, pass the returned endpoint, region, bucket, accessKeyId, secretAccessKey, and pathStyle fields to the standard AWS S3 client for that language. This works with AWS SDK for Go v2, boto3, and aws-sdk-s3.
Rotate keys by creating and deploying a replacement, verifying one object operation, and then revoking the old key.

Storage analytics

CDN assets

Upload an asset

file | bytes
required
Asset contents.
string
required
File name sent to Pxxl.
private | public
default:"public"
Public assets receive a publicUrl.
file | artifact
default:"file"
Classifies the uploaded asset.
string
Associates the asset with a project.
string
Associates the asset with a deployment.
The returned asset uses the same object shape shown above and includes publicUrl for public files.

CDN operations