workspaces

List workspaces

Plan: All plans

Returns workspaces the authenticated user belongs to with cursor pagination.

get/v1/workspaces

Query parameters

limitinteger

Maximum number of items to return

Maximum number of items to return

cursorstring

Opaque pagination cursor returned by the previous page

Opaque pagination cursor returned by the previous page

Response

OK

Example response

{
  "data": [
    {
      "created_at": "2026-01-15T09:30:00Z",
      "description": "Marketing site and internal tools for Acme.",
      "id": "workspace_01jw3k9m2xq8r5v0c7d4e6f2gh",
      "image_url": "https://lovable.dev/cdn/workspaces/acme/avatar.png",
      "membership": {
        "joined_at": "2026-01-15T09:30:00Z",
        "role": "admin",
        "user_id": "Xy7Kd2Lm9Qp4Rt6Vw8Zc1Bn3Fh5"
      },
      "name": "Acme Inc",
      "num_projects": 12,
      "plan": "pro",
      "updated_at": "2026-01-15T09:30:00Z"
    }
  ],
  "pagination": {
    "has_more": true,
    "next_cursor": "eyJ2IjoxLCJpZCI6InByal8wMWp3M2s5In0"
  }
}

Changes