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

# Get a list of pipelines

Gets a list of pipelines that leads can be assigned to. Pipelines are also known as stagesets.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Nutshell API",
    "description": "The most powerful API in the world",
    "version": "2.0.0"
  },
  "servers": [
    {
      "url": "app.nutshell.com/rest"
    }
  ],
  "paths": {
    "/stagesets": {
      "get": {
        "tags": [
          "Stagesets (Pipelines)"
        ],
        "summary": "Get a list of pipelines",
        "description": "Gets a list of pipelines that leads can be assigned to. Pipelines are also known as stagesets.",
        "operationId": "7e925de7233253ea915fdf486fb23321",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Stageset"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "basicAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Stageset": {
        "properties": {
          "id": {
            "description": "The API ID of this entity, formatted {integer}-{entityType}",
            "type": "string",
            "example": "3-contacts"
          },
          "name": {
            "description": "The name of the pipeline",
            "example": "Preimum Prospects Pipeline"
          },
          "default": {
            "description": "Whether this is the default pipeline for new leads.",
            "type": "boolean",
            "example": true
          },
          "canAccess": {
            "description": "Whether the user can access the stageset based on the current Nutshell plan.",
            "type": "boolean",
            "example": true
          },
          "status": {
            "description": "The status of the stageset. '1' for active, '2' for draft, '3' for retired",
            "type": "integer",
            "enum": [
              "1",
              "2",
              "3"
            ]
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "tags": [
    {
      "name": "Stagesets (Pipelines)",
      "description": "Stagesets (Pipelines)"
    }
  ]
}
```