v1

latestOpenAPI 3.1.02026-07-2618690613.4 KB
Models

Validate model

Retrieve validation issues for a model and its branches.

get/v1/models/{modelId}/validate

Path parameters

modelIdstring uuid required

The ID of the model.

Query parameters

branchIdstring uuid

The ID of the branch to validate. The branch must exist for the model. If not provided, the model is validated directly. To retrieve branch IDs, use the List models endpoint with modelKind=BRANCH.

Note: Schema models do not support branches.

Response

A list of validation issues.

messagestring

The validation issue message.

is_warningboolean

If true, the issue is a warning. If false, the issue is an error.

yaml_pathstring

The path to the YAML file containing the issue.