Skip to main content
GET
List workspaces

Authorizations

Authorization
string
header
required

Personal Access Token or OAuth2 JWT. Create a PAT at app.layer.ai → Settings → Personal Access Tokens.

Query Parameters

limit
integer
default:20

Maximum number of results to return.

Required range: 1 <= x <= 100
cursor
string | null

Cursor from a previous response to get the next page.

Response

Successful Response

workspaces
WorkspaceInfo · object[]
required

All workspaces the authenticated user belongs to, ordered by most recently active first.

pagination
PaginationOutput · object
required