We've updated the AI Agent metadata output to include the total duration in seconds the Agent took before emitting an event:
"metadata": {
"input_tokens": 1943,
"output_tokens": 417,
"credits_used": 3,
"remaining_credits": 4759,
"model": "eu.anthropic.claude-3-7-sonnet-20250219-v1:0"
"duration": 266.20275563
}