Our user management API allows enterprise customers to manage their users in a simple yet effective way. With this API, you can:
Onboard or offboard your users
Control access permissions of the users
View user activity information such as last activity time or latest image generations
This API is available via our GraphQL API, available on api.app.layer.ai. Here's an example GraphQL call to make to get the users associated with a workspace:
query getWorkspaceUsers {
getWorkspaceByName(name: "demo") {
__typename
... on Workspace {
id
name
members(input:{pagination:{limit:100}}) {
list {
user {
id
}
role
lastActivityAt
}
}
}
... on Error {
code
message
data
}
}
}