workspaces

Get Workspace By Path

Get workspace by machine ID and local path.

get/api/v1/workspaces/by-path

Request

  • Base URL
    https://docs.omnara.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Query parameters

machine_id, string required
local_path, string required

Response

Successful Response

WorkspaceDescriptor 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, WorkspaceConfigOutput

Workspace configuration including git, sync, and remote environment settings

user_machine_paths, SharedSchemasApiWorkspacesUserMachinePathDescriptor[]

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.