Retrieve Step
Get a step by ID.
Path parameters
Response
Successful Response
The id of the step. Assigned by the database.
The surface that this agent step was initiated from.
The unique identifier of the provider that was configured for this step
The unique identifier of the run that this step belongs to. Only included for async calls.
The ID of the agent that performed the step.
The name of the provider used for this step.
The category of the provider used for this step.
The name of the model used for this step.
The model endpoint url used for this step.
The context window limit configured for this step.
The number of tokens generated by the agent during this step.
The number of tokens in the prompt during this step.
The total number of tokens processed by the agent during this step.
Metadata for the agent.
Metadata tags.
The unique identifier of the transaction that processed this step.
The trace id of the agent step.
The feedback for this step. Must be either 'positive' or 'negative'.
The project that the agent that executed this step belongs to (cloud only).
The type/class of the error that occurred
Error details including message, traceback, and additional context
Status of a step execution
Example response
{
"messages": [
{
"id": "message-123e4567-e89b-12d3-a456-426614174000"
}
]
}