traces

Get Trace Usage

Changed on

Get a trace's compute and inference cost breakdown.

get/v2/trace/{trace_id}/usage

Request

  • Base URL
    https://api.hud.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.hud.ai/v2/trace/{trace_id}/usage
  • Auth
    none declared

Path parameters

trace_idstring uuid required

Response

Successful Response

trace_idstring uuid required
created_atstring date-time nullable
end_timestring date-time nullable
statusstring nullable
environment_idstring uuid nullable
environment_costnumber
environment_transactionsinteger
environment_hourly_ratenumber nullable
environment_still_runningboolean
environment_baseline_costnumber
environment_additional_costnumber
environment_baseline_minutesinteger
environment_additional_minutesinteger
environment_total_runtime_secondsnumber nullable
inference_costnumber
inference_callsinteger
inference_cost_incompleteboolean
agent_actionsinteger
total_costnumber

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status