Skip to main content
Public v1 SDK consumers read step results via output_flat.

Current v1 behavior

  • There is no client.schemas SDK resource.
  • There are no public /v1/schemas/* endpoints.
  • Schema-backed step outputs are exposed as output_flat.type == "json" with data in output_flat.primary.

Example

trace = client.runs.steps(run_id)

for step in trace["steps"]:
    flat = step["output_flat"]
    if flat.get("type") == "json":
        data = flat["primary"]
        print(data)
Optional schema metadata may be present (for example schema_urn, schema_name).

See also