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

# Get runs by pipeline



## OpenAPI

````yaml /api-reference/openapi.json get /pipeline-runs/pipeline/{pipelineId}
openapi: 3.0.3
info:
  title: FileFeed API
  version: '2026-05-25'
  description: >-
    Official FileFeed REST API for connections, pipelines, schemas, pipeline
    runs, webhooks, outbound uploads, documents, files, and notifications.
    Date-based API versioning is controlled by the `FileFeed-Version` request
    header (default `2024-09-01`; latest `2026-05-25`); this document describes
    the `2026-05-25` shape.
servers:
  - url: https://api.sftpsync.io
security:
  - ApiKeyAuth: []
tags:
  - name: Connections
  - name: Pipelines
  - name: Schemas
  - name: Pipeline Runs
  - name: Webhooks
  - name: Outbound Uploads
  - name: Documents
  - name: Files
  - name: Notifications
  - name: Clients (deprecated)
paths:
  /pipeline-runs/pipeline/{pipelineId}:
    get:
      tags:
        - Pipeline Runs
      summary: Get runs by pipeline
      parameters:
        - name: pipelineId
          in: path
          required: true
          schema:
            type: string
        - name: page
          in: query
          schema:
            type: integer
        - name: limit
          in: query
          schema:
            type: integer
      responses:
        '200':
          description: Runs list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedPipelineRunsOrArray'
components:
  schemas:
    PaginatedPipelineRunsOrArray:
      oneOf:
        - $ref: '#/components/schemas/PaginatedPipelineRuns'
        - type: array
          items:
            $ref: '#/components/schemas/PipelineRun'
    PaginatedPipelineRuns:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/PipelineRun'
        pagination:
          $ref: '#/components/schemas/Pagination'
      required:
        - data
        - pagination
    PipelineRun:
      type: object
      properties:
        id:
          type: string
        filename:
          type: string
        path:
          type: string
        size:
          type: integer
        mimetype:
          type: string
        metadata:
          type: object
          additionalProperties: true
        status:
          $ref: '#/components/schemas/PipelineRunStatus'
        pipelineDirection:
          type: string
          enum:
            - inbound
            - outbound
          description: Direction of the pipeline that produced this run.
        errorMessage:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        processedAt:
          type: string
          format: date-time
        clientId:
          type: string
        schemaId:
          type: string
        pipelineId:
          type: string
        pipelineName:
          type: string
          nullable: true
          description: >-
            Name of the originating pipeline. `DELETED PIPELINE` when the
            pipeline was deleted.
        isPipelineDeleted:
          type: boolean
          description: True when the originating pipeline has been deleted.
        client:
          type: object
          nullable: true
          description: >-
            Originating connection's display name, resolved from the SFTP/email
            child connection.
          properties:
            name:
              type: string
              nullable: true
      required:
        - id
        - filename
        - status
        - createdAt
        - updatedAt
        - clientId
    Pagination:
      type: object
      properties:
        page:
          type: integer
        limit:
          type: integer
        total:
          type: integer
        totalPages:
          type: integer
    PipelineRunStatus:
      type: string
      enum:
        - pending
        - processing
        - completed
        - delivered
        - failed
        - acknowledged
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````