v16

latestOpenAPI 3.0.3raw.githubusercontent.com2026-04-243137121.5 KB
Streams

Create or update a stream

Creates a new stream or updates an existing stream with the provided configuration. If the stream does not exist, it will be created. If it exists, it will be updated with the new configuration.

Note that some properties cannot be changed after a stream is created, such as the storage type. If you attempt to change these properties, the request will fail with a 400 error.

put/storage/streams/{name}

Path parameters

namestring required

Name of the stream

Request body

descriptionstring

Updated description of the stream

max_msgsinteger

Updated maximum number of messages

max_bytesinteger

Updated maximum size in bytes

max_msg_sizeinteger

Updated maximum message size in bytes

Response

Bad Request

messagestring

Example response

{
  "message": "success"
}