Handle ticket #4819 (refund request)
Agent: customer-support-agent
error
2.99s
Started: Apr 6 01:10 PM
Ended: Apr 6 01:10 PM
Spans: 3
Spans
fetch-ticket
ok
110ms
Input
{
"ticket_id": 4819
}
Output
{
"subject": "Refund for annual plan — changed my mind",
"customer_id": "cus_def456"
}
check-refund-eligibility
ok
360ms
Input
{
"customer_id": "cus_def456",
"plan": "annual"
}
Output
{
"eligible": false,
"reason": "Outside 30-day refund window (subscription is 45 days old)"
}
generate-response
error
2.50s
Input
{
"outcome": "denied",
"policy": "outside_window",
"empathy_level": "high"
}
Error
Anthropic API error: 529 Overloaded — model capacity exceeded, retry after 30s
Like what you see? Instrument your own agents with 3 lines of code.
Start free — no credit card required