Skip to main content
GET
cURL

Authorizations

Lovable-API-Key
string
header
required

Lovable API key. Send its value in the Lovable-API-Key header.

Headers

Lovable-Version
string

Stable API version to serve, as a YYYY-MM-DD date. Omit for the oldest supported stable version, currently 2026-09-11.

Lovable-Beta
string

Comma-separated beta revision strings to enable on top of the stable version.

Path Parameters

workspace_id
string
required

Workspace ID.

Example:

"workspace_01jw3k9m2xq8r5v0c7d4e6f2gh"

Query Parameters

limit
integer<int64>
default:50

Maximum number of items to return per page.

Required range: 1 <= x <= 100
Example:

50

cursor
string

Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages.

query
string

Search by display name, username, or email. Terms shorter than 3 characters are ignored.

Maximum string length: 1000
Example:

"jane"

role
enum<string>[]

Filter by the role returned in the response. The legacy values owner, admin, editor, member, viewer, and collaborator remain accepted aliases; member and editor both select workspace_editor. Repeat to match any of the values. Omit to include every role.

Available options:
workspace_owner,
workspace_admin,
workspace_editor,
workspace_viewer,
external_collaborator,
owner,
admin,
editor,
member,
viewer,
collaborator
Example:
sort_by
enum<string>

Sort field. Omit for the default order: role precedence (workspace_owner, workspace_admin, workspace_editor, external_collaborator, workspace_viewer), then most recently joined; with query set, best matches first. name sorts case-insensitively by the returned name, with null names first ascending and last descending. display_name is an alias for name, with identical ordering and interchangeable cursors. joined_at falls back to the invitation time. role sorts by role precedence. relevance ranks by match score and requires query; ties break by most recent join. Other ties break by membership id.

Available options:
name,
display_name,
joined_at,
role,
relevance
Example:

"name"

sort_order
enum<string>

Direction for sort_by. Defaults to descending. Requires sort_by.

Available options:
asc,
desc
Example:

"desc"

scim_managed
boolean

Filter by SCIM (System for Cross-domain Identity Management) provisioning: true returns only members provisioned by the identity provider, false only members added another way. Omit to include both.

Example:

true

Response

OK

data
object[]
required

Items in this page. Empty when there are none.

pagination
object
required

Whether more results are available and the cursor to fetch the next page.