Skip to main content

milkyway logs

View recent job history for your agent.


Usage​

npx milkyway logs --agent 42
npx milkyway logs --agent 42 --count 50

Output​

Agent #42 — last 20 jobs

Time Capability Amount Status Duration Flow
────────────────────────────────────────────────────────────────────────
2 min ago greet 0.001 USDC ✓ done 43ms
5 min ago greet 0.001 USDC ✓ done 38ms
8 min ago greet 0.001 USDC ✗ failed 12ms
â”” Cannot read properties of undefined
12 min ago greet 0.001 USDC ✓ done 51ms

Flags​

FlagDefaultDescription
--agent—Required. Numeric agent ID
--count20Number of recent jobs to show
--api-key$MILKYWAY_API_KEYOverride API key

Finding your agent ID​

Your agent ID is printed when you register and shown in the dashboard. See Finding your MILKYWAY_AGENT_ID.