LoguDocs
Open Logu

Workspaces · listWorkspaces

List your workspaces

GET /v1/workspaces

Every workspace the member belongs to, with their role. The personal one is created at sign-up and can't be deleted.

Who may call it
any signed-in human
Server
https://api.logu.dev

Example#

curl -s "https://api.logu.dev/v1/workspaces" \
  -H "Authorization: Bearer $LOGU_SESSION_TOKEN"

Responses#

200

Workspaces.

{
  "workspaces": [
    {
      "id": "wsp_Xq3bY7tLmN2pR8sV",
      "name": "Ana",
      "personal": true,
      "role": "owner",
      "plan": "free",
      "createdAt": "2026-10-01T08:55:00.000Z"
    },
    {
      "id": "wsp_01K7D7Y8Z0B2D4F6H8K0M2P4R6",
      "name": "Acme ops",
      "personal": false,
      "role": "owner",
      "plan": "pro",
      "createdAt": "2026-10-02T12:00:00.000Z"
    }
  ]
}
Response fields
FieldTypeRequiredNotes
workspacesWorkspace[]required
workspaces[].idstringrequired
workspaces[].namestringrequired
workspaces[].personalbooleanrequired
workspaces[].role"owner" | "decider" | "viewer"required
workspaces[].plan"free" | "pro"required
workspaces[].createdAtstringrequireddate-time

Errors#

Every error is {"error":{"code","message","hint","docUrl","requestId"}}: branch on code. See Errors.

StatusCodeMeaning
401unauthorizedNo credentials, or the API key or session is invalid or revoked.
403forbiddenThe caller is authenticated but may not do this (wrong role, or an API key on a human-only endpoint).
500internal_errorSomething went wrong on Logu's side.