runs

Get Run Llm Costs

Changed on

Get the LLM provider cost breakdown for a run, grouped by agent role and model.

Requires the llm_cost_visibility feature flag. cost_usd is null for rows whose model has no pricing yet.

get/v1/runs/{run_id}/llm-costs

Request

  • Base URL
    https://api.cyberdesk.io
  • URL
    https://api.cyberdesk.io/v1/runs/{run_id}/llm-costs
  • Auth
    HTTP bearer

Path parameters

run_idstring uuid required

Response

Successful Response

run_idstring uuid required
total_cost_usdnumber nullable
has_unpricedboolean required

Changes