agentRunner
Open a pull request from an agent run
Queues a pull request for the run's diff (result_diff). The pull request is created in the background, so pr_url is usually not set yet in the response: pr_is_being_created is true until it finishes. Poll getAgentRunner until pr_url or pr_error is set. Returns 409 if a pull request already exists or is being created, and 422 if the run has no diff, no branch, no GitHub repository or installation, or needs a git sync.
post/agent_runners/{agent_runner_id}/pull_request
Request
- Base URLhttps://api.netlify.com/api/v1
- URLhttps://api.netlify.com/api/v1/agent_runners/{agent_runner_id}/pull_request
- AuthOAuth 2Implicit: https://app.netlify.com/authorize
Response
OK
Changes
No recorded changes to this operation across all 65 revisions of this API.