workspaces
Get Workspace By Path
Get workspace by machine ID and local path.
get/api/v1/workspaces/by-path
Request
- Base URLhttps://docs.omnara.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Query parameters
machine_id, string required
local_path, string required
Response
Successful Response
Workspace Descriptor required
Serialized workspace row returned to API clients.
id, string required
Unique workspace identifier
user_id, string required
Owner user identifier
git_host, string nullable
Canonical git host (e.g., github.com)
git_path, string nullable
Canonical git repository path (e.g., org/repo)
workspace_metadata, object nullable
Arbitrary workspace metadata (labels, annotations)
workspace_config, Workspace Config Output
Workspace configuration including git, sync, and remote environment settings
user_machine_paths, Shared Schemas Api Workspaces User Machine Path Descriptor[]
Machines linked to this workspace with their local paths
created_at, string date-time required
Timestamp when the workspace was created
updated_at, string date-time required
Timestamp when the workspace was last updated
Changes
No recorded changes to this operation across all 1 revision of this API.