List members
const url = 'https://api.asklucy.eu/v1/org/members?limit=25&role=member';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.asklucy.eu/v1/org/members?limit=25&role=member' \ --header 'Authorization: Bearer <token>'Everyone in the organization who can use Lucy. People arrive through the company’s identity provider (sign-in); removeMember deletes a leaver’s data and access.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”The next_cursor of the previous page.
Search in names and emails.
member: use Lucy (conversations, files, memory).org_admin: also settings, members, usage, audit, and the organization’s memory (reviewing processes, forgetting shared facts).auditor: read the audit log only.
Responses
Section titled “Responses”OK
object
object
object
Zitadel user ID.
service is a customer system’s Zitadel service user; agent is a service agent (its ID is the agt_ ID), the author of its runs’ messages.
Deactivated in the company’s identity provider.
Example
{ "data": [ { "user": { "kind": "person" }, "roles": [ "member" ], "status": "active" } ]}Missing, expired or invalid token.
RFC 9457 problem details.
object
For quota-exceeded, the window that is used up.
object
Null for a rolling window that hasn’t started.
organization when the organization’s budget is closer to running out than the member’s own limit.
Field-level problems (400 only).
object
JSON pointer into the request body.
Example
{ "type": "https://docs.asklucy.eu/errors/answer-in-progress", "quota": { "window": "five_hours", "limited_by": "personal", "request": { "status": "pending" } }}Headers
Section titled “Headers”Unique per request; quote it to support.
The token is valid but lacks the role this needs.
RFC 9457 problem details.
object
For quota-exceeded, the window that is used up.
object
Null for a rolling window that hasn’t started.
organization when the organization’s budget is closer to running out than the member’s own limit.
Field-level problems (400 only).
object
JSON pointer into the request body.
Example
{ "type": "https://docs.asklucy.eu/errors/answer-in-progress", "quota": { "window": "five_hours", "limited_by": "personal", "request": { "status": "pending" } }}Headers
Section titled “Headers”Unique per request; quote it to support.