context-agent
Merge Chat To Production
Merge session worktree changes to main production branch.
Supports selective merge: if selected_files is provided, only those files are merged. Otherwise, performs a full git merge of the session branch.
Body: confirm: Must be true (CSRF protection) selected_files: Optional list of file paths to merge selectively expected_session_head: The diff's session_head the reviewer saw; 409 if it moved recheck_first: Re-check a training's unmeasured changes first; the merge lands once it passes
Returns: {"status": "success"} or {"status": "conflict", "conflicts": [...], "message": "..."}
post/api/context-agent/chats/{chat_id}/merge
Request
- Base URL: https://app.getdot.ai (the document declares no server; this is the origin it was published from)
- URL: https://app.getdot.ai/api/context-agent/chats/{chat_id}/merge
- Auth: one of:
- API key in header X-API-KEY
- API key in cookie Authorization
- OAuth 2 (password, token URL /api/auth/token)
Path parameters
chat_idstring required
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.