Dry-run existing records against a schema

Run existing records of the type through a schema WITHOUT writing anything — powers the “N of M records would fail” preview before enabling enforce. Uses the request-body schema when provided (a proposal), otherwise the collection’s saved schema. Capped at 10,000 checked rows; truncated reports whether the cap was hit.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

slugstringRequired

Request

This endpoint expects an object.
schemamap from strings to anyOptional

Constrained JSON Schema dialect: root object with string/number/boolean/array/object properties, one nesting level, no $ref/oneOf/pattern

Response

Dry-run result

checkedinteger
exampleslist of objects
failedinteger
truncatedboolean

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error