Retrieve Metrics For Step

Get step metrics by step ID.

Authentication

AuthorizationBearer

Header authentication of the form Bearer <token>

Path Parameters

step_idstringRequiredformat: "^step-[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"=41 characters

The ID of the step in the format ‘step-<uuid4>’

Response

Successful Response
idstring

The id of the step this metric belongs to (matches steps.id).

provider_idstring or null
The unique identifier of the provider.
run_idstring or null
The unique identifier of the run.
agent_idstring or null
The unique identifier of the agent.
step_start_nsinteger or null
The timestamp of the start of the step in nanoseconds.
llm_request_start_nsinteger or null
The timestamp of the start of the llm request in nanoseconds.
llm_request_nsinteger or null
Time spent on LLM requests in nanoseconds.
tool_execution_nsinteger or null
Time spent on tool execution in nanoseconds.
step_nsinteger or null
Total time for the step in nanoseconds.
base_template_idstring or null

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

template_idstring or null

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

project_idstring or null

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

Errors