curl --request GET \
--url https://api.yertle.com/orgs/{org_id}/nodes/{node_id}/pull-requests/{pr_number}{
"pr": {
"id": "<string>",
"node_id": "<string>",
"number": 123,
"title": "<string>",
"source_branch": "<string>",
"target_branch": "<string>",
"source_commit": "<string>",
"target_commit": "<string>",
"status": "<string>",
"is_draft": true,
"author": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"author_email": "<string>",
"merged_by": "<string>",
"merged_by_email": "<string>",
"closed_by": "<string>",
"closed_by_email": "<string>",
"merged_at": "2023-11-07T05:31:56Z",
"closed_at": "2023-11-07T05:31:56Z",
"can_merge": true,
"merge_reason": "<string>",
"commits_ahead": 123
}
}Fetch a single pull request along with its current merge status.
Augments the stored PR with live computed fields: whether it can be merged right now (fast-forward check), a reason string if it cannot, and how many commits the source branch is ahead of the target. Those fields are re-derived on each call so the UI always reflects current branch state.
pr_number is the per-node PR number (not the internal UUID).
curl --request GET \
--url https://api.yertle.com/orgs/{org_id}/nodes/{node_id}/pull-requests/{pr_number}{
"pr": {
"id": "<string>",
"node_id": "<string>",
"number": 123,
"title": "<string>",
"source_branch": "<string>",
"target_branch": "<string>",
"source_commit": "<string>",
"target_commit": "<string>",
"status": "<string>",
"is_draft": true,
"author": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"author_email": "<string>",
"merged_by": "<string>",
"merged_by_email": "<string>",
"closed_by": "<string>",
"closed_by_email": "<string>",
"merged_at": "2023-11-07T05:31:56Z",
"closed_at": "2023-11-07T05:31:56Z",
"can_merge": true,
"merge_reason": "<string>",
"commits_ahead": 123
}
}Documentation Index
Fetch the complete documentation index at: https://docs.yertle.com/llms.txt
Use this file to discover all available pages before exploring further.