Error
A valid request URL is required to generate request examples{
"results": {
"commitSha": "<string>",
"changedFiles": 123,
"deletions": 123,
"additions": 123,
"state": "open",
"summary": "<string>",
"title": "<string>",
"prNumber": 123,
"repo": "<string>",
"prUrl": "<string>"
},
"status": "ok"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}API Reference
Get AI agent thread pull request
Get the writeback pull request associated with a thread — the PR the agent opened in this thread, or the PR a verification thread verifies.
GET
/
api
/
v1
/
projects
/
{projectUuid}
/
aiAgents
/
{agentUuid}
/
threads
/
{threadUuid}
/
pull-request
Error
A valid request URL is required to generate request examples{
"results": {
"commitSha": "<string>",
"changedFiles": 123,
"deletions": 123,
"additions": 123,
"state": "open",
"summary": "<string>",
"title": "<string>",
"prNumber": 123,
"repo": "<string>",
"prUrl": "<string>"
},
"status": "ok"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}Response
Success
Overview of the writeback PR a thread is associated with — either the PR the
agent opened in this thread, or the PR a remediation verification thread is
verifying. Live GitHub fields (state, counts) are null when the fetch fails;
summary falls back to the PR title when no stored summary exists.
Show child attributes
Show child attributes
Available options:
ok Was this page helpful?