Docs
list_members
List the people in a workspace with their role (owner, editor, approver, commenter or viewer), and, for owners, the open invites. `seats` counts owners and editors (with open invites) against the plan. Use it to know who can approve (owners, editors, approvers). Read-only.
List the people in a workspace with their role (owner, editor, approver, commenter or viewer), and, for owners, the open invites. seats counts owners and editors (with open invites) against the plan. Use it to know who can approve (owners, editors, approvers). Read-only.
Access and cost
- Kind: query
- Scope: workspace
- Actors: member, agent
- Credits: Free
- Requires confirmation: false
- Accepts idempotency key: false
Input schema
{
"properties": {
"workspaceId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"workspaceId"
],
"type": "object"
}Output schema
{
"additionalProperties": false,
"properties": {
"members": {
"items": {
"additionalProperties": false,
"properties": {
"accountId": {
"format": "uuid",
"type": "string"
},
"email": {
"type": "string"
},
"displayName": {
"type": [
"string",
"null"
]
},
"role": {
"enum": [
"owner",
"editor",
"viewer",
"commenter",
"approver"
],
"type": "string"
},
"joinedAt": {
"format": "date-time",
"type": "string"
},
"isYou": {
"type": "boolean"
},
"isBillingOwner": {
"type": "boolean"
}
},
"required": [
"accountId",
"email",
"displayName",
"role",
"joinedAt",
"isYou",
"isBillingOwner"
],
"type": "object"
},
"type": "array"
},
"invites": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"format": "uuid",
"type": "string"
},
"email": {
"type": "string"
},
"role": {
"enum": [
"owner",
"editor",
"viewer",
"commenter",
"approver"
],
"type": "string"
},
"invitedBy": {
"type": [
"string",
"null"
]
},
"expiresAt": {
"format": "date-time",
"type": "string"
},
"createdAt": {
"format": "date-time",
"type": "string"
},
"expired": {
"type": "boolean"
},
"emailStatus": {
"enum": [
"sending",
"retrying",
"sent",
"not_sent"
],
"type": "string"
}
},
"required": [
"id",
"email",
"role",
"invitedBy",
"expiresAt",
"createdAt",
"expired",
"emailStatus"
],
"type": "object"
},
"type": "array"
},
"yourRole": {
"enum": [
"owner",
"editor",
"viewer",
"commenter",
"approver"
],
"type": "string"
},
"seats": {
"additionalProperties": false,
"properties": {
"used": {
"type": "integer"
},
"max": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"used",
"max"
],
"type": "object"
}
},
"required": [
"members",
"invites",
"yourRole",
"seats"
],
"type": "object"
}Errors
[]Annotations
{
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false,
"readOnlyHint": true,
"title": "List workspace members"
}