Skip to main content

Get task run metrics

GET 

/api/tasks/:task_id/run-metrics

Returns total run time, agent time, input and output usage and cost for the task and all of its descendants, plus the model that ran. Works for unfinished tasks too.

Request​

Responses​

OK