---
title: "Get Pipeline File Status Counts"
method: GET
path: "/api/v1/pipelines/{pipeline_id}/files/status-counts"
tags: ["Pipeline Files"]
deprecated: true
---

# Get Pipeline File Status Counts

`GET /api/v1/pipelines/{pipeline_id}/files/status-counts`

## Request

- Base URL: `https://api.cloud.llamaindex.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cloud.llamaindex.ai/api/v1/pipelines/{pipeline_id}/files/status-counts`
- Auth: HTTP bearer

> **Deprecated.**

Get files for a pipeline.

## Path parameters

- `pipeline_id` string, uuid, required

## Query parameters

- `data_source_id` string, uuid, nullable
- `only_manually_uploaded` boolean
- `project_id` string, uuid, nullable

## Cookies

- `session` string, nullable

## Response `200`

Successful Response

- FileCountByStatusResponse
  - `counts` object, required: The counts of files by status
  - `total_count` integer, required: The total number of files
  - `pipeline_id` string, uuid, nullable: The ID of the pipeline that the files belong to
  - `data_source_id` string, uuid, nullable: The ID of the data source that the files belong to
  - `only_manually_uploaded` boolean: Whether to only count manually uploaded files

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `a38b684f8e1b`: 4 info
  - endpoint deprecated
  - added the new optional `query` request parameter `project_id`
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-06-09** `614771991b52`: 2 warning
  - removed the optional property `detail/items/ctx` from the response with the `422` status
  - removed the optional property `detail/items/input` from the response with the `422` status
- **2026-06-09** `b17341164de9`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/run-llama/apis/llama-platform/changes/api/v1/pipelines/:pipeline_id/files/status-counts/get.md)

---

[API](https://skmtc.dev/run-llama/apis/llama-platform.md) · [All operations](https://skmtc.dev/run-llama/apis/llama-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/run-llama/apis/llama-platform/revisions/eacba11f3303?raw)
