---
title: "Validate content references"
method: GET
path: "/api/v1/models/{modelId}/content-validator"
tags: ["Models"]
---

# Validate content references

`GET /api/v1/models/{modelId}/content-validator`

## Path parameters

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

## Query parameters

- `branch_id` string, uuid — Optional branch ID to validate against. Non-UUID values return 400.
- `content_filter_mode` 'ALL' | 'WITH_ISSUES' | 'NO_ISSUES' — Filter documents by issue status. ALL (default) returns all documents with at least one query. WITH_ISSUES returns only documents with at least one query issue, dashboard filter issue, or document error. NO_ISSUES returns only documents with zero issues and no document errors.
- `creator_id` string, uuid — Filter to documents created by this user (user ID). Unknown IDs return 400.
- `find` string — Optional value to find. Used with find_type to scope validation to a single view, field, or topic. Requires find_type to be provided.
- `find_type` 'FIELD' | 'TOPIC' | 'VIEW' — Optional type of find operation (VIEW, FIELD, TOPIC). Requires find to be provided. FIELD values must be scoped by view name (e.g. view_name.field_name).
- `folder_paths` string[] — Prefix-match folder paths. "/Finance" matches "/Finance/Reports". Documents with no folder are excluded unless "" is specified.
- `include_personal_folders` boolean — Whether to include personal folders in validation
- `labels` string — Comma-separated label names. Documents matching any label are included. Unknown labels return 400.
- `userId` string — Optional user ID for scoping

## Response `200`

Content validation results

- ModelsContentValidatorGetResponse
  - `branch` object, nullable, required — Branch info (present if branch_id was specified)
    - `id` string, required — Branch UUID
    - `name` string, required — Branch name
  - `content` unknown[], required — Documents with their validation results
    - unknown
  - `model_id` string, required — Model UUID

## Other responses

- `400` — Invalid parameters or unknown labels
- `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)
