---
title: "Evaluate Schema"
method: POST
path: "/schema/{table}/evaluate"
tags: ["Schema"]
---

# Evaluate Schema

`POST /schema/{table}/evaluate`

## Request

- Base URL: `https://api.lytics.io/v2`
- URL: `https://api.lytics.io/v2/schema/{table}/evaluate`
- Auth: API key in header `Authorization`

Evaluate a schema against test events. Defaults to the draft; pass version_id for a specific version, or patch_id to evaluate a patch merged onto the live schema.

## Path parameters

- `table` string, required

## Query parameters

- `account_id` string
- `version_id` string
- `patch_id` string

## Request body `*/*`

- ModelsSchemaEvalRequest

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2026-11-03** `d8e975057aec`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/lytics/apis/lytics-api/changes/schema/:table/evaluate/post.md)

---

[API](https://skmtc.dev/lytics/apis/lytics-api.md) - [All operations](https://skmtc.dev/lytics/apis/lytics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lytics/apis/lytics-api/revisions/d8e975057aec?raw)
