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

# Get pipeline usage

> Returns table-level usage statistics for the specified pipeline within a given time range. Requires 'from' and 'to' query parameters in RFC3339 format. Pass 'excludeBackfills=true' to exclude backfill rows from row counts.

`GET /pipelines/{uuid}/usage`

## Authorization

* `Authorization` (header): API key passed as a Bearer token in the Authorization header.

## Path parameters

* `uuid` (string, required)

## Query parameters

* `from` (string<date-time>, required)
* `to` (string<date-time>, required)
* `excludeBackfills` (boolean): When true, rows processed by backfills are excluded from row counts so only CDC rows are counted. Latency is not affected. Defaults to false.

## Example request

```bash
curl --request GET \
  --url 'https://api.artie.com/pipelines/{uuid}/usage?from=<from>&to=<to>' \
  --header 'Authorization: Bearer <token>'
```

## Responses

### 200 OK

* `tableStats` (object[], required)
  * `count` (integer<int64>)
  * `latency` (number | null)
  * `tableName` (string)

```json
{
  "tableStats": [
    {
      "count": 123,
      "latency": 123,
      "tableName": "<string>"
    }
  ]
}
```

### 400 Bad Request

### 500 Internal Server Error

### 502 Bad Gateway