Validate entity YAML without saving it

POST /Platform/entities/{entity_type}/{entity_id}/validate

Validate entity YAML without saving it.

Reconstructs + validates the entity from yaml_content (same path as an authoritative save) and returns the canonical YAML on success or the validation errors on failure. Nothing is written.

Entity references must be typed mappings such as {entity_type: Agent, id: "..."}, not bare ID strings.

Path parameters

Body parameters

Returns

EntityValidateResponse

Example request

curl -X POST "https://api.hilus.ai/Platform/entities/{entity_type}/{entity_id}/validate" \
  -H "Authorization: Bearer $HILUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'