---
title: "Agent Workspaces"
method: GET
path: "/agent/workspaces"
---

# Agent Workspaces

`GET /agent/workspaces`

## Request

- Base URL: `https://app.wunel.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.wunel.com/agent/workspaces`
- Auth: none declared

Every workspace the principal belongs to (id, name, role) so an AI client
can pick which one to browse/edit — not just its primary one.

`campaign` is the agent guide's campaign reference: an assistant that signed
its person up through a connector passes it on its first call, and a brand-new
account without a source is counted to that campaign (service.apply_campaign_ref;
an invalid or late one is ignored).

## Query parameters

- `campaign` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/wunel/apis/wunel-api.md) · [All operations](https://skmtc.dev/wunel/apis/wunel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wunel/apis/wunel-api/revisions/872fe0687a60?raw)
