---
updatedAt: 2026-04-22T16:03:15.000Z
agentTools:
  projectIndex: https://metarouter.readme.io/llms.txt
---

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

It does not include details of events.

# OpenAPI definition

```json
{
  "components": {
    "responses": {
      "4XX": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/protobuf.controlpb.v1.ErrorResponse"
            }
          }
        },
        "description": "Something is wrong with your request such as missing or invalid data. Correct your request and try again."
      },
      "5XX": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/protobuf.controlpb.v1.ErrorResponse"
            }
          }
        },
        "description": "Internal server error. Try again later or reach out to MetaRouter support."
      }
    },
    "schemas": {
      "google.protobuf.Any": {
        "properties": {
          "typeUrl": {
            "description": "A URL/resource name that uniquely identifies the type of the serialized\n protocol buffer message. This string must contain at least\n one \"/\" character. The last segment of the URL's path must represent\n the fully qualified name of the type (as in\n `path/google.protobuf.Duration`). The name should be in a canonical form\n (e.g., leading \".\" is not accepted).\n\n In practice, teams usually precompile into the binary all types that they\n expect it to use in the context of Any. However, for URLs which use the\n scheme `http`, `https`, or no scheme, one can optionally set up a type\n server that maps type URLs to message definitions as follows:\n\n * If no scheme is provided, `https` is assumed.\n * An HTTP GET on the URL must yield a [google.protobuf.Type][]\n   value in binary format, or produce an error.\n * Applications are allowed to cache lookup results based on the\n   URL, or have them precompiled into a binary to avoid any\n   lookup. Therefore, binary compatibility needs to be preserved\n   on changes to types. (Use versioned type names to manage\n   breaking changes.)\n\n Note: this functionality is not currently available in the official\n protobuf release, and it is not used for type URLs beginning with\n type.googleapis.com. As of May 2023, there are no widely used type server\n implementations and no plans to implement one.\n\n Schemes other than `http`, `https` (or the empty scheme) might be\n used with implementation specific semantics.",
            "type": "string"
          },
          "value": {
            "description": "Must be a valid serialized protocol buffer of the above specified type.",
            "format": "byte",
            "type": "string"
          }
        },
        "type": "object"
      },
      "protobuf.controlpb.v1.ErrorResponse": {
        "properties": {
          "code": {
            "format": "int32",
            "type": "integer"
          },
          "description": {
            "type": "string"
          },
          "details": {
            "items": {
              "anyOf": [
                {
                  "nullable": true,
                  "type": "object"
                },
                {
                  "$ref": "#/components/schemas/google.protobuf.Any"
                }
              ]
            },
            "nullable": true,
            "type": "array"
          },
          "error": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "protobuf.controlpb.v1.ListPipelineSchemaViolationsResponse": {
        "properties": {
          "violations": {
            "items": {
              "anyOf": [
                {
                  "nullable": true,
                  "type": "object"
                },
                {
                  "$ref": "#/components/schemas/protobuf.controlpb.v1.PipelineSchemaViolation"
                }
              ]
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "protobuf.controlpb.v1.PipelineSchemaViolation": {
        "properties": {
          "count": {
            "type": "string"
          },
          "lastSeen": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "schemaId": {
            "type": "string"
          },
          "versionId": {
            "type": "string"
          },
          "writeKey": {
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "JWT": {
        "bearerFormat": "JWT",
        "description": "JSON Web Token (JWT) signed using public key encryption with SHA (RS256 algo). Header value: Bearer <your_token>. Required claims: 1. 'wky' for the writekey. 2. 'exp' for expiration. See https://jwt.io for more info. Accepted in 'Authorization' or 'Metarouter-Authorization' headers.SON Web Token (JWT) signed using 512 bit or 64 char shared secret (HMAC512 algo). Header value: Bearer <your_token>. Required claims: 1. 'wky' for the writekey. 2. 'exp' for expiration. See https://jwt.io for more info. Accepted in 'Authorization' or 'Metarouter-Authorization' headers. Contact support for access.",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "contact": {
      "name": "MetaRouter Support",
      "url": "https://www.metarouter.io/contact"
    },
    "description": "The Control API allows clients to manage and query a cluster. All endpoints require authentication.",
    "license": {
      "name": "Commercial"
    },
    "title": "Control API",
    "version": "1.1"
  },
  "openapi": "3.0.0",
  "paths": {
    "/v1.1/event_schemas/violations/pipelines": {
      "get": {
        "description": "It does not include details of events.",
        "operationId": "ControlService_ListPipelineSchemaViolations",
        "parameters": [
          {
            "in": "query",
            "name": "earliestSeen",
            "required": false,
            "schema": {
              "format": "date-time",
              "nullable": true,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/protobuf.controlpb.v1.ListPipelineSchemaViolationsResponse"
                }
              }
            },
            "description": "OK"
          },
          "4XX": {
            "$ref": "#/components/responses/4XX"
          },
          "5XX": {
            "$ref": "#/components/responses/5XX"
          }
        },
        "summary": "ListPipelineSchemaViolations gets the total count of all schema violations grouped by write_key, schema_id, and version_id.",
        "tags": [
          "ControlService"
        ]
      }
    }
  },
  "security": [
    {
      "JWT": []
    }
  ],
  "servers": [
    {
      "description": "CONTACT METAROUTER SUPPORT for access to a test server.",
      "url": "https://www.metarouter.io/contact"
    }
  ],
  "tags": [
    {
      "description": "",
      "name": "ControlService"
    }
  ]
}
```