get_trial_status
Check whether a GnosisLab trial is running, completed, or failed and retrieve its persisted executor output for auditing or next-step decisions.
Instructions
Check the status of a running or completed trial.
Returns: {"trial_id": ..., "status": "running"|"completed"|"failed", "executor_output": ...} # raw output once finalized
executor_output is persisted on the trial row at finalize time — it survives server restarts (the executor's async cache does not).
artifact_path is a transient staging directory — its contents are captured content-addressed into SQLite at finalize and the files deleted. An empty artifact_path is by design, not lost data: recover contents via get_blob / the code:// resource.
Enforcement: commitment 1 — the loop is the unit (orphan check).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trial_id | Yes | ID of the target trial. | |
| programme_id | Yes | ID of the target research programme. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| reason | No | ||
| status | No | ||
| progress | No | ||
| trial_id | No | ||
| cancelled | No | ||
| started_at | No | ||
| eta_seconds | No | ||
| finished_at | No | ||
| artifact_path | No | ||
| elapsed_seconds | No | ||
| executor_output | No | ||
| duration_seconds | No |