cURL
curl --request GET \ --url http://localhost:8000/api/costs/by-agent
[ { "agent_id": "<string>", "agent_name": "<string>", "total_cost": "<string>", "session_count": 123, "event_count": 123 } ]
Cost aggregated per agent.
Successful Response
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$