View this page as Markdown

execution_evidence

Reads stored execution tables and returns their schema-versioned evidence projection.

Example

Needs run

SELECT execution_evidence($execution_id) AS evidence;

API reference

Exact signatures with descriptions, requirements, inputs, returns, and examples.

execution_evidence(UUID) # Existing simulation required

Projects one locally stored execution and its related rows without running or authoring a PROGRAM.

Inputs

Name Type Use
execution_id UUID

UUID of the stored execution to project. An unknown ID produces NULL.

required positional

Returns

Name Type
execution_evidence EXECUTION_EVIDENCE

Stored execution evidence. Returns an EXECUTION_EVIDENCE object with schema_version 1, or NULL when evm.executions has no matching row. Missing collection sections are empty JSON arrays; a missing effect_summary is JSON null.

Guidance

Local data dependency

Results depend on the current contents of the local execution tables and can change when those tables change.

Section defaults

observation_facts, steps, assumptions, observations, asset_claims, and frames default to empty arrays; effect_summary defaults to null.

Category and tags

Category
Simulation
Tag
Simulate