---
title: "Export Workspace Config"
method: GET
path: "/v1/workspace/export"
tags: ["v1", "protected", "workspace-config"]
---

# Export Workspace Config

`GET /v1/workspace/export`

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)

**Returns:**
YAML file content that can be saved and later imported

## Response `200`

Successful Response

---

[API](https://skmtc.net/agentarea/apis/agentarea-api.md) · [All operations](https://skmtc.net/agentarea/apis/agentarea-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agentarea/agentarea-api/revisions/e3650e48373b/schema)
