Artifacts
All pages
Docs · SetupMarkdown

S3 endpoints

Any S3-compatible bucket can be a location: Tigris, Cloudflare R2, a neocloud's object store, or an existing S3 or GCS bucket. It is the usual choice for the fallback.

Fields

FieldIs
EndpointThe S3 API URL: https://t3.storage.dev, https://s3.us-east-1.amazonaws.com
BucketAn existing bucket
PathOptional prefix inside the bucket
Signing regionThe SigV4 region; auto for Tigris and R2
Path stylehttps://endpoint/bucket/key instead of https://bucket.endpoint/key
Access key ID, secretMust allow put, get, delete and multipart uploads in the bucket. Stored encrypted; never sent to a box
Cloud, regionThe placement tag, matched against what a box reports: nebius / eu-north1, aws / us-east-1, tigris / global
FallbackMake this the organization's fallback

Tag a fallback that no box will ever match with something like tigris / global. See Locations and placement.

For rrun jobs, use the rrun region conventions for the placement tag, including vast / US, runpod / US-TX-3 and verda / FIN-01. The signing region remains whatever the S3 endpoint requires.

Checks on save

  • The app tests a put, a ranged get, a multipart upload and a delete, so a bad key or missing permission fails now, not at the first checkpoint.
  • It writes _o41_organization at the path. Another organization cannot add the same bucket path, so two organizations never overwrite each other's versions.

Example

curl -X POST -H "Authorization: Bearer $TOKEN" -H "content-type: application/json" \
  https://artifacts.041.io/api/v1/locations -d '{
    "kind": "s3",
    "endpoint": "https://t3.storage.dev",
    "bucket": "my-checkpoints",
    "path": "artifacts",
    "signingRegion": "auto",
    "pathStyle": true,
    "accessKeyId": "tid_…",
    "secretAccessKey": "tsec_…",
    "cloud": "tigris",
    "region": "global",
    "fallback": true
  }'