---
title: "ListPipelineSchemaViolations gets the total count of all schema violations grouped by write_key, schema_id, and version_id."
method: GET
path: "/v1.1/event_schemas/violations/pipelines"
tags: ["ControlService"]
---

# ListPipelineSchemaViolations gets the total count of all schema violations grouped by write_key, schema_id, and version_id.

`GET /v1.1/event_schemas/violations/pipelines`

It does not include details of events.

## Query parameters

- `earliestSeen` string, date-time, nullable

## Response `200`

OK

- ProtobufControlpbV1ListPipelineSchemaViolationsResponse
  - `violations` union[], nullable
    - union
      - object, nullable
      - ProtobufControlpbV1PipelineSchemaViolation
        - `count` string
        - `lastSeen` string, date-time, nullable
        - `schemaId` string
        - `versionId` string
        - `writeKey` string

## Other responses

- `4XX` — Something is wrong with your request such as missing or invalid data. Correct your request and try again.
- `5XX` — Internal server error. Try again later or reach out to MetaRouter support.

---

[API](https://skmtc.net/metarouter/apis/control-api.md) · [All operations](https://skmtc.net/metarouter/apis/control-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/metarouter/control-api/versions/5afc05bfaaa2/schema)
