runs

Retrieve Metrics For Run

Changed on

Get run metrics by run ID.

get/v1/runs/{run_id}/metrics

Request

  • Base URL
    https://app.letta.com
  • URL
    https://app.letta.com/v1/runs/{run_id}/metrics
  • Auth
    HTTP bearer

Path parameters

run_idstring required

Response

Successful Response

idstring required

The id of the run this metric belongs to (matches runs.id).

agent_idstring nullable

The unique identifier of the agent.

project_idstring nullable

The project that the run belongs to (cloud only).

run_start_nsinteger nullable

The timestamp of the start of the run in nanoseconds.

run_nsinteger nullable

Total time for the run in nanoseconds.

num_stepsinteger nullable

The number of steps in the run.

template_idstring nullable

The template ID that the run belongs to (cloud only).

base_template_idstring nullable

The base template ID that the run belongs to (cloud only).

Changes