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

# List Rollout

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url https://try.flipt.io/api/v1/namespaces/default/flags/{flagKey}/rollouts \
    --header 'Accept: application/json'
  ```
</RequestExample>


## OpenAPI

````yaml GET /api/v1/namespaces/{namespaceKey}/flags/{flagKey}/rollouts
openapi: 3.0.3
info:
  title: api
  version: 1.47.0
servers:
  - url: http://localhost:8080
security:
  - bearerAuth: []
tags:
  - name: AuthenticationMethodKubernetesService
  - name: AuthenticationMethodOIDCService
  - name: AuthenticationMethodTokenService
  - name: AuthenticationService
  - name: EvaluationService
  - name: Flipt
  - name: OFREPService
paths:
  /api/v1/namespaces/{namespaceKey}/flags/{flagKey}/rollouts:
    get:
      tags:
        - Flipt
        - RolloutsService
      operationId: listRollouts
      parameters:
        - name: namespaceKey
          in: path
          required: true
          schema:
            type: string
        - name: flagKey
          in: path
          required: true
          schema:
            type: string
        - name: limit
          in: query
          schema:
            type: integer
            format: int32
        - name: pageToken
          in: query
          schema:
            type: string
        - name: reference
          in: query
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RolloutList'
components:
  schemas:
    RolloutList:
      type: object
      properties:
        rules:
          type: array
          items:
            $ref: '#/components/schemas/Rollout'
        nextPageToken:
          type: string
        totalCount:
          type: integer
          format: int32
    Rollout:
      type: object
      properties:
        id:
          type: string
        namespaceKey:
          type: string
        flagKey:
          type: string
        type:
          enum:
            - UNKNOWN_ROLLOUT_TYPE
            - SEGMENT_ROLLOUT_TYPE
            - THRESHOLD_ROLLOUT_TYPE
          type: string
          format: enum
        rank:
          type: integer
          format: int32
        description:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        segment:
          $ref: '#/components/schemas/RolloutSegment'
        threshold:
          $ref: '#/components/schemas/RolloutThreshold'
    RolloutSegment:
      type: object
      properties:
        segmentKey:
          type: string
        value:
          type: boolean
        segmentKeys:
          type: array
          items:
            type: string
        segmentOperator:
          enum:
            - OR_SEGMENT_OPERATOR
            - AND_SEGMENT_OPERATOR
          type: string
          format: enum
    RolloutThreshold:
      type: object
      properties:
        percentage:
          type: number
          format: float
        value:
          type: boolean
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````