SessionEndEvent represents session events
| 198 | |
| 199 | // SessionEndEvent represents session events |
| 200 | type SessionEndEvent struct { |
| 201 | Action string `json:"action"` |
| 202 | SessionID string `json:"session_id"` |
| 203 | AgentName string `json:"agent_name"` |
| 204 | Duration int64 `json:"duration_ms"` |
| 205 | ToolCalls int `json:"tool_calls"` |
| 206 | InputTokens int64 `json:"input_tokens"` |
| 207 | OutputTokens int64 `json:"output_tokens"` |
| 208 | TotalTokens int64 `json:"total_tokens"` |
| 209 | ErrorCount int `json:"error_count"` |
| 210 | Cost float64 `json:"cost"` |
| 211 | IsSuccess bool `json:"is_success"` |
| 212 | Error []string `json:"error"` |
| 213 | } |
| 214 | |
| 215 | // SessionEndPayload represents the HTTP payload structure for session events |
| 216 | type SessionEndPayload struct { |
nothing calls this directly
no outgoing calls
no test coverage detected