👋 Welcome to the new Omni docs! We're still migrating, but the old docs are available at docs-legacy.omni.co.
cURL
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": {} } ]
Retrieve validation issues for models and branches
Use either an Organization API Key or Personal Access Token (PAT). Include in the Authorization header as: Bearer YOUR_TOKEN
Bearer YOUR_TOKEN
Model ID
Branch ID
Array of validation issues
Was this page helpful?