Skip to main content
Public v1 returns normalized step results as output_flat. If a step produced file metadata, it will appear in the normalized payload (output_flat.primary) according to the step output type.

Important SDK limits

  • No client.storage.resolve(...) method exists.
  • Public SDK storage methods are:
    • client.storage.upload(...)
    • client.storage.resolve_path(...)
trace = client.runs.steps(run_id)

for step in trace["steps"]:
    flat = step["output_flat"]
    if flat.get("type") in ("json", "text", "media"):
        print(step["id"], flat)

See also