Skip to main content

sypho logs

View logs and events for a run.

Usage

sypho logs <RUN_ID> [OPTIONS]

Arguments

ArgumentDescription
RUN_IDRun identifier (e.g., run_abc123)

Options

FlagDescription
--follow, -fStream logs in real-time
--jsonOutput as JSON

Examples

View Logs

sypho logs run_abc123

Output:

[2026-07-10 10:00:01] Agent started
[2026-07-10 10:00:02] Calling tool: example_tool
[2026-07-10 10:00:03] Tool result: SUCCESS
[2026-07-10 10:00:04] Execution complete

Follow Logs

sypho logs run_abc123 --follow

Streams logs as they arrive (like tail -f).

JSON Output

sypho logs run_abc123 --json

Output:

[
{
"timestamp": "2026-07-10T10:00:01.000Z",
"type": "agent.log",
"message": "Agent started"
},
{
"timestamp": "2026-07-10T10:00:02.000Z",
"type": "tool_call",
"tool": "example_tool",
"args": {...}
}
]

Event Types

TypeDescription
agent.logAgent stdout/stderr
tool_callTool invocation
tool_resultTool response
llm_callLLM API request
llm_responseLLM API response
step.completedStep finished
step.failedStep failed

API Endpoint

The command calls:

GET /runs/{run_id}/events

Next Steps