v6

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01485121699.8 KB

Get Cost Efficiency

Real-time cost-per-line-of-code efficiency metric.

Shows cost efficiency as the run progresses:

  • current: efficiency of the most recently completed task
  • run_average: efficiency across all completed tasks in this run
  • historical_average: efficiency across all tracked runs

Helps identify unusually expensive runs.

Returns: JSON with current, run_average, historical_average, and message fields.

get/costs/efficiency

Response

Successful Response

{"stackTrail":"paths:/costs/efficiency:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}