Validates MDX against the real Doxbrix component schema and returns errors (unknown components, bad props) plus an optional quality score. Returns HTTP 200 even when the MDX is invalid — check the valid field.
Validates the MDX and returns errors.
POST
/validateBearer token — `Bearer dxb_live_…`.
Response
200Validation result
cURL
curl --request POST \ --url https://api.doxbrix.io/v1/validate
{ "valid": false, "errors": [ { "line": 1, "message": "Unknown component 'Stepz'. Did you mean 'Steps'?" } ] }