Backend API Workflow:

Actions

Action to create a run/thread

Using the thread_id from step 1, retrieve messages array
image

Then saving the result in my db just to observe.

image

With the :filtered role = assistant the result is blank. When I remove the :filtered it returns the message associated with the other message (i.e. role = user).

Also…when I first started this I was using a Data call on the front end, and I received the full response array. I did not want to run the api’s from the front end and moved to back-end using an Action call…and now my problem.