droneship logs
Show what a prompt run’s agent did: live while it runs, saved after.
With -f, exits with the agent’s exit code once it finishes; without it, exits 0 whenever the log was read.
droneship logs [OPTIONS] IDArguments
Section titled “Arguments”| Argument | Description |
|---|---|
ID |
Which prompt run (run -p prints its ID) |
Options
Section titled “Options”| Option | Description | Default |
|---|---|---|
--follow, -f |
Keep streaming while the agent runs | |
--raw |
Print the agent’s JSONL log unchanged |
Examples
Section titled “Examples”Show the log of a prompt run:
droneship logs <sandbox-id>Stream the log while the run is in progress. When the agent finishes, the command exits with the agent’s exit code:
droneship logs -f <sandbox-id>Print the agent’s JSONL log unchanged:
droneship logs --raw <sandbox-id>Generated from the CLI. Verified against droneship 1.12.0.