artifacts may include intermediate tables with variable columns. Your code must always receive the same fields.
Solution: request a tables-type output contract with a row_schema.
completed:
- Output is a frozen copy: it does not change even if the source table changes.
- The agent must publish rows that match the schema, validated without coercion. Use
["string", "null"]for any field that may be missing. An overly strict schema blocks publication and the run fails. - For a single JSON value (not a table), use
{"type":"json","schema":{…}}and readvaluefromGET /v1/runs/{id}/output.