> For the complete documentation index, see [llms.txt](https://docs.pagerly.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pagerly.io/sre-ai-agent/data-sources/vercel.md).

# Vercel

## What the Agent Can Do

* List recent deployments — status, commit, branch, timestamps
* Get deployment details and build logs
* List serverless functions and their invocation logs
* Check project settings and environment variables

## Setup Instructions

1. Log into your Vercel account at <https://vercel.com/account/tokens>
2. Click **Create Token**
3. Give it a name (e.g., `Pagerly`) and set the scope to your team or personal account
4. Copy the generated token

## Required Credentials

| Field                      | Description           | Example             |
| -------------------------- | --------------------- | ------------------- |
| **API Token**              | Vercel API token      | `your-vercel-token` |
| **Team Slug** *(optional)* | Your Vercel team slug | `my-team`           |

## Context Prompt Tips

> *"Our main project is api-gateway. Production deployments are on the main branch. We use edge functions for auth."*

## Docs

* [Vercel REST API](https://vercel.com/docs/rest-api)
