---
title: "Validate model"
method: GET
path: "/api/v1/models/{modelId}/validate"
tags: ["Models"]
---

# Validate model

`GET /api/v1/models/{modelId}/validate`

## Path parameters

- `modelId` string, uuid, required — Model UUID

## Query parameters

- `branchId` string, uuid — Branch ID to validate
- `limit` integer — Maximum number of validation issues to return

## Response `200`

Validation results

- ModelsValidateResponse
  - `issues` object[], required — List of validation issues
    - `field` string — Field name with the issue
    - `message` string, required — Validation issue message
    - `severity` 'error' | 'warning', required — Issue severity
    - `view` string — View name with the issue
  - `valid` boolean, required — Whether the model is valid

## Other responses

- `401` — Authentication required
- `403` — Permission denied
- `404` — Model not found

---

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