List Messages For Run
Get response messages associated with a run.
Path parameters
run_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:
Response
Successful Response
SystemMessage
OR
UserMessage
OR
ReasoningMessage
OR
HiddenReasoningMessage
OR
ToolCallMessage
OR
ToolReturnMessage
OR
AssistantMessage
OR
ApprovalRequestMessage
OR
ApprovalResponseMessage