# create a thread (or use an existing thread instead)
thread = sync_client.threads.create()