---
title: "Changes to Rebase A Branch Onto Main"
method: POST
path: "/v1/convai/agents/{agent_id}/branches/{branch_id}/rebase"
---

# Changes to Rebase A Branch Onto Main

`POST /v1/convai/agents/{agent_id}/branches/{branch_id}/rebase`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 109 revisions.

- **2026-10-21** `f687767c026b`: 1 info
- **2026-10-19** `4bbdfda3e711`: 1 info
- **2026-07-13** `009bd651509a`: 1 info

## Changes

- **2026-10-21** `f687767c026b`: 1 info
  - added optional request body
- **2026-10-19** `4bbdfda3e711`: 1 info
  - added the new optional `query` request parameter `source_branch_id`
- **2026-07-13** `009bd651509a`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/docs/v1/convai/agents/:agent_id/branches/:branch_id/rebase/post.md) - [API](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation.md) - [Page](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/changes/v1/convai/agents/:agent_id/branches/:branch_id/rebase/post)
