Update Workspace Config
Update workspace configuration (git, sync, remote_env, and setup settings).
Request
- Base URLhttps://docs.omnara.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Path parameters
Request body
Request body for updating workspace configuration.
Git-related settings for a workspace.
Remote sync settings for a workspace.
When enabled, checkpoints are automatically uploaded after each agent turn.
Remote environment settings for a workspace.
Used to configure remote environments that can be spun up with specific ENV variables.
Setup script settings for a workspace.
Configures an optional shell script that runs automatically:
- On worktree creation (local machine)
- On worktree migration (to/from sandbox)
- On checkpoint restore
The script runs with the worktree directory as the working directory.
Response
Successful Response
Serialized workspace row returned to API clients.
Unique workspace identifier
Owner user identifier
Canonical git host (e.g., github.com)
Canonical git repository path (e.g., org/repo)
Arbitrary workspace metadata (labels, annotations)
Workspace configuration including git, sync, and remote environment settings
Machines linked to this workspace with their local paths
Timestamp when the workspace was created
Timestamp when the workspace was last updated
Changes
No recorded changes to this operation across all 1 revision of this API.