kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

CLI / cloud / rl / runs / export

kosa8 cloud rl runs export

Write every rollout of an RL run as JSONL, oldest first (-o FILE, else stdout)

Usage#

kosa8 cloud rl runs export RUN

One JSON object a line, each a rollout as the API records it: step, group, index, sandbox, reward, failure class, exit, duration, cost, tokens, metrics, meta and the tail of its stdout. Ready for pandas (read_json(lines=True)), DuckDB or jq.

Options#

FlagTypeWhat it doesDefault
-o, --outputstringwrite to this file instead of stdout—

Example#

  kosa8 cloud rl runs export run_8f2k -o rollouts.jsonl
  kosa8 cloud rl runs export run_8f2k | jq -s 'map(.reward) | add / length'

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · AI Agent Sandbox: Secure and Sovereign for Enterprise · Local models served by llamay · Agent gateway: MAQPNA