---
title: "List Workspaces"
method: GET
path: "/agent-loop/workspaces"
tags: ["agent-loop"]
---

# List Workspaces

`GET /agent-loop/workspaces`

List all workspaces the current user is a member of, ordered by most recent turn activity.

## Response `200`

Successful Response

- ListWorkspacesResponse
  - `workspaces` WorkspaceListItem[], required
    - `id` string, required
    - `name` string, required
    - `created_at` string, date-time, required
    - `use_local_sandbox` boolean
    - `pinned` boolean
    - `is_example` boolean
    - `doc_count` integer
    - `latest_doc_label` string, nullable
    - `review_status` string
    - `owner_user_id` string, nullable
    - `owner_display_name` string, nullable
    - `member_count` integer
    - `viewer_role` 'owner' | 'editor' | 'viewer' | 'commenter', nullable

---

[API](https://skmtc.dev/tryscott/apis/one-shot-api.md) · [All operations](https://skmtc.dev/tryscott/apis/one-shot-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tryscott/one-shot-api/revisions/28bdface01df/schema)
