---
title: "Get statistics about a Connector's files"
method: GET
path: "/v1/data-acquisition/connectors/{id}/files/stats"
tags: ["Connectors"]
---

# Get statistics about a Connector's files

`GET /v1/data-acquisition/connectors/{id}/files/stats`

**:warning: This is a new API which is still subject to change.**

Use this endpoint to get the file statistics reported by a Connector, including the total number of files and the number of files in each status.

## Path parameters

- `id` string, required

## Response `200`

Successful response with the file stats reported by a Connector

- GetConnectorFileStatsDto — The file stats reported by a Connector.
  - `total` number, required — The total number files in all statuses.
  - `success` number, required — The number of files in the success status.
  - `pending` number, required — The number of files in the pending status.
  - `processing` number, required — The number of files in the processing status.
  - `error` number, required — The number of files in the error status.
  - `skipped` number, required — The number of files in the skipped status.

---

[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/revisions/0205e2bace53/schema)
