invariance_run_start
Start a new run to group a sequence of nodes for observability. Returns an open run to close with finish or fail.
Instructions
Start a new Invariance run (the container for a sequence of nodes). The returned run is in status "open" — you must close it later with invariance_run_finish (success) or invariance_run_fail (error).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Human-readable run name shown in dashboards. | |
| case_id | No | Case (workflow instance) this run belongs to. Server inherits tenant_id/end_user_id from the case. Create one first with invariance_case_create. | |
| metadata | No | Free-form metadata as a JSON object string. Example: {"user_id":"u_42","workspace":"acme","risk_tier":"high"} | |
| tenant_id | No | Override tenant_id (normally inherited from case). Your customer (the platform user / firm). | |
| end_user_id | No | Override end_user_id (normally inherited from case). The human the workflow acts on behalf of. |