Skip to content

Create log

POST
/logs

Creates a new log. Log names must be unique within the tenant. The log is immediately available for appends after creation.

Log name

Request body for creating a log.

object
name
required

Log name. Must be unique within the tenant.

string
Example
{
"name": "order-events"
}

Log created

Response after creating a log. Returned only on successful creation.

object
log_id
required

Log ID (UUID) of the newly created log.

string
success
required

True when the log was created successfully.

boolean
Example
{
"log_id": "550e8400-e29b-41d4-a716-446655440000",
"success": true
}

Log already exists

Unauthorized

Server error