---
title: "Get pipeline error count"
method: GET
path: "/pipelines/{name}/logs/error-count"
tags: ["Pipeline Logs"]
---

# Get pipeline error count

`GET /pipelines/{name}/logs/error-count`

Get the number of error-level log entries for a pipeline within a configurable time window (default: 6 hours, max: 7 days).

## Path parameters

- `name` string, required

## Query parameters

- `since_hours` integer

## Response `200`

Default Response

- object
  - `data` object, required
    - `error_count` number, required

---

[API](https://skmtc.dev/goldsky/apis/goldsky-api.md) · [All operations](https://skmtc.dev/goldsky/apis/goldsky-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goldsky/goldsky-api/revisions/e4e2be268b6b/schema)
