v1
latestSwagger 2.02026-07-175445133.1 KBgit
Get pull request info
Gets information about an existing pull request for a worktree branch
get/v1/git/worktrees/{id}/pr
Path parameters
idstring required
Worktree ID
Response
OK
Example response
{
"body": "This PR adds new functionality",
"exists": true,
"has_commits_ahead": true,
"number": 123,
"title": "Feature: Add new functionality",
"url": "https://github.com/owner/repo/pull/123"
}