Create a new deployment
documentedCreate a new deployment (git or manual) with provided files/metadata.
POST /v13/deploymentsDeploymentsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.vercel.com/v13/deployments" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "teamId": "{{$team_id}}", "slug": "{{$slug}}", "files": [{"file": "{{$file_path}}", "data": "{{$file_content}}"}], "gitSource": {"type": "{{$git_type}}", "repoId": "{{$repo_id}}", "ref": "{{$git_ref}}", "sha": "{{$git_sha}}"}, "gitMetadata": {"remoteUrl": "{{$remote_url}}", "commitRef": "{{$commit_ref}}", "commitMessage": "{{$commit_message}}", "commitAuthorName": "{{$commit_author_name}}", "commitAuthorEmail": "{{$commit_author_email}}", "dirty": {{$dirty}}, "ci": {{$ci}}, "ciType": "{{$ci_type}}", "ciGitProviderUsername": "{{$ci_provider_username}}", "ciGitRepoVisibility": "{{$ci_repo_visibility}}"}, "target": "{{$target}}", "project": "{{$project}}", "projectSettings": {"buildCommand": "{{$build_command}}", "installCommand": "{{$install_command}}"}}'"