Daytona icon

Daytona

Manage Daytona sandboxes, snapshots, and volumes; run code and shell commands; drive a full Git pipeline; and manage the sandbox filesystem

Git → Status

AI-generated

Summary

Retrieve the Git repository status from a Daytona sandbox at a specified path.

Inputs

  • Sandbox ID (required) — ID of the sandbox containing the Git repository.
  • Path (required) — Absolute path inside the sandbox to the Git repository.

Output shape

a single JSON object containing the sandbox ID, the specified repository path, and the Git status response including current branch, ahead/behind counts, and per-file statuses.

The operation performs a GET request to the sandbox's toolbox Git status endpoint and returns the combined response with sandboxId and path. The status response structure depends on Daytona API but typically includes branch info and file change status.

Links

Discussion