discover_directories
Discovers directories in the Caspio account along with their field schemas in a single call. Directories are identity and authentication services that manage app user accounts, supporting Caspio-native authentication as well as SAML-based federation (inbound from providers like Okta or Active Directory, and outbound to external systems). A Caspio account can have multiple directories for different user types (e.g., one for employees, another for customers). Returns each matching directory's id (needed for query_directory_users), name, and field definitions. Use nameFilter to search for a specific directory, or omit it to list all directories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageSize | No | Number of results per page (default = 25) | |
| nameFilter | No | Filter directories by name (case-insensitive, partial match). Omit to list all directories. | |
| pageNumber | No | Page number (default = 1) | |
| includeTriggeredActions | No | Include each directory's triggered-action (workflow) definitions in the response (default = false). Set to true to include this extra data when needed. |