← All endpoints / Vastu

Rule Evaluation (Findings)

POST/api/v1/vastu/findings
POSThttps://vedintelastroapi.com/api/v1/vastu/findings

Runs the Vastu rule engine directly from semantic layout data — room zone assignments, entrance direction, Brahmasthan state. No polygon geometry required. Intended for CAD/GIS integration, manual zone overrides, and "what if" simulation. rule_evaluation findings include source_type, source_verification_status, and interpretive_confidence.

Request Body (application/json)

FieldRequiredTypeDescription
api_keyNostringVedIntel API key (or use X-API-Key header)
roomsNostringArray of {name: string, zone_8: "N"|"NE"|"E"|"SE"|"S"|"SW"|"W"|"NW"}
entrance_direction_8NostringEntrance compass zone
brahmasthan_is_obstructedNobooleanWhether the central Brahmasthan zone is obstructed by a room or wall
plot_aspect_ratioNonumberPlot width/height ratio — used by aspect-ratio rules. Default: omit if unknown
langNostringResponse language code. Default: en

Example Request

curl -X POST "https://vedintelastroapi.com/api/v1/vastu/findings" \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_API_KEY",
  "rooms": "VALUE",
  "entrance_direction_8": "VALUE",
  "brahmasthan_is_obstructed": "VALUE",
  "plot_aspect_ratio": 1.5,
  "lang": "en"
}'

Example Response

{
  "status": 200,
  "response": {
    "calculation": {
      "input_summary": {
        "rooms_evaluated": 1,
        "entrance_direction_8": "NE",
        "brahmasthan_is_obstructed": false,
        "plot_aspect_ratio": null
      }
    },
    "rule_evaluation": {
      "findings": [
        {
          "rule_id": "brahmasthan-clear-positive",
          "subject": "brahmasthan",
          "category": "brahmasthan",
          "predicate": "brahmasthan-clear",
          "outcome": "positive",
          "severity": "major",
          "source_type": "classical",
          "source_text": "Manasara",
          "source_verification_status": "tradition_dependent",
          "interpretive_confidence": "high",
          "description": "Brahmasthan kept free of heavy structures.",
          "trigger": "Brahmasthan (central zone) is unobstructed"
        }
      ],
      "positive_count": 2,
      "negative_count": 0,
      "critical_count": 0,
      "rules_version": "1.0.0"
    },
    "interpretation": null,
    "metadata": {
      "geometry_engine_version": "1.0.0",
      "vastu_rules_version": "1.0.0",
      "coordinate_system": "cartesian_true_north",
      "north_reference": "true_north",
      "north_angle_applied_deg": 0,
      "precision": {
        "bearing_dp": 2,
        "area_dp": 2,
        "overlap_pct_dp": 2,
        "units": "same as input polygon coordinates",
        "rounding_method": "round half away from zero",
        "internal_precision": "double"
      },
      "ayanamsa": null
    }
  },
  "remaining_api_calls": 4998
}
← Back to all endpointsInteractive Docs
Get a free API key →