Create an EdgeWorkers stream

Creates a stream configuration for EdgeWorkers. Get the streamId value from the response to Get an EdgeWorkers stream. Apart from the log and delivery frequency configurations, you can decide to activate the stream when making the request, or later. Note that only active streams collect and send logs to their destinations. See Activate a stream.

Query Params
boolean
Defaults to false

Activates the stream at the time of the request, false by default. When you edit or patch an active stream, you need to set this to true.

Body Params
string
required

Identifies the contract that has access to the product.

deliveryConfiguration
object
required

Configures log lines, log file format, names of the log files sent to a destination, and delivery frequency for these files.

destination
required

The destination configuration in the stream to send logs. See Destinations for details and features available for each destination.

integer
required

Identifies the group that has access to the product and this stream configuration.

notificationEmails
array of strings
length ≥ 0

Email addresses where you want to send notifications about the stream's activations and deactivations. By omitting this or specifying an empty array, you can activate or deactivate the stream without notifications.

Notification emails
string
required
length ≤ 1000

The stream's name.

Response

Language
URL
Response
Choose an example:
application/json