datamodel.get_datamodel_shares
datamodel_get_datamodel_sharesRetrieve all user and group shares for a data model, resolving IDs to names and emails with EDIT, READ, or USE permissions. Use to audit who has access to a model.
Instructions
Retrieve all share entries (users and groups) for a given data model. Resolves user and group identifiers to names/emails and returns the shares in a flat row format. Permission codes are mapped to "EDIT", "READ", or "USE".
Returns: list[dict[str, Any]] List of dicts, each with "datamodel_name", "datamodel_id", "party_name", "party_type", and "permission" — an empty list means the model genuinely has no shares. On failure, …
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datamodel_name | Yes | Name of the data model to retrieve shares for. |