---
title: "Search Files (GET) (Deprecated)"
method: GET
path: "/v1/fileinfo/search"
tags: ["Search"]
---

# Search Files (GET) (Deprecated)

`GET /v1/fileinfo/search`

🚧 IMPORTANT The Search Files (GET) endpoint is on a deprecation path and does not support searching for files by metadata. It's recommended that you use the [/searchEql endpoint](<https://developers.tetrascience.com/reference/dl-fi-dl-search-files-via-elasticsearch-query>) instead. For more information, see [Search Files, Search Workflow, and Paginate through All Pipeline Details API Endpoints Deprecation](<https://developers.tetrascience.com/docs/tdp-deprecation-notices#search-files-search-workflow-and-paginate-through-all-pipeline-details-api-endpoints-deprecation>).

## Query parameters

- `category` string
- `from` integer
- `fromDate` string, date
- `excludeTags` string[]
- `ids` string
- `integrationId` string
- `integrationType` string
- `metadata.[key]` string
- `pipelineId` string
- `rawFileId` string
- `size` integer
- `sort` string
- `sourceId` string
- `sourceType` string
- `traceId` string
- `tags` string[]
- `toDate` string, date
- `workflowId (Added version TDP 3.1.0)` string

## Response `200`

200

- object
  - `from` integer
  - `size` integer
  - `sort` string
  - `hasNext` boolean
  - `hits` object[]
    - `fileId` string
    - `filePath` string
    - `orgSlug` string
    - `traceId` string
    - `file` object
      - `bucket` string
      - `path` string
      - `checksum` string
      - `size` integer
      - `type` unknown
      - `version` string
    - `createdAt` string
    - `category` string
    - `integration` object
      - `id` string
      - `type` string
      - `name` string
      - `workflowId` string
      - `masterScript` string
      - `taskScript` string
      - `taskSlug` string
      - `taskExecutionId` string
    - `source` object
      - `id` string
      - `type` string
      - `name` string
      - `datapipeline` object
        - `workflowId` string
        - `taskExecutionId` string
        - `taskSlug` string
        - `taskScript` string
        - `masterScript` string
        - `inputFileId` string
    - `rawFileId` string
    - `ids` string
    - `metadata` object
      - `Version` string
      - `CREATED_FOR` string
      - `cheeeng` string
    - `tags` string[]
    - `deleted` boolean
    - `outdated` boolean

## Other responses

- `401` — 401
- `500` — 500

---

[API](https://skmtc.net/tetrascience/apis/tetra-data-lake.md) · [All operations](https://skmtc.net/tetrascience/apis/tetra-data-lake/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tetrascience/tetra-data-lake/versions/0205e2bace53/schema)
