Directus icon

Directus

Consume Directus API

User → Get Many

AI-generated

Summary

Retrieves multiple users from a Directus instance.

Inputs

  • input — Any input items; each item triggers a separate request. The input data is not used to build the request.

Output shape

For each input item, returns an array of user objects (or simplified user objects) as the json property of output items, preserving the input item index via pairedItem.

If simplify is enabled, each user object contains only essential fields. If returnAll is false, the number of results is limited by limit (default 50, max 100).

Examples

Example 1: Get the first 10 users with only their id and email fields.

Set userFieldsToReturn to ['id','email']; set returnAll to false; set limit to 10; leave simplify false.

Example 2: Get all users in a simplified form.

Leave userFieldsToReturn empty (returns all fields); set returnAll to true; set simplify to true.

Discussion