Skip to main content
GET
/
v1
/
models
/
{modelId}
/
validate
Validate model
curl --request GET \
  --url https://{instance}.omniapp.co/api/v1/models/{modelId}/validate \
  --header 'Authorization: Bearer <token>'
[
  {
    "message": "<string>",
    "is_warning": true,
    "yaml_path": "<string>",
    "auto_fix": {}
  }
]

Authorizations

Authorization
string
header
required

Use either an Organization API Key or Personal Access Token (PAT). Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

modelId
string<uuid>
required

Model ID

Query Parameters

branchId
string<uuid>

Branch ID

Response

Array of validation issues

message
string
is_warning
boolean
yaml_path
string
auto_fix
object