Hello.
I'm building a Vercel integration that uses Vercel REST API. In doing so, I've encountered a few endpoints that are either not properly documented or not working at all. I’ve managed to find some workarounds by inspecting how the Vercel Dashboard interacts with some of these endpoints. But these hacks are even more imperfect, so I thought I'd ask in hopes of finding proper solutions.
- Endpoint to list deployment files is not working at all, a request to it usually takes about 3 minutes until it eventually responds with
500 Internal Server Error. As a solution for this, I've started using some endpoints to vercel.com/api instead of api.vercel.com. But I’m not sure if that’s allowed or the correct approach. - Endpoint to get deployment file contents is also not working at all. But I've discovered that if you use
getin place of{fileId}and pass inpath={encoded file path}as a query parameter, it seems to respond for some files which I refer to as v7 files. - Some files need to be read through undocumented
v6endpoint and requiresoutputsinstead ofgetin{fileId}andfileinstead ofpathquery parameter. But only some files work through v6 API. I don't know which files are v6 and which are v7. Both of these APIs respond wildly differently. - The teams endpoint is unavailable for tokens obtained through Vercel Integrations OAuth. I suspect I need to configure my integration to access it, but I haven’t been able to figure out how.
These are the major blockers I’m facing. There are also minor issues like incorrect or undocumented field names and value types in the documentation, but those were easier to debug and work around.
Any help would be appreciated. Thanks.
EDIT: In case this is useful or adds to the context, the integration I’m building is a VSCode extension. You can find more information on github.com/kyswtn/vscode-vercel.

