Get Environment Unified Model ​
Retrieve a single environment-unified-model record by its ID, including any overrides. You have the flexibility to customize a Unified Model and its configuration to better suit your specific needs. Customizing the models allow you to override default mappings, add new resources, and tailor the unified apis to fit seamlessly within your environment. Read more about Installing Unified Models
Endpoint ​
GET /environment-unified-model/{id}Path parameters ​
The ID of the environment-unified-model record.
4af1e38e-1d84-4bea-8ef4-2d705aec43bcQuery parameters ​
Refer Specifying query parameters in Truto APIs
Filter by base unified model ID.
7c5c8cc2-e68e-4af8-84d1-4ceea1489338Filter by environment unified model ID.
7c5c8cc2-e68e-4af8-84d1-4ceea1489338Filter by base unified model name.
Response Body ​
The ID of the environment-unified-model record.
4af1e38e-1d84-4bea-8ef4-2d705aec43bcThe ID of the unified model being installed or overridden.
7c5c8cc2-e68e-4af8-84d1-4ceea1489338The ID of the environment where this unified model is installed.
1ba1f401-7183-47c5-9e39-e8e257e3c795An optional object containing environment-level overrides for the unified model which can include any of the properties like resources, scopes, etc.
{
  "resources": {
    "users": {
      "description": "Overrides the user resource description for this environment.",
      "integration_mapping": {
        "my_integration": {
          "list": {
            "path_mapping": "/v2/users"
          }
        }
      }
    }
  }
}Timestamp when this record was created.
2024-01-10T10:00:00.000ZTimestamp when this record was last updated.
2024-01-11T12:30:00.000ZThe full unified model object, with any overrides merged in.
{
  "id": "7c5c8cc2-e68e-4af8-84d1-4ceea1489338",
  "name": "user-directory",
  "sharing": "deny",
  "resources": {
    "users": {
      "schema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        }
      },
      "integration_mapping": {
        "my_integration": {
          "list": {
            "method": "get",
            "resource": "/users"
          }
        }
      }
    }
  }
}The ID of the unified model.
7c5c8cc2-e68e-4af8-84d1-4ceea1489338The name of the unified model.
user-directoryThe category of the unified model.
hrisA brief description of what this unified model represents.
This model provides a user directory interface for various HRIS integrations.The ID of the team that owns this unified model.
05daecaf-4365-42e8-8370-8127de5dd717The sharing policy of the unified model.
- allow
- ask
- deny
denyA map of resource names to schema and integration mapping details.
{
  "users": {
    "description": "A resource representing user objects",
    "schema": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "email": {
          "type": "string"
        }
      }
    },
    "integration_mapping": {
      "my_integration": {
        "list": {
          "resource": "/users",
          "method": "get"
        }
      }
    }
  }
}Optional documentation or instructions for each resource.
Optional OAuth/permission scopes or other relevant scopes for this unified model.
Optional webhook definitions for this unified model.
The date and time when the unified model was created.
2021-08-10T10:00:00.000ZThe date and time when the unified model was last updated.
2021-08-10T10:30:00.000ZThe current version of the unified model.
3A list of environment IDs where this unified model is installed.
The team object that owns this unified model.
The ID of the team.
05daecaf-4365-42e8-8370-8127de5dd717The name of the team.
My Awesome TeamThe domain of the team.
example.comThe URL of the team's logo.
https://example.com/logo.pngWhether the team is verified or not.
trueWhether the team is white-labeled or not.
A link to the team's Terms of Service, if available.
https://example.com/tosWhether the team allows impersonation.
The date and time when the team was created.
2021-08-10T10:00:00.000ZThe date and time when the team was last updated.
2021-08-10T10:00:00.000Z