# List Pipelines

`lawmatics_list-pipelines` · Lawmatics MCP tool · Pipelines

List pipelines from Lawmatics with optional pagination and sorting.

## Input

- **page** `integer` (> 0) — Page number (1-based)
- **sortBy** `string` (enum: "id", "created_at", "updated_at", "name") — Column to sort by
- **sortOrder** `string` (enum: "asc", "desc") — Sort direction; ascending or descending

## Output

- **pipelines** `array` (required) — Pipelines on this page of results
  - **[]** `object`
    - **id** `string` (required) — Lawmatics pipeline ID
    - **name** `string` (required) — Pipeline name
    - **description** `string | null` (required) — Free-text description of the pipeline; null if unset
    - **statuses** `array` (required) — Matter status keys associated with this pipeline (e.g. "pnc")
      - **[]** `string`
    - **pipelineType** `string` (required) — Pipeline category; known values are "intake" and "normal"
    - **matterCount** `number` (required) — Number of matters currently in this pipeline
    - **estimatedValue** `number | string | null` (required) — Total estimated value of matters in this pipeline. The live API returns a number (e.g. 0.22); older API versions returned a preformatted currency string (e.g. "$0.22"). Null when no value is computed
    - **createdAt** `string` (required) — When the pipeline was created, as an ISO 8601 timestamp
    - **updatedAt** `string` (required) — When the pipeline was last updated, as an ISO 8601 timestamp
    - **stages** `array` (required) — Stage references belonging to this pipeline; empty when it has no stages
      - **[]** `object`
        - **id** `string` (required) — Stage ID belonging to this pipeline
        - **type** `string` (required) — JSON:API resource type for the reference (e.g. "stage")
    - **createdBy** `object` (required) — Reference to the user who created the pipeline
      - **id** `string` (required) — ID of the user who created the pipeline
      - **type** `string` (required) — JSON:API resource type for the reference (e.g. "user")
- **pagination** `object | null` (required) — Pagination metadata from the API response; null when the endpoint returns no meta envelope
  - **totalPages** `number | null` (required) — Total number of pages available; null if not reported
  - **limitPerPage** `number | null` (required) — Maximum pipelines returned per page; null if not reported
  - **totalEntries** `number | null` (required) — Total number of pipelines across all pages; null if not reported
