> ## 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.

# Search across processed files

> Search rows across processed files belonging to the given pipeline runs. pipelineRunIds is required; omit searchTerm to return all rows.



## OpenAPI

````yaml /api-reference/openapi.json post /files/search
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:
  /files/search:
    post:
      tags:
        - Files
      summary: Search across processed files
      description: >-
        Search rows across processed files belonging to the given pipeline runs.
        pipelineRunIds is required; omit searchTerm to return all rows.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchFilesParams'
      responses:
        '200':
          description: Search results
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchResults'
components:
  schemas:
    SearchFilesParams:
      type: object
      properties:
        pipelineRunIds:
          type: array
          items:
            type: string
          minItems: 1
        searchTerm:
          type: string
          description: Omit to return all rows from the given runs.
        fieldName:
          type: string
        exactMatch:
          type: boolean
        caseSensitive:
          type: boolean
        offset:
          type: integer
        limit:
          type: integer
          description: 1–1000.
      required:
        - pipelineRunIds
    SearchResults:
      type: object
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/SearchResultItem'
        pagination:
          type: object
          properties:
            total:
              type: integer
            offset:
              type: integer
            limit:
              type: integer
            returned:
              type: integer
        metadata:
          type: object
          properties:
            searchTerm:
              type: string
            caseSensitive:
              type: boolean
            searchDurationMs:
              type: integer
            filesSearched:
              type: integer
      required:
        - results
        - pagination
        - metadata
    SearchResultItem:
      type: object
      properties:
        pipelineRunId:
          type: string
        filename:
          type: string
        pipelineName:
          type: string
        clientName:
          type: string
        rowIndex:
          type: integer
        rowData:
          type: object
          additionalProperties: true
        matchingFields:
          type: array
          items:
            type: string
        processedAt:
          type: string
          format: date-time
      required:
        - pipelineRunId
        - filename
        - rowIndex
        - rowData
        - matchingFields
        - processedAt
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````