Apps
Open or merge the app's setup PR
Opens the setup PR from the app'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 app, 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/apps/{appId}/setup/pull-request
Request
- Base URLhttps://app.khotan.com
- URLhttps://app.khotan.com/api/v1/apps/{appId}/setup/pull-request
- Auth
- HTTP bearer
- or API key in header x-api-key
Path parameters
appIdstring 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.