detail field; it can be a string, a list of field errors, or a structured validation result.
HTTP status codes
Workflow validation
The validation endpoint returnsis_valid and errors. Publishing an invalid definition can return the same result inside detail.
kind, id, and field to locate the item to correct.