List Messages For Step
List messages for a given step.
Path parameters
step_id
Headers
Authorization
Header authentication of the form Bearer <token>
Query parameters
before
Message ID cursor for pagination. Returns messages that come before this message ID in the specified sort order
after
Message ID cursor for pagination. Returns messages that come after this message ID in the specified sort order
limit
Maximum number of messages to return
order
Sort order for messages by creation time. 'asc' for oldest first, 'desc' for newest first
Allowed values:
order_by
Sort by field
Response
Successful Response
SystemMessage
OR
UserMessage
OR
ReasoningMessage
OR
HiddenReasoningMessage
OR
ToolCallMessage
OR
ToolReturnMessage
OR
AssistantMessage
OR
ApprovalRequestMessage
OR
ApprovalResponseMessage