Skip to main content
POST
Synchronizes the sandbox’s local git changes with the remote repository. Performs a fetch, rebase, and push to ensure the local and remote branches are in sync. Required scope: sessions:write

Path Parameters

string
required
The session ID (e.g. ses_abc123).

Headers

string
required
Bearer token. Example: Bearer runtm_xxx

Response

string
Session ID.
boolean
Whether the sync completed successfully.
integer
Number of commits ahead of remote after sync.
integer
Number of commits behind remote after sync.