List Environment Unified Models ​
List all environment-unified-model records that match the given filters (like environment ID). 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
Query parameters ​
Refer Specifying query parameters in Truto APIs
Filter by base unified model ID.
7c5c8cc2-e68e-4af8-84d1-4ceea1489338
Filter by environment unified model ID.
7c5c8cc2-e68e-4af8-84d1-4ceea1489338
Filter by base unified model name.
Response Body ​
The ID of the environment-unified-model record.
4af1e38e-1d84-4bea-8ef4-2d705aec43bc
The ID of the unified model being installed or overridden.
7c5c8cc2-e68e-4af8-84d1-4ceea1489338
The ID of the environment where this unified model is installed.
1ba1f401-7183-47c5-9e39-e8e257e3c795
An 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.000Z
Timestamp when this record was last updated.
2024-01-11T12:30:00.000Z
The 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-4ceea1489338
The name of the unified model.
user-directory
The category of the unified model.
hris
A 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-8127de5dd717
The sharing policy of the unified model.
allow
ask
deny
deny
A 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.000Z
The date and time when the unified model was last updated.
2021-08-10T10:30:00.000Z
The current version of the unified model.
3
A 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-8127de5dd717
The name of the team.
My Awesome Team
The domain of the team.
example.com
The URL of the team's logo.
https://example.com/logo.png
Whether the team is verified or not.
true
Whether the team is white-labeled or not.
A link to the team's Terms of Service, if available.
https://example.com/tos
Whether the team allows impersonation.
The date and time when the team was created.
2021-08-10T10:00:00.000Z
The date and time when the team was last updated.
2021-08-10T10:00:00.000Z
bXljdXJzb3I=
100