Creating new threads for assistants programmatically

I’ve been using assistant api (beta) to create chatbots with my custom data for different platforms that I run which is pretty straight forward. I’d like to use an individual thread for each user (for obvious reasons) but there’ s a problem: I can’t find any key in thread.crearte to which I can pass the assis_id and create a new thread ON A SPECIFIC assistant, when I do threads.create it creates a new thread on a random (untrained) assistant and that defeats the purpose.
is there any way to create new threads for a specific assistant systematically?

Threads are not associated with a user or an assistant. They are simply a container for messages and unexposed internal messages.

Maybe a user has been talking to the Archimedes personality assistant, and wants to switch their chat to the Alan Turing chatbot?

Management - tracking users, their chats, and their preferences of assistants being employed within chats - is up to you. You can use the metadata fields that are provided for some storage of preferences like an assistant pointer and for validating against customer IDs to avoid data leakage.