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

# List milestone workflows

> List all milestone workflows for the team



## OpenAPI

````yaml /api-reference/cx/swagger.json get /milestones/workflow
openapi: 3.0.0
info:
  description: CX API.
  title: CX API
  contact:
    name: API Support
    url: https://stax.ai
    email: support@stax.ai
  version: '1.0'
servers:
  - url: https://api.cx.stax.ai
security: []
paths:
  /milestones/workflow:
    get:
      tags:
        - milestones
      summary: List milestone workflows
      description: List all milestone workflows for the team
      responses:
        '200':
          description: List of workflows
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: array
                  items:
                    $ref: >-
                      #/components/schemas/pkg_routes_milestones_workflow.MilestoneWorkflow
        '500':
          description: Server error
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - ApiKeyAuth: []
components:
  schemas:
    pkg_routes_milestones_workflow.MilestoneWorkflow:
      type: object
      properties:
        _id:
          type: string
        columns:
          description: visible column keys; empty = defaults
          type: array
          items:
            type: string
        created_at:
          type: string
        created_by:
          type: string
        deleted_at:
          type: string
        milestones:
          type: array
          items:
            $ref: '#/components/schemas/types.Milestone'
        name:
          type: string
        resource_type:
          description: '"client", "plan", "plan_year"'
          type: string
        team:
          type: string
        updated_at:
          type: string
        updated_by:
          type: string
    types.Milestone:
      type: object
      properties:
        color:
          description: hex color (e.g. "#3B82F6")
          type: string
        data_field_key:
          description: key of the data field on the resource
          type: string
        label:
          description: display label (can differ from field name)
          type: string
        sort_order:
          description: display/processing order (1-based)
          type: integer
  securitySchemes:
    ApiKeyAuth:
      description: CX API key. Create one in CX under Settings → Advanced → API Keys.
      in: header
      name: x-api-key
      type: apiKey

````

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