v1
protected
workspace-config

Export Workspace Config

Export current workspace configuration as YAML.

This endpoint exports all workspace-scoped resources:

  • Agents (excluding system default agent)
  • MCP server instances
  • Provider configurations

Important Notes:

  • Secrets (API keys, passwords) are replaced with placeholders
  • Built-in/catalog resources (carrying registry_item_id) are excluded
  • Only resources in the current workspace are exported
  • References to specs are included (server_spec_id, provider_spec_id)

There is no matching import endpoint. Recreating a workspace goes through the platform toolsets (agentarea/agents, agentarea/mcp_servers, agentarea/providers, agentarea/skills, ...) or bundle install, both of which handle secrets as first-class inputs instead of smuggling placeholders through a YAML file.

Returns: YAML file content describing the workspace

get/v1/workspace/export

Response

Successful Response

Changes