Get Costs Top Tasks
Top limit most-expensive tasks within the trailing hours window.
Web GUI Costs.tsx renders this as the "Top 10 tasks" card. Each item: {id, title, agent, cost_usd}. Empty list when no usage data is present so the card can show its empty-state cleanly.
get/api/v1/costs/top-tasks
Request
- Base URL: http://127.0.0.1:8052
- URL: http://127.0.0.1:8052/api/v1/costs/top-tasks
- Auth: none declared
Query parameters
limitinteger
hoursinteger
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.