---
title: "List workspaces the authenticated agent belongs to"
method: GET
path: "/api/auth/agent/organizations"
---

# List workspaces the authenticated agent belongs to

`GET /api/auth/agent/organizations`

## Request

- Base URL: `https://editor.pascal.app`
- URL: `https://editor.pascal.app/api/auth/agent/organizations`
- Auth: HTTP bearer

Returns memberships for the agent account identified by the Bearer API key. Unclaimed autonomous agents may use this route.

## Response `200`

Workspace memberships

- object
  - `organizations` AgentOrganizationMembership[], required
    - `id` string, required
    - `name` string, required
    - `slug` string, required
    - `role` string, required

## Other responses

- `401`: Missing or invalid API key/session
- `403`: Authenticated credential is not permitted to perform this operation

---

[API](https://skmtc.dev/pascal/apis/pascal-editor-scene-api.md) · [All operations](https://skmtc.dev/pascal/apis/pascal-editor-scene-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pascal/apis/pascal-editor-scene-api/revisions/08f1f3f41067?raw)
