Get threadId associated with agent memory

I have a workflow that calls an agent with memory, configured to generate a thread title.

How can I get access to the threadId automatically created for that agent once it's been used?
Was this page helpful?