git
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"
}Changes
No recorded changes to this endpoint across all 50 revisions of this API.