---
title: "Validate document against collection schema"
method: POST
path: "/v1/collections/{collection_identifier}/documents/schema/validate"
tags: ["Collection Documents"]
---

# Validate document against collection schema

`POST /v1/collections/{collection_identifier}/documents/schema/validate`

Dry-run validation: checks a document payload against the collection's document_schema without creating or modifying any data. Returns validation result with any violations found.

## Path parameters

- `collection_identifier` string, required — The ID or name of the collection.

## Request body

- object — The document payload to validate against the collection schema.

## Response `200`

Successful Response

- unknown

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

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