Omnara · Schema

WorkspaceDescriptor

Serialized workspace row returned to API clients.

Artificial IntelligenceAgentsOpen SourcePlatformAutomation

Properties

Name Type Description
id string Unique workspace identifier
user_id string Owner user identifier
git_host object Canonical git host (e.g., github.com)
git_path object Canonical git repository path (e.g., org/repo)
workspace_metadata object Arbitrary workspace metadata (labels, annotations)
workspace_config object Workspace configuration including git, sync, and remote environment settings
user_machine_paths array Machines linked to this workspace with their local paths
created_at string Timestamp when the workspace was created
updated_at string Timestamp when the workspace was last updated
View JSON Schema on GitHub

JSON Schema

omnara-com-workspace-descriptor-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/omnara-com/json-schema/omnara-com-workspace-descriptor-schema.json",
  "title": "WorkspaceDescriptor",
  "description": "Serialized workspace row returned to API clients.",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/omnara-com-openapi.json#/components/schemas/WorkspaceDescriptor",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id",
      "description": "Unique workspace identifier"
    },
    "user_id": {
      "type": "string",
      "title": "User Id",
      "description": "Owner user identifier"
    },
    "git_host": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Git Host",
      "description": "Canonical git host (e.g., github.com)"
    },
    "git_path": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Git Path",
      "description": "Canonical git repository path (e.g., org/repo)"
    },
    "workspace_metadata": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Workspace Metadata",
      "description": "Arbitrary workspace metadata (labels, annotations)"
    },
    "workspace_config": {
      "$ref": "#/$defs/WorkspaceConfig-Output",
      "description": "Workspace configuration including git, sync, and remote environment settings"
    },
    "user_machine_paths": {
      "items": {
        "$ref": "#/$defs/shared__schemas__api_workspaces__UserMachinePathDescriptor"
      },
      "type": "array",
      "title": "User Machine Paths",
      "description": "Machines linked to this workspace with their local paths"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At",
      "description": "Timestamp when the workspace was created"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At",
      "description": "Timestamp when the workspace was last updated"
    }
  },
  "type": "object",
  "required": [
    "id",
    "user_id",
    "created_at",
    "updated_at"
  ],
  "$defs": {
    "EnvVar": {
      "properties": {
        "key": {
          "type": "string",
          "title": "Key",
          "description": "Environment variable name"
        },
        "value": {
          "type": "string",
          "title": "Value",
          "description": "Environment variable value"
        }
      },
      "type": "object",
      "required": [
        "key",
        "value"
      ],
      "title": "EnvVar",
      "description": "A single environment variable key-value pair."
    },
    "GitSettings": {
      "properties": {
        "remote": {
          "type": "string",
          "title": "Remote",
          "description": "Git remote to use for push/pull operations (e.g., 'origin')",
          "default": "origin"
        },
        "base_ref": {
          "type": "string",
          "title": "Base Ref",
          "description": "Base ref/branch for worktrees and checkpoint comparisons (e.g., 'main', 'master')",
          "default": "main"
        }
      },
      "type": "object",
      "title": "GitSettings",
      "description": "Git-related settings for a workspace."
    },
    "RemoteEnvSettings": {
      "properties": {
        "env": {
          "items": {
            "$ref": "#/$defs/EnvVar"
          },
          "type": "array",
          "title": "Env",
          "description": "Environment variables as structured key-value pairs for remote environments"
        }
      },
      "type": "object",
      "title": "RemoteEnvSettings",
      "description": "Remote environment settings for a workspace.\n\nUsed to configure remote environments that can be spun up with specific ENV variables."
    },
    "SetupSettings": {
      "properties": {
        "script": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Script",
          "description": "Path to a setup script (relative to workspace root) to run on worktree setup"
        }
      },
      "type": "object",
      "title": "SetupSettings",
      "description": "Setup script settings for a workspace.\n\nConfigures an optional shell script that runs automatically:\n- On worktree creation (local machine)\n- On worktree migration (to/from sandbox)\n- On checkpoint restore\n\nThe script runs with the worktree directory as the working directory."
    },
    "SyncSettings": {
      "properties": {
        "enabled": {
          "type": "boolean",
          "title": "Enabled",
          "description": "Whether remote sync is enabled. When enabled, checkpoints are automatically uploaded after each agent turn.",
          "default": false
        }
      },
      "type": "object",
      "title": "SyncSettings",
      "description": "Remote sync settings for a workspace.\n\nWhen enabled, checkpoints are automatically uploaded after each agent turn."
    },
    "WorkspaceConfig-Output": {
      "properties": {
        "git": {
          "$ref": "#/$defs/GitSettings",
          "description": "Git settings (remote and base ref) for the workspace"
        },
        "sync": {
          "$ref": "#/$defs/SyncSettings",
          "description": "Remote sync settings for automatic checkpoint uploads"
        },
        "remote_env": {
          "$ref": "#/$defs/RemoteEnvSettings",
          "description": "Remote environment settings including environment variables"
        },
        "setup": {
          "$ref": "#/$defs/SetupSettings",
          "description": "Setup script settings for automatic worktree initialization"
        }
      },
      "type": "object",
      "title": "WorkspaceConfig",
      "description": "Workspace-level configuration persisted alongside metadata."
    },
    "shared__schemas__api_workspaces__UserMachinePathDescriptor": {
      "properties": {
        "user_machine_id": {
          "type": "string",
          "title": "User Machine Id",
          "description": "Identifier of the linked user machine"
        },
        "local_path": {
          "type": "string",
          "title": "Local Path",
          "description": "Absolute filesystem path to the workspace on the machine"
        }
      },
      "type": "object",
      "required": [
        "user_machine_id",
        "local_path"
      ],
      "title": "UserMachinePathDescriptor",
      "description": "A user machine path linked to a workspace."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/omnara-com-workspace-descriptor"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.