v36

latestOpenAPI 3.1.0raw.githubusercontent.com2025-10-091882241.2 MB
steps

Retrieve Metrics For Step

Get step metrics by step ID.

get/v1/steps/{step_id}/metrics

Path parameters

step_idstring required

Response

Successful Response

idstring required

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

provider_idstring nullable

The unique identifier of the provider.

run_idstring nullable

The unique identifier of the run.

agent_idstring nullable

The unique identifier of the agent.

step_start_nsinteger nullable

The timestamp of the start of the step in nanoseconds.

llm_request_start_nsinteger nullable

The timestamp of the start of the llm request in nanoseconds.

llm_request_nsinteger nullable

Time spent on LLM requests in nanoseconds.

tool_execution_nsinteger nullable

Time spent on tool execution in nanoseconds.

step_nsinteger nullable

Total time for the step in nanoseconds.

base_template_idstring nullable

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

template_idstring nullable

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

project_idstring nullable

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