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
Export Workspace Config
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
200 - text/plain
Successful Response
The response is of type string.
Last modified on September 21, 2026