cURL
curl --request PUT \ --url https://api.quiva.ai/storage/kv/{bucket} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "description": "<string>", "max_bytes": 2, "max_value_size": 2, "indexing": { "mappings": [ { "field": "<string>", "field_type": "text" } ], "partitions": 2, "replicas": 2, "storage_type": "file", "stream": "<string>" } } '
{ "message": "success" }
Creates a new key-value bucket with optional indexing or updates it if one does not exist
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Name of the bucket
Updated description of the bucket
Updated maximum size of the bucket in bytes
x >= 1
Updated maximum size of individual values in bytes
Show child attributes
Bad Request
"success"