Hi, I’m looking for a way to publish a v0 chat latest version (linked to a Vercel project) using the v0 APIs.
I have 100+ v0 chats (each linked to an unique Vercel project) that I want to do this for on an ongoing basis.
In other words, I don’t want to click the Publish button, I want to do it via APIs and have it deploy via Vercel.
I’ve tried looking up the v0 project ID for a specified v0 chat but it looks like v0 chat doesn’t always have a v0 project associated with it.
For example, calling Get Chat would yield a response that doesn’t have a projectId for me to subsequently used to invoke Create Deployment.
What would be the correct way to achieve this?

