asana_list_workspace_users
Retrieve workspace members and their details from Asana, including names, emails, and optional fields, with pagination support for large teams.
Instructions
Get users in a workspace
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | No | The workspace ID to get users for (optional if DEFAULT_WORKSPACE_ID is set) | |
| opt_fields | No | Comma-separated list of optional fields to include (e.g., 'photo,resource_type'). Fields 'name' and 'email' are included by default. | |
| limit | No | Maximum number of results to return per page (1-100). Helps prevent timeouts and ensures more reliable responses. | |
| offset | No | Pagination token from previous response. Must be the exact token returned in a previous response's next_page.offset field. | |
| auto_paginate | No | If true, automatically fetches all pages and combines results (limited by max_pages) | |
| max_pages | No | Maximum number of pages to fetch when auto_paginate is true |
Input Schema (JSON Schema)
{
"properties": {
"auto_paginate": {
"default": false,
"description": "If true, automatically fetches all pages and combines results (limited by max_pages)",
"type": "boolean"
},
"limit": {
"description": "Maximum number of results to return per page (1-100). Helps prevent timeouts and ensures more reliable responses.",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"max_pages": {
"default": 10,
"description": "Maximum number of pages to fetch when auto_paginate is true",
"type": "number"
},
"offset": {
"description": "Pagination token from previous response. Must be the exact token returned in a previous response's next_page.offset field.",
"type": "string"
},
"opt_fields": {
"description": "Comma-separated list of optional fields to include (e.g., 'photo,resource_type'). Fields 'name' and 'email' are included by default.",
"type": "string"
},
"workspace_id": {
"description": "The workspace ID to get users for (optional if DEFAULT_WORKSPACE_ID is set)",
"type": "string"
}
},
"required": [],
"type": "object"
}