Models

Validate content references

Changed on
get/api/v1/models/{modelId}/content-validator

Request

  • Base URL
    https://omniapp.co (the document declares no server; this is the origin it was published from)
  • URL
    https://omniapp.co/api/v1/models/{modelId}/content-validator
  • Auth
    HTTP bearer

Path parameters

modelIdstring uuid required

Model UUID

Example:123e4567-e89b-12d3-a456-426614174000

Query parameters

branch_idstring 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_idstring uuid

Filter to documents created by this user (user ID). Unknown IDs return 404.

findstring

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), and also match the field through the join aliases of its view (with users joined as sellers, users.age also matches sellers.age).

folder_pathsstring[]

Prefix-match folder paths. "/Finance" matches "/Finance/Reports". Documents with no folder are excluded unless "" is specified.

force_full_validationboolean

Deep-validate every query by planning it, even when the content is large enough that the validator would otherwise only check field, view, and topic references. Slower on large models.

include_personal_foldersboolean

Whether to include personal folders in validation

labelsstring

Comma-separated label names. Documents matching any label are included. Unknown labels return 400.

userIdstring

Optional user ID for scoping

Response

Content validation results

model_idstring required

Model UUID

Changes