Pipelines
Open or merge the pipeline's setup PR
Opens the setup PR from the pipeline's cursor/setup-<slug> branch into the default branch, or updates the open one, through Khotan's GitHub app. The setup script calls it when gh cannot. With merge: true, Khotan merges with a merge commit only when the caller is the running setup run's own key, the PR changes only the pipeline, its database package, bun.lock, khotan.bindings.json, and skills-lock.json, and every check on the head commit passed. A refused merge returns 409 with the guard's code and leaves the PR open.
post/api/v1/pipelines/{pipelineId}/setup/pull-request
Request
- Base URLhttps://app.khotan.com
- URLhttps://app.khotan.com/api/v1/pipelines/{pipelineId}/setup/pull-request
- Auth
- HTTP bearer
- or API key in header x-api-key
Path parameters
pipelineIdstring required
Request body
Response
The setup PR, and whether it merged.
Changes
No recorded changes to this operation across all 1 revision of this API.