Skip to main content
POST
Rebase A Branch Onto Main

Headers

x-api-key
string | null

Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.

Path Parameters

agent_id
string
required

The id of an agent. This is returned on agent creation.

Example:

"agent_3701k3ttaq12ewp8b7qv5rfyszkz"

branch_id
string
required

Unique identifier for the source branch to merge from.

Example:

"agtbrch_8901k4t9z5defmb8vh3e9361y7nj"

Response

Successful Response