Skip to main content
POST
Executes a git operation in the session’s sandbox. Supports standard git operations like status, add, commit, push, pull, branch, checkout, diff, log, and create-pr. Required scope: sessions:write

Path Parameters

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

Headers

string
required
Bearer token. Example: Bearer runtm_xxx

Body

string
required
Git operation: status, add, commit, push, pull, branch, checkout, diff, log, create-pr.
object
Operation-specific arguments. For commit: {message}. For checkout: {branch}. For create-pr: {title, body, base}.

Response

string
Operation that was executed.
object
Operation-specific result data.
boolean
Whether the operation succeeded.