For the Assistant API/SDK modules can you create an option to retrieve a message based on its run_id? When developing chat apps where all messages are inside a thread. In order to look into a particular agent response, we need to iterate through the messages array and pick the one matching with 2 conditions : run_id and role (must be assistant). If this can be supported more efficiently within the SDK, we can create the run and then when the run status is complete we can pull the corresponding assistant response to that message.
+1 for this feature. It would save time if run_id was an optional parameter on the list messages endpoint.