Query
query MachineUsers {
machineUsers {
edges {
cursor
node {
id
fullName
publicName
description
type
isCustomAgent
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"machineUsers": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"fullName": "string",
"publicName": "string",
"description": "string",
"type": "API_USER",
"isCustomAgent": true
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Queries
machineUsers
Returns a paginated list of all machine users in the workspace. Use the optional filters.type argument to restrict results to a specific machine user type (e.g. API_USER or AI_AGENT).
QUERY
machineUsers(filters: MachineUsersFilter, first: Int, after: String, last: Int, before: String): MachineUserConnection!Arguments
filters
first
Int
after
String
last
Int
before
String
Returns
edges
[MachineUserEdge!]!
pageInfo
Query
query MachineUsers {
machineUsers {
edges {
cursor
node {
id
fullName
publicName
description
type
isCustomAgent
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"machineUsers": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"fullName": "string",
"publicName": "string",
"description": "string",
"type": "API_USER",
"isCustomAgent": true
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Was this page helpful?

