> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateSampledSegmentInput

> The segment to sample, how many members to sample, and the name of the new segment.

**name** `String!` *required*

The merchant-facing name of the new segment.

**sampleSize** `Int!` *required*

The most members to sample, 1 to 100000. A segment with fewer members is copied whole.

**segmentId** `ID!` *required*

The `id` (or `legacyId`) of the static or dynamic segment to sample.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.