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

# List pipelines

> List all pipelines. Optionally filter by book_id to scope to a specific book. Pipeline stages are returned in order and include stage_order, visible, and default_probability.



## OpenAPI

````yaml /api-reference/openapi.yaml get /v1/pipelines
openapi: 3.0.1
info:
  title: Slant Public API V1
  version: v1
  description: Public API for creating and managing resources in Slant
  contact:
    name: Slant API Support
    email: api@slant.com
servers:
  - url: https://api.slant.app
security:
  - bearer: []
paths:
  /v1/pipelines:
    get:
      tags:
        - Pipelines
      summary: List pipelines
      description: >-
        List all pipelines. Optionally filter by book_id to scope to a specific
        book. Pipeline stages are returned in order and include stage_order,
        visible, and default_probability.
      parameters:
        - name: page
          in: query
          schema:
            type: integer
          description: Page number
          required: false
          example: 1
        - name: per_page
          in: query
          description: >-
            Items per page (1-100, default: 25). Values over 100 will be clamped
            to 100.
          required: false
          example: 25
          schema:
            type: integer
            minimum: 1
            maximum: 100
        - name: book_id
          in: query
          description: Filter by book ID
          required: false
          schema:
            type: string
      responses:
        '200':
          description: successful
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - pagination
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Pipeline'
                  pagination:
                    type: object
                    properties:
                      current_page:
                        type: integer
                        example: 1
                      total_pages:
                        type: integer
                        example: 10
                      total_count:
                        type: integer
                        example: 100
                      per_page:
                        type: integer
                        example: 25
        '400':
          description: bad request - invalid JSON
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                  - detail
                properties:
                  error:
                    type: string
                    description: Error code
                    enum:
                      - invalid_json
                  detail:
                    oneOf:
                      - type: string
                        description: Human-readable error description
                      - type: array
                        items:
                          type: string
                        description: Array of validation error messages
        '401':
          description: unauthorized - missing or invalid token
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                  - detail
                properties:
                  error:
                    type: string
                    description: Error code
                    enum:
                      - token_missing
                      - token_invalid
                  detail:
                    oneOf:
                      - type: string
                        description: Human-readable error description
                      - type: array
                        items:
                          type: string
                        description: Array of validation error messages
        '403':
          description: forbidden
      security:
        - bearer: []
components:
  schemas:
    Pipeline:
      type: object
      required:
        - id
        - name
        - audience_types
      properties:
        id:
          type: string
          description: The pipeline ID
          example: pipeline123xyz
        name:
          type: string
          description: The name of the pipeline
          example: Sales Pipeline
        pipeline_type:
          type: string
          enum:
            - prospect
            - client
          description: Deprecated legacy pipeline type for client/prospect-only pipelines
          example: prospect
          nullable: true
        audience_types:
          type: array
          items:
            type: string
            enum:
              - prospect
              - client
              - contact
              - business
          description: Record audiences supported by this pipeline
        default_pipeline_types:
          type: array
          items:
            type: string
            enum:
              - prospect
              - client
          description: Legacy default client/prospect types served by this pipeline
        book_id:
          type: string
          description: The book ID
          example: book123xyz
          nullable: true
        pipeline_stages:
          type: array
          items:
            $ref: '#/components/schemas/PipelineStage'
          description: Ordered pipeline stages
    PipelineStage:
      type: object
      required:
        - id
        - name
      properties:
        id:
          type: string
          description: The pipeline stage ID
          example: stage123xyz
        name:
          type: string
          description: The name of the pipeline stage
          example: Qualified
        stage_order:
          type: integer
          description: The stage order within the pipeline
          example: 1
        visible:
          type: boolean
          description: Whether this stage is visible by default
          example: true
        default_probability:
          type: integer
          description: Default probability for opportunities in this stage
          example: 50
          nullable: true
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: OAuth
      description: OAuth 2.0 Bearer Token from Clerk authentication

````