Configure Amazon S3 Delivery
Delivery
Configure Amazon S3 Delivery
Export squid run results directly to an AWS S3 bucket
POST
Configure Amazon S3 Delivery
Configure Amazon S3 delivery to export run results directly to an AWS S3 bucket. Results will be automatically uploaded to your specified bucket and path when runs complete.
Authentication Options
You can authenticate with S3 in two ways:- AWS Credentials: Provide
aws_access_keyandaws_secret_keyin the request - Bucket Policy: If you don’t provide credentials, ensure your bucket policy allows public WRITE permissions
Headers
string
required
Your API authentication token. Value:
Token YOUR_API_KEYstring
required
Must be application/json. Value:
application/jsonQuery Parameters
string
required
The unique identifier (hash) of the squid for which to configure S3 delivery. Example:
c106a44a98044ef18acc59986ae10967Request Body
string
required
Name of the S3 bucket where data will be stored. Example:
"my-bucket"boolean
required
Set to true to enable S3 delivery, false to disable. Example:
truestring
required
Folder path inside the bucket where results will be saved. Example:
"exports"string
(Optional) AWS Access Key for authentication. If not provided, bucket must have public WRITE permissions. Example:
"AKIAIOSFODNN7EXAMPLE"string
(Optional) AWS Secret Key for authentication. If not provided, bucket must have public WRITE permissions. Example:
"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"Response Field Explanations
string
S3 bucket name. Example:
"my-bucket"boolean
Whether S3 delivery is active. Example:
truestring
Target folder path in bucket. Example:
"exports"string
AWS Access Key (returned if provided). Example:
"AKIAIOSFODNN7EXAMPLE"string
AWS Secret Key (returned if provided). Example:
"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"The target_path creates a folder structure in your bucket. Results will be uploaded to s3://bucket/target_path/filename.csv
Code Examples
Response
201