For the complete documentation index, see llms.txt. This page is also available as Markdown.

List User Groups (Paginated)

GraphQL endpoint: /user

Lists the groups the calling user is a member of, most recent first, including the user's role in each group. Results are cursor-paginated: pass limit and the previous page's nextCursor as cursor to fetch the next page.

Query

query ($limit: Int, $cursor: String) {
  paginatedUserGroups(limit: $limit, cursor: $cursor) {
    paginationInfo {
      limit
      nextCursor
    }
    records {
      id
      role
      group {
        id
        name
      }
    }
  }
}

Variables

Response

Last updated