Skip to main content
POST
Create Stream

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace
string
required

Slug of the workspace the request acts in

Maximum string length: 120
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$

Body

application/json
name
string
required

Name, unique in the workspace.

Required string length: 1 - 255
description
string
default:""
Maximum string length: 1000
retention_days
integer | null

Days events are kept; omitted means the deployment's AGENTAREA_EVENT_RETENTION.

Required range: 1 <= x <= 365

Response

Successful Response

created_at
string<date-time>
required
created_by
string
required
description
string
required
id
string<uuid>
required
kind
string
required
name
string
required
retention_days
integer
required
Last modified on October 6, 2026