Object storage is in beta.
Each bucket has an API endpoint,
https://api.servbase.net/bkt/<bucket id>, shown on the bucket page and returned as api_endpoint. Use it for objects. Bucket management (create, change, delete) uses the bucket’s name.
List buckets
GET /storage/buckets
Response
used, quota (per workspace) and max_object (largest file) are in bytes.
Create a bucket
POST /storage/buckets
3 to 63 characters: lowercase letters, digits and hyphens, starting and ending with a letter or digit.
201 with the bucket, in the same shape as an item of List buckets.
Get a bucket
GET /bkt/{bucket_id} returns one bucket in the same shape.
Change or delete a bucket
PATCH /storage/buckets/{name}with{"public": true}or{"public": false}makes a bucket public or private.DELETE /storage/buckets/{name}deletes the bucket. Returns{"success": true}.
Upload an object
PUT /bkt/{bucket_id}/objects/{key}
Send the file as the raw request body, with its Content-Type. An object with the same key is overwritten. Keys can contain / to group objects into folders.
Response
max_object, or above the workspace quota, are refused with 413.
List objects
GET /bkt/{bucket_id}/objects
Keys below the next delimiter are grouped into
folders. Send an empty value to list every key.Response
Download an object
GET /bkt/{bucket_id}/objects/{key}
Returns the file with its content type. Add ?download=true to receive it as an attachment.
public_url followed by the key, for example https://bucket.servbase.site/sb3c9e.../invoices/2026-11.pdf.
Delete objects
POST /bkt/{bucket_id}/delete
Response
