Search the documentation
3 pages for durationms.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…lToolUseCount": int, # Number of tool calls the agent made "totalDurationMs": int, # Execution duration in milliseconds "totalTokens": int, # Token count from the final API request, not the…
Hooks reference
Claude Code CLI · in the page
hooks
…| | `totalDurationMs` | number | `48211` | Wall-clock duration of the subagent run…
Customize your status line
Claude Code CLI · in the page
statusline
…_name; const cost = data.cost?.total_cost_usd || 0; const durationMs = data.cost?.total_duration_ms || 0; const durationSec = Math.floor(durationMs / 1000); const mins = Math.…