Skip to main content
Creates a new segment entry based on the provided parameters.

Methods

Create

Creates a segment using the default background context.

CreateWithContext

Creates a segment with a custom context for cancellation and timeout control.

Request

string
required
The name of the segment.

Response

string
The unique identifier for the created segment.
string
The name of the segment.
string
The object type, always segment.

Example