Console
Products
Markdown

Buckets

Per-org object storage up to 5 GiB per object, callable through the API, MCP, bindings, or mounted as a folder under /mnt.

Buckets provide S3-backed object storage scoped to your organization. Workers and Sandboxes can stream objects directly through a Bucket binding or mount a Bucket as a directory under /mnt.

#Managing Buckets & Objects

bash
skopik create_bucket --name uploads
skopik put_object --bucket uploads --key hello.txt --body "Hello from Skopik"
skopik list_objects --bucket uploads --prefix ""
skopik get_object --bucket uploads --key hello.txt

#HTTP & Binding Operations

OperationControl API PathBinding Path (SKOPIK_BINDINGS_URL)
Put objectPUT /v1/buckets/{bucket}/objects/{key}PUT /buckets/{binding}/objects/{key}
Get objectGET /v1/buckets/{bucket}/objects/{key}GET /buckets/{binding}/objects/{key}
Head objectHEAD /v1/buckets/{bucket}/objects/{key}HEAD /buckets/{binding}/objects/{key}
Delete objectDELETE /v1/buckets/{bucket}/objects/{key}DELETE /buckets/{binding}/objects/{key}
List objectsGET /v1/buckets/{bucket}/objectsGET /buckets/{binding}/objects
  • Streaming: Uploads and downloads stream with backpressure up to 5 GiB per object, supporting HTTP Range requests, ETag, and Last-Modified.
  • Read-only bindings: Setting "access": "read" on a Bucket binding permits GET, HEAD, and list, refusing PUT and DELETE with 403 binding_read_only.

#Folder Mounts

Any Bucket binding can be mounted as a directory inside /mnt for tools that expect filesystem paths (cp, tar, Python open()). Declare both the binding and the mount in skopik.json (or when creating a Sandbox):

json
{
  "bindings": {
    "DATA": { "bucket": "datasets", "access": "read" }
  },
  "mounts": {
    "/mnt/datasets": { "binding": "DATA" }
  }
}