Queries
users
Retrieves a list of items.
QUERY
users(after: String, before: String, distinctOn: [UserSortEnum], filters: UserInputFilters, first: Int, last: Int, sort: [UserSortEnum]): UsersConnectionArguments
after
String
before
String
distinctOn
filters
first
Int
last
Int
sort
Returns
edges
[UsersEdge]!
Contains the nodes in this connection.
pageInfo
Pagination data for connection.
Query
query Users {
users {
edges {
cursor
node {
LastSessionId
Organization {
__typename
}
_ActiveSessionsCount
_AnalyticsCredentialCount
_ApiKeysCount
_PermissionGroupsCount
}
}
pageInfo {
count
endCursor
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
}Response
{
"data": {
"users": {
"edges": [
{
"cursor": "string",
"node": {
"LastSessionId": "string",
"Organization": {
"__typename": "Organization"
},
"_ActiveSessionsCount": 1,
"_AnalyticsCredentialCount": 1,
"_ApiKeysCount": 1,
"_PermissionGroupsCount": 1
}
}
],
"pageInfo": {
"count": 1,
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
}
}
}Was this page helpful?
⌘I
Query
query Users {
users {
edges {
cursor
node {
LastSessionId
Organization {
__typename
}
_ActiveSessionsCount
_AnalyticsCredentialCount
_ApiKeysCount
_PermissionGroupsCount
}
}
pageInfo {
count
endCursor
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
}Response
{
"data": {
"users": {
"edges": [
{
"cursor": "string",
"node": {
"LastSessionId": "string",
"Organization": {
"__typename": "Organization"
},
"_ActiveSessionsCount": 1,
"_AnalyticsCredentialCount": 1,
"_ApiKeysCount": 1,
"_PermissionGroupsCount": 1
}
}
],
"pageInfo": {
"count": 1,
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
}
}
}