v16

latestOpenAPI 3.0.3raw.githubusercontent.com2026-04-243137121.5 KB
KV Buckets

Create a new KV bucket

Creates a new key-value bucket with optional indexing configuration

post/storage/kv

Request body

bucketstring required

Name of the bucket to create

compressionboolean

Whether to enable compression

descriptionstring

Description of the bucket

historyinteger

Number of historical versions to keep

max_bytesinteger

Maximum size of the bucket in bytes

max_value_sizeinteger

Maximum size of individual values in bytes

replicasinteger

Number of replicas

storage'file' | 'memory'

Response

Bad Request

messagestring

Example response

{
  "message": "success"
}